Function at 0x485c60
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x4ab975
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xfc
push ebx
push ebp
push esi
mov ebx, ecx
push edi
mov dword [esp + 0x44], ebx
call fcn.004876c0
test al, al
je 0x48629e
call fcn.004879b0
cmp al, 1
je 0x486450
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x18]
mov byte [esp + 0x18], al
call fcn.0041ba60
mov edi, 0x4c4510
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4c4510
lea ecx, [esp + 0x1c]
call fcn.0041c100
mov esi, dword [esp + 0x11c]
mov dword [esp + 0x114], 0
test esi, esi
jne 0x486124
lea ecx, [esp + 0x7c]
push ecx
call fcn.004872a0
lea edx, [esp + 0x90]
mov byte [esp + 0x118], 1
push edx
call fcn.004874a0
mov esi, eax
lea eax, [esp + 0x84]
push 0x4bda74
lea ecx, [esp + 0xb8]
push eax
push ecx
mov byte [esp + 0x128], 2
call fcn.0043cdb0
push esi
lea edx, [esp + 0xd4]
push eax
push edx
mov byte [esp + 0x134], 3
call fcn.0043cee0
push str..txt
push eax
lea eax, [esp + 0xc4]
mov byte [esp + 0x13c], 4
push eax
call fcn.0043cdb0
add esp, 0x2c
push 1
lea ecx, [esp + 0xc0]
mov byte [esp + 0x118], 8
call fcn.0041ba60
push 1
lea ecx, [esp + 0xb0]
mov byte [esp + 0x118], 7
call fcn.0041ba60
push 1
lea ecx, [esp + 0x90]
mov byte [esp + 0x118], 6
call fcn.0041ba60
mov eax, dword [esp + 0xa0]
test eax, eax
jne 0x485db4
mov eax, 0x4ad138
push 0x4bcaa4
push eax
call fcn.004990e6
mov cl, byte [esp + 0x1b]
add esp, 8
mov byte [esp + 0x6c], cl
lea ecx, [esp + 0x6c]
push 0
mov esi, eax
call fcn.0041ba60
mov edi, 0x4c4510
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4c4510
lea ecx, [esp + 0x74]
call fcn.0041c100
test esi, esi
mov byte [esp + 0x114], 9
je 0x485f2b
push 2
push 0
push esi
call fcn.00499570
push esi
call fcn.0049a19f
push 0
push 0
push esi
mov edi, eax
call fcn.00499570
mov eax, edi
cdq
sub eax, edx
sar eax, 1
shl eax, 1
push eax
call fcn.00498866
push esi
mov ebp, eax
push edi
push 1
push ebp
call fcn.004990f9
add esp, 0x30
mov ecx, ebx
push ebp
call fcn.00485b10
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x4c]
mov esi, eax
mov byte [esp + 0x4c], dl
call fcn.0041ba60
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
lea ecx, [esp + 0x50]
call fcn.0041c100
push 1
lea eax, [esp + 0x17]
mov bl, 0xa
push 0
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x120], bl
mov byte [esp + 0x1f], 0x56
call fcn.00478590
mov esi, eax
mov eax, dword [0x4ad134]
cmp esi, eax
jne 0x485eb7
push 1
lea ecx, [esp + 0x17]
push 0
push ecx
lea ecx, [esp + 0x54]
mov byte [esp + 0x1f], 0x76
call fcn.00478590
mov esi, eax
push 1
lea edx, [esp + 0x17]
push esi
push edx
lea ecx, [esp + 0x54]
mov byte [esp + 0x1f], 0xd
call fcn.00478590
cmp eax, dword [0x4ad134]
je 0x485f18
cmp eax, esi
jle 0x485f18
sub eax, esi
lea ecx, [esp + 0x48]
push eax
lea eax, [esp + 0x5c]
push esi
push eax
call fcn.00478100
mov ecx, dword [0x4ad134]
mov byte [esp + 0x114], 0xb
push ecx
push 0
push eax
lea ecx, [esp + 0x78]
call fcn.0041b7e0
push 1
lea ecx, [esp + 0x5c]
mov byte [esp + 0x118], bl
call fcn.0041ba60
push 1
lea ecx, [esp + 0x4c]
mov byte [esp + 0x118], 9
call fcn.0041ba60
mov eax, dword [0x4ad134]
push 1
lea edx, [esp + 0x17]
mov bl, 0x5c
push eax
push edx
lea ecx, [esp + 0x88]
mov byte [esp + 0x1f], bl
call fcn.00478620
cmp eax, dword [0x4ad134]
je 0x486001
dec eax
push 1
push eax
lea eax, [esp + 0x1b]
push eax
lea ecx, [esp + 0x88]
mov byte [esp + 0x1f], bl
call fcn.00478620
mov ecx, dword [0x4ad134]
cmp eax, ecx
je 0x486001
push ecx
inc eax
lea ecx, [esp + 0x5c]
push eax
push ecx
lea ecx, [esp + 0x88]
call fcn.00478100
mov edx, dword [0x4ad134]
lea ecx, [esp + 0x14]
push edx
push 0
push eax
mov byte [esp + 0x120], 0xc
call fcn.0041b7e0
push 1
lea ecx, [esp + 0x5c]
mov byte [esp + 0x118], 9
call fcn.0041ba60
push 1
lea eax, [esp + 0x17]
push 0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x1f], bl
call fcn.00478590
mov edx, eax
mov eax, dword [0x4ad134]
cmp edx, eax
je 0x486001
mov edi, 0x4bda68
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4bda68
push 1
push edx
lea ecx, [esp + 0x24]
call fcn.00478400
lea ecx, [esp + 0x6c]
lea edx, [esp + 0x48]
push ecx
push 0x4bda68
push edx
call fcn.0041c900
push 0x4bda68
push eax
lea eax, [esp + 0x6c]
mov byte [esp + 0x128], 0xd
push eax
call fcn.0043cdb0
add esp, 0x18
mov ecx, dword [0x4ad134]
mov byte [esp + 0x114], 0xe
push ecx
push 0
push eax
lea ecx, [esp + 0x20]
call fcn.0041bf60
push 1
lea ecx, [esp + 0x5c]
mov byte [esp + 0x118], 0xd
call fcn.0041ba60
push 1
lea ecx, [esp + 0x4c]
mov byte [esp + 0x118], 9
call fcn.0041ba60
push 0
call fcn.0049a0c3
lea edx, [esp + 0x6c]
mov dword [esp + 0x6c], eax
push edx
call fcn.00499f63
push eax
push str._Y_m_d__H_M_S
lea eax, [esp + 0xdc]
push 0x40
push eax
call fcn.004996fc
lea edi, [esp + 0xe4]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x18
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0xd0]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0041c040
mov edi, str..dat
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str..dat
lea ecx, [esp + 0x1c]
call fcn.0041c040
push 1
lea ecx, [esp + 0x70]
mov byte [esp + 0x118], 6
call fcn.0041ba60
push 1
lea ecx, [esp + 0xa0]
mov byte [esp + 0x118], 1
call fcn.0041ba60
push 1
lea ecx, [esp + 0x80]
mov byte [esp + 0x118], 0
call fcn.0041ba60
mov ebx, dword [esp + 0x44]
jmp 0x486160
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x18]
push ebp
call fcn.0041c2e0
test al, al
je 0x486160
mov edi, dword [esp + 0x18]
mov ecx, ebp
mov edx, ecx
push ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.0041c2c0
lea eax, [esp + 0x58]
push eax
call fcn.004870a0
push 0x4bda54
lea ecx, [esp + 0x3c]
push eax
push ecx
mov byte [esp + 0x124], 0xf
call fcn.0043cdb0
add esp, 0x10
push 1
lea ecx, [esp + 0x5c]
mov byte [esp + 0x118], 0x11
call fcn.0041ba60
mov eax, dword [esp + 0x38]
xor esi, esi
cmp eax, esi
jne 0x4861a7
mov eax, 0x4ad138
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea edx, [esp + 0x34]
push 0x4bda74
lea eax, [esp + 0x90]
push edx
push eax
call fcn.0043cdb0
lea ecx, [esp + 0x20]
lea edx, [esp + 0x30]
push ecx
push eax
push edx
mov byte [esp + 0x12c], 0x12
call fcn.0043cee0
add esp, 0x18
push 1
lea ecx, [esp + 0x90]
mov byte [esp + 0x118], 0x14
call fcn.0041ba60
push 0x200
mov ecx, ebx
call fcn.00486960
cmp dword [ebx + 0xc], esi
je 0x4862a5
push 0x14
call fcn.00498866
add esp, 4
mov dword [esp + 0x44], eax
cmp eax, esi
mov byte [esp + 0x114], 0x15
je 0x48622f
mov ecx, eax
call fcn.00496fa0
jmp 0x486231
xor eax, eax
cmp eax, esi
mov byte [esp + 0x114], 0x14
mov dword [ebx + 8], eax
je 0x486262
mov ecx, dword [esp + 0x28]
cmp ecx, esi
jne 0x48624d
mov ecx, 0x4ad138
push 0x4bcaa8
push ecx
mov ecx, eax
call fcn.004970c0
test eax, eax
jne 0x48635b
push 1
lea ecx, [esp + 0x28]
mov byte [esp + 0x118], 0x11
call fcn.0041ba60
push 1
lea ecx, [esp + 0x38]
mov byte [esp + 0x118], 0
call fcn.0041ba60
push 1
lea ecx, [esp + 0x18]
mov dword [esp + 0x118], 0xffffffff
call fcn.0041ba60
xor eax, eax
jmp 0x486455
mov eax, dword [esp + 0x28]
cmp eax, esi
jne 0x4862b2
mov eax, 0x4ad138
push 0x4bcaa8
push eax
call fcn.004990e6
add esp, 8
cmp eax, esi
mov dword [ebx + 4], eax
jne 0x48635b
mov ecx, dword [esp + 0x28]
cmp ecx, esi
je 0x4862ef
mov al, byte [ecx - 1]
test al, al
je 0x4862e5
cmp al, 0xff
je 0x4862e5
dec al
mov byte [ecx - 1], al
jmp 0x4862ef
dec ecx
push ecx
call fcn.00498130
add esp, 4
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x28], esi
cmp ecx, esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
je 0x48631f
mov al, byte [ecx - 1]
test al, al
je 0x486315
cmp al, 0xff
je 0x486315
dec al
mov byte [ecx - 1], al
jmp 0x48631f
dec ecx
push ecx
call fcn.00498130
add esp, 4
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x38], esi
cmp ecx, esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
je 0x486354
mov al, byte [ecx - 1]
test al, al
je 0x48634a
cmp al, 0xff
je 0x48634a
dec al
mov byte [ecx - 1], al
xor eax, eax
jmp 0x486455
dec ecx
push ecx
call fcn.00498130
add esp, 4
xor eax, eax
jmp 0x486455
mov ecx, ebx
call fcn.00485b70
mov edi, str._________________LibVersion:20140113__________________r_n_r_n
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [ebx + 0x18]
repne scasb al, byte es:[edi]
mov eax, dword [0x4ad134]
lea ebp, [ebx + 0x10]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x486389
call fcn.0049813b
xor edi, edi
cmp esi, edi
jbe 0x4863cc
mov eax, dword [ebp + 8]
mov ebx, esi
add ebx, eax
push edi
push ebx
mov ecx, ebp
call fcn.0041c2e0
test al, al
je 0x4863ca
mov edi, dword [ebp + 8]
mov edx, dword [ebp + 4]
mov ecx, esi
add edi, edx
mov edx, ecx
mov esi, str._________________LibVersion:20140113__________________r_n_r_n
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 4]
mov dword [ebp + 8], ebx
mov byte [ebx + eax], 0
xor edi, edi
mov ecx, dword [esp + 0x28]
cmp ecx, edi
je 0x4863f0
mov al, byte [ecx - 1]
test al, al
je 0x4863e6
cmp al, 0xff
je 0x4863e6
dec al
mov byte [ecx - 1], al
jmp 0x4863f0
dec ecx
push ecx
call fcn.00498130
add esp, 4
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x28], edi
cmp ecx, edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
je 0x486420
mov al, byte [ecx - 1]
test al, al
je 0x486416
cmp al, 0xff
je 0x486416
dec al
mov byte [ecx - 1], al
jmp 0x486420
dec ecx
push ecx
call fcn.00498130
add esp, 4
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x38], edi
cmp ecx, edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
je 0x486450
mov al, byte [ecx - 1]
test al, al
je 0x486446
cmp al, 0xff
je 0x486446
dec al
mov byte [ecx - 1], al
jmp 0x486450
dec ecx
push ecx
call fcn.00498130
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x10c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x108
ret 4