Function at 0x4b49e0
Capabilities:
Create directory

Disassembly:
push ebp
push edi
mov ebp, edx
push esi
push ebx
mov ebx, ecx
sub esp, 0x3c
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.004729e0
mov eax, ebp
sub esp, 4
test al, al
je 0x4b4bb8
jmp 0x4b4aa9
mov ecx, ebx
mov dword [esp], 0x734484
call fcn.00473090
mov eax, dword [ebx]
sub esp, 4
mov dword [esp], eax
call fcn.004b6e20
test al, al
jne 0x4b4bd2
mov eax, dword [ebx]
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.004b7b60
sub esp, 8
test al, al
jne 0x4b4c2e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
je 0x4b4a8c
cmp eax, 0xb7
jne 0x4b4bee
add edi, 1
cmp edi, 0x64
je 0x4b4bee
mov eax, dword [esp + 0x18]
mov ecx, ebx
mov dword [esp], eax
call fcn.004729e0
sub esp, 4
mov ecx, esi
mov edx, esi
mov byte [esp + 0x28], 0
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 byte [esp + 0x20], al
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 byte [esp + 0x21], cl
lea ecx, [eax + 0x30]
cmp eax, 0xa
mov eax, esi
cmovae ecx, ebp
and edx, 0xf
shr eax, 0x10
lea ebp, [edx + 0x37]
mov byte [esp + 0x22], cl
lea ecx, [edx + 0x30]
cmp edx, 0xa
mov edx, esi
cmovae ecx, ebp
and eax, 0xf
shr edx, 0x14
lea ebp, [eax + 0x37]
mov byte [esp + 0x23], cl
lea ecx, [eax + 0x30]
cmp eax, 0xa
mov eax, esi
cmovae ecx, ebp
and edx, 0xf
shr eax, 0x18
lea ebp, [edx + 0x37]
mov byte [esp + 0x24], cl
lea ecx, [edx + 0x30]
cmp edx, 0xa
mov edx, esi
cmovae ecx, ebp
and eax, 0xf
shr edx, 0x1c
lea ebp, [eax + 0x37]
mov byte [esp + 0x25], cl
lea ecx, [eax + 0x30]
cmp eax, 0xa
lea eax, [edx + 0x30]
cmovae ecx, ebp
mov ebp, dword [esp + 0x50]
cmp edx, 0xa
mov byte [esp + 0x26], cl
lea ecx, [edx + 0x37]
cmovae eax, ecx
test ebp, ebp
mov byte [esp + 0x27], al
je 0x4b4b94
mov eax, dword [ebx + 4]
cmp dword [ebx + 8], eax
je 0x4b4c40
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.00473090
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 + 0x50]
test ecx, ecx
jne 0x4b4a32
mov eax, dword [ebx]
mov dword [esp], eax
call fcn.004b6e20
test al, al
je 0x4b4c10
add edi, 1
mov dword [esp], 0xb7
call dword [sym.imp.KERNEL32.dll_SetLastError]
sub esp, 4
cmp edi, 0x64
jne 0x4b4a98
mov eax, dword [ebx]
xor edx, edx
mov dword [ebx + 4], 0
mov word [eax], dx
add esp, 0x3c
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 0x4b4a76
add esp, 0x3c
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, ebx
call fcn.00472200
mov eax, dword [ebx + 4]
jmp 0x4b4b7c