Function at 0x455ec0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5497e0
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x8870bc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
call fcn.00453e50
mov eax, dword [ebp - 0x18]
or ebx, 0xffffffff
mov dword [ebp - 4], 0
cmp dword [eax + 4], 0
jne 0x455f25
movaps xmm0, xmmword [0x728b80]
lea eax, [ebp - 0x48]
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x38], 0x728ab0
push str.Empty_filename_passed_to_function
jmp 0x455f58
xor eax, eax
lea ecx, [ebp - 0x18]
push 1
push eax
mov word [ebp - 0x34], ax
push dword [ebp - 0x34]
call fcn.00406e50
cmp eax, 0xffffffff
je 0x455f76
movaps xmm0, xmmword [0x728b80]
lea eax, [ebp - 0x5c]
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x4c], 0x728ab0
push str.Broken_filename_passed_to_function
push eax
call fcn.0041c240
add esp, 8
call fcn.0052c6d9
xor dl, dl
mov byte [ebp - 0xd], dl
mov dword [eax], 0x16
jmp 0x456299
cmp byte [ebp + 0xc], 0
je 0x4561fa
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004469a0
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.00447f80
mov edx, dword [ebp - 0x18]
add esp, 0x10
mov ecx, dword [eax]
mov dword [ebp - 0x18], ecx
mov dword [eax], edx
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
test eax, eax
je 0x455fc9
cmp eax, 0xffffffff
je 0x455fd8
mov eax, dword [ebp - 0x28]
mov ecx, ebx
lock xadd dword [eax], ecx
cmp ecx, 1
setne al
test al, al
jne 0x455fd8
push 4
push 2
push dword [ebp - 0x28]
call fcn.004016c0
add esp, 0xc
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 0
mov eax, dword [eax]
test eax, eax
je 0x455ffd
cmp eax, 0xffffffff
je 0x45600c
mov eax, dword [ebp - 0x2c]
mov ecx, ebx
lock xadd dword [eax], ecx
cmp ecx, 1
setne al
test al, al
jne 0x45600c
push 4
push 2
push dword [ebp - 0x2c]
call fcn.004016c0
add esp, 0xc
push 1
push 0x72a854
push 2
lea ecx, [ebp - 0x18]
or edi, 0xffffffff
call fcn.0040ab00
test al, al
mov eax, dword [ebp - 0x18]
je 0x45607c
xor esi, esi
cmp dword [eax + 4], esi
jle 0x456093
nop
lea eax, [ebp - 0x10]
push eax
call fcn.00447dc0
mov ecx, dword [ebp - 0x18]
add esp, 4
mov edx, dword [ecx + 0xc]
lea edx, [edx + esi*2]
mov dx, word [edx + ecx]
cmp dx, word [eax]
jne 0x456056
inc esi
cmp esi, dword [ecx + 4]
jl 0x456030
jmp 0x456093
mov edi, esi
cmp esi, 0xffffffff
je 0x456093
lea eax, [ebp - 0x12]
push eax
call fcn.00447dc0
add esp, 4
lea ecx, [ebp - 0x18]
movzx eax, word [eax]
push 1
push esi
push eax
call fcn.00406e50
mov edi, eax
jmp 0x456093
cmp dword [eax + 4], 2
jle 0x456093
mov ecx, dword [eax + 0xc]
mov edx, 2
cmp word [ecx + eax + 2], 0x3a
cmove edi, edx
lea eax, [ebp - 0x14]
push eax
call fcn.00447dc0
add esp, 4
lea ecx, [edi + 1]
movzx eax, word [eax]
push 1
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.00406e50
mov esi, eax
cmp esi, 0xffffffff
jne 0x4560c6
mov eax, dword [ebp - 0x18]
mov esi, dword [eax + 4]
cmp edi, esi
je 0x4561b6
test esi, esi
je 0x4561ab
push esi
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x18]
call fcn.00407560
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0048e6b0
add esp, 8
push 0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.0040bc30
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne byte [ebp - 0xd]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x20]
mov edi, eax
mov byte [ebp - 4], 2
mov eax, dword [ecx]
test eax, eax
je 0x456137
cmp eax, 0xffffffff
je 0x456146
mov eax, dword [ebp - 0x20]
mov ecx, ebx
lock xadd dword [eax], ecx
cmp ecx, 1
setne al
test al, al
jne 0x456146
push 4
push 2
push dword [ebp - 0x20]
call fcn.004016c0
add esp, 0xc
cmp byte [ebp - 0xd], 0
jne 0x456177
cmp edi, 0xb7
je 0x456159
cmp edi, 5
jne 0x4561c0
lea eax, [ebp - 0xe]
mov byte [ebp - 0xe], 0
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004586f0
add esp, 8
test al, al
je 0x4561c0
cmp byte [ebp - 0xe], 0
je 0x4561c0
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0
mov eax, dword [eax]
test eax, eax
je 0x45619c
cmp eax, 0xffffffff
je 0x4561ab
mov eax, dword [ebp - 0x1c]
mov ecx, ebx
lock xadd dword [eax], ecx
cmp ecx, 1
setne al
test al, al
jne 0x4561ab
push 4
push 2
push dword [ebp - 0x1c]
call fcn.004016c0
add esp, 0xc
mov edi, esi
cmp esi, 0xffffffff
jne 0x456093
mov dl, 1
mov byte [ebp - 0xd], dl
jmp 0x456299
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
test eax, eax
je 0x4561e1
cmp eax, 0xffffffff
je 0x4561f0
mov eax, dword [ebp - 0x1c]
mov ecx, ebx
lock xadd dword [eax], ecx
cmp ecx, 1
setne al
test al, al
jne 0x4561f0
push 4
push 2
push dword [ebp - 0x1c]
call fcn.004016c0
add esp, 0xc
xor dl, dl
mov byte [ebp - 0xd], dl
jmp 0x456299
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
call fcn.00453e50
push eax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 4
push eax
call fcn.0048e6b0
add esp, 8
push 0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 5
call fcn.0040bc30
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
mov eax, dword [ebp - 0x24]
setne dl
mov byte [ebp - 0xd], dl
mov eax, dword [eax]
test eax, eax
je 0x456254
cmp eax, 0xffffffff
je 0x456266
mov eax, dword [ebp - 0x24]
mov ecx, ebx
lock xadd dword [eax], ecx
cmp ecx, 1
setne al
test al, al
jne 0x456266
push 4
push 2
push dword [ebp - 0x24]
call fcn.004016c0
mov dl, byte [ebp - 0xd]
add esp, 0xc
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
test eax, eax
je 0x456287
cmp eax, 0xffffffff
je 0x456299
mov eax, dword [ebp - 0x30]
mov ecx, ebx
lock xadd dword [eax], ecx
cmp ecx, 1
setne al
test al, al
jne 0x456299
push 4
push 2
push dword [ebp - 0x30]
call fcn.004016c0
mov dl, byte [ebp - 0xd]
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
test eax, eax
je 0x4562cc
cmp eax, 0xffffffff
je 0x4562b8
mov ecx, dword [ebp - 0x18]
lock xadd dword [ecx], ebx
cmp ebx, 1
setne cl
test cl, cl
je 0x4562cc
mov al, dl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 4
push 2
push dword [ebp - 0x18]
call fcn.004016c0
mov al, byte [ebp - 0xd]
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret