Function at 0x4b3410
Capabilities:
Create directory

Disassembly:
push ebp
push edi
mov ebp, edx
push esi
push ebx
mov ebx, ecx
sub esp, 0x4c
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edi
call edi
mov esi, eax
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
shl esi, 0xc
shl eax, 0xe
xor esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor esi, eax
mov eax, dword [esp + 0x18]
mov ecx, ebx
mov dword [esp], eax
call fcn.00472ad0
mov eax, ebp
sub esp, 4
test al, al
je 0x4b35f2
jmp 0x4b34d9
mov ecx, ebx
mov dword [esp], 0x733094
call fcn.00472e80
mov eax, dword [ebx]
sub esp, 4
mov dword [esp], eax
call fcn.004b5840
test al, al
jne 0x4b360c
mov eax, dword [ebx]
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.004b6530
sub esp, 8
test al, al
jne 0x4b365e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
je 0x4b34bc
cmp eax, 0xb7
jne 0x4b3628
add edi, 1
cmp edi, 0x64
je 0x4b3628
mov eax, dword [esp + 0x18]
mov ecx, ebx
mov dword [esp], eax
call fcn.00472ad0
sub esp, 4
mov ecx, esi
mov edx, esi
and ecx, 0xf
shr edx, 4
lea ebp, [ecx + 0x37]
lea eax, [ecx + 0x30]
cmp ecx, 0xa
cmovae eax, ebp
and edx, 0xf
lea ebp, [edx + 0x37]
lea ecx, [edx + 0x30]
mov word [esp + 0x20], ax
mov eax, esi
shr eax, 8
cmp edx, 0xa
mov edx, esi
cmovae ecx, ebp
and eax, 0xf
shr edx, 0xc
lea ebp, [eax + 0x37]
mov word [esp + 0x22], cx
lea ecx, [eax + 0x30]
cmp eax, 0xa
mov eax, esi
cmovae ecx, ebp
and edx, 0xf
shr eax, 0x10
lea ebp, [edx + 0x37]
mov word [esp + 0x24], cx
lea ecx, [edx + 0x30]
cmp edx, 0xa
mov edx, esi
cmovae ecx, ebp
and eax, 0xf
shr edx, 0x14
lea ebp, [eax + 0x37]
mov word [esp + 0x26], cx
lea ecx, [eax + 0x30]
cmp eax, 0xa
mov eax, esi
cmovae ecx, ebp
and edx, 0xf
shr eax, 0x18
lea ebp, [edx + 0x37]
mov word [esp + 0x28], cx
lea ecx, [edx + 0x30]
cmp edx, 0xa
mov edx, esi
cmovae ecx, ebp
and eax, 0xf
shr edx, 0x1c
lea ebp, [eax + 0x37]
mov word [esp + 0x2a], cx
lea ecx, [eax + 0x30]
cmp eax, 0xa
lea eax, [edx + 0x30]
cmovae ecx, ebp
cmp edx, 0xa
mov word [esp + 0x2c], cx
lea ecx, [edx + 0x37]
cmovae eax, ecx
xor ebp, ebp
mov word [esp + 0x2e], ax
mov eax, dword [esp + 0x60]
mov word [esp + 0x30], bp
test eax, eax
je 0x4b35ce
mov eax, dword [ebx + 4]
cmp dword [ebx + 8], eax
je 0x4b3670
mov edx, dword [ebx]
mov ebp, 0x2e
xor ecx, ecx
mov word [edx + eax*2], bp
mov word [edx + eax*2 + 2], cx
add eax, 1
mov dword [ebx + 4], eax
lea eax, [esp + 0x20]
mov ecx, ebx
mov dword [esp], eax
call fcn.00472e80
sub esp, 4
mov eax, dword [esp + 0x1c]
call eax
mov edx, 1
add eax, 2
cmove eax, edx
add esi, eax
mov ecx, dword [esp + 0x60]
test ecx, ecx
jne 0x4b3462
mov eax, dword [ebx]
mov dword [esp], eax
call fcn.004b5840
test al, al
je 0x4b3640
add edi, 1
mov dword [esp], 0xb7
call dword [sym.imp.KERNEL32.dll_SetLastError]
sub esp, 4
cmp edi, 0x64
jne 0x4b34c8
mov eax, dword [ebx]
xor edx, edx
mov dword [ebx + 4], 0
mov word [eax], dx
add esp, 0x4c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebx]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
sub esp, 8
test eax, eax
je 0x4b34a6
add esp, 0x4c
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, ebx
call fcn.004723e0
mov eax, dword [ebx + 4]
jmp 0x4b35b6