Function at 0x405e80
Capabilities:
Create directory
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x431074
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor ebx, ebx
push 0xbb8
mov dword [esp + 0x1c], ebx
mov byte [esi + 0xc], bl
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, esi
call fcn.004059d0
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x20], eax
cmp ecx, ebx
jne 0x405eca
mov dword [esp + 0x1c], ebx
jmp 0x405ed6
mov eax, dword [esi + 0x78]
sub eax, ecx
sar eax, 2
mov dword [esp + 0x1c], eax
push str._n_n__
xor edi, edi
call fcn.004089b0
mov eax, dword [esp + 0x20]
add esp, 4
xor ebp, ebp
cmp eax, ebx
jle 0x4060fa
mov al, byte [0x465739]
test al, al
jne 0x4060fa
cmp dword [esp + 0x20], ebp
jne 0x405f0c
inc edi
jmp 0x4060ed
mov eax, dword [esi + 0x74]
lea ecx, [esp + 0x10]
lea eax, [eax + ebp*4]
push eax
call fcn.00423afa
mov ecx, dword [0x44169c]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x14], ecx
push ecx
lea eax, [esp + 0x14]
mov edx, esp
mov dword [esp + 0x3c], esp
push eax
push str._3_3_
push edx
mov byte [esp + 0x64], 1
call fcn.0042408e
call fcn.00408210
mov eax, dword [esi + 0x64]
add esp, 4
mov eax, dword [eax + ebp*4]
cmp eax, 3
ja case.default.0x405f5d
jmp dword [eax*4 + 0x4062f8]
lea ecx, [esp + 0x24]
push 1
push ecx
lea ecx, [esp + 0x18]
call fcn.00422716
mov eax, dword [eax]
push 0x43f180
push eax
call fcn.00413a28
add esp, 8
lea ecx, [esp + 0x24]
test eax, eax
sete bl
call fcn.00423d85
test bl, bl
je 0x405fd5
mov edx, dword [esp + 0x10]
push edx
push 0x43fb54
call fcn.004089b0
mov eax, dword [esp + 0x18]
add esp, 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne case.default.0x405f5d
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp eax, 0xb7
jne 0x40610d
jmp case.default.0x405f5d
mov ecx, dword [esi + 0x20]
inc edi
push edi
push ecx
lea edx, [esp + 0x1c]
push str._s_05d.tmp
push edx
call fcn.00422bb2
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
add esp, 0x10
push eax
push ecx
push 0x43fb3c
call fcn.004089b0
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
push 0
push edx
push eax
call fcn.00408560
add esp, 0x18
test al, al
je 0x406185
jmp case.default.0x405f5d
mov ecx, dword [esi + 0x20]
inc edi
push edi
push ecx
lea edx, [esp + 0x1c]
push str._s_05d.tmp
push edx
call fcn.00422bb2
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
add esp, 0x10
push eax
push ecx
push 0x43fb24
call fcn.004089b0
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
push ebx
push edx
push eax
call fcn.00408560
add esp, 0x18
test al, al
je 0x406201
jmp case.default.0x405f5d
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
call fcn.00423afa
mov ecx, esi
call fcn.004072e0
jmp case.default.0x405f5d
mov eax, dword [esi + 0x20]
inc edi
push edi
push eax
lea ecx, [esp + 0x1c]
push str._s_05d.tmp
push ecx
call fcn.00422bb2
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
add esp, 0x10
push edx
push eax
push 0x43fae4
call fcn.004089b0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
push ebx
push ecx
push edx
call fcn.00408560
add esp, 0x18
test al, al
je 0x40627c
lea ecx, [esp + 0x14]
mov byte [esp + 0x54], 0
call fcn.00423d85
lea ecx, [esp + 0x10]
mov dword [esp + 0x54], 0xffffffff
call fcn.00423d85
xor ebx, ebx
mov eax, dword [esp + 0x1c]
inc ebp
cmp ebp, eax
jl 0x405ef3
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x48
ret
push 0x14
call fcn.00423ac6
mov esi, eax
add esp, 4
mov dword [esp + 0x38], esi
test esi, esi
mov byte [esp + 0x54], 2
je 0x406168
call ebx
push eax
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esp + 0x48]
push 0x43f218
push ecx
call fcn.0042408e
mov dword [esp + 0x20], 1
push ecx
mov byte [esp + 0x60], 3
mov edx, esp
mov dword [esp + 0x2c], esp
push 0x43f224
push eax
push edx
call fcn.0042401a
mov ecx, esi
call fcn.00403810
jmp 0x40616a
xor eax, eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push 0x439070
push eax
mov dword [esp + 0x5c], 4
call fcn.0041381a
push 0x14
call fcn.00423ac6
mov esi, eax
add esp, 4
mov dword [esp + 0x38], esi
test esi, esi
mov byte [esp + 0x54], 5
je 0x4061e4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x14]
push 0
push ecx
lea edx, [esp + 0x4c]
push 0x43f234
push edx
call fcn.0042408e
mov dword [esp + 0x20], 2
push ecx
mov byte [esp + 0x60], 6
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x43f224
push eax
push ecx
call fcn.0042401a
mov ecx, esi
call fcn.00403810
jmp 0x4061e6
xor eax, eax
lea edx, [esp + 0x2c]
push 0x439070
push edx
mov dword [esp + 0x5c], 7
mov dword [esp + 0x34], eax
call fcn.0041381a
push 0x14
call fcn.00423ac6
mov esi, eax
add esp, 4
mov dword [esp + 0x38], esi
cmp esi, ebx
mov byte [esp + 0x54], 8
je 0x40625f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x14]
push ebx
push eax
lea ecx, [esp + 0x50]
push 0x43f234
push ecx
call fcn.0042408e
mov dword [esp + 0x20], 4
push ecx
mov byte [esp + 0x60], 9
mov edx, esp
mov dword [esp + 0x2c], esp
push 0x43f224
push eax
push edx
call fcn.0042401a
mov ecx, esi
call fcn.00403810
jmp 0x406261
xor eax, eax
mov dword [esp + 0x30], eax
lea eax, [esp + 0x30]
push 0x439070
push eax
mov dword [esp + 0x5c], 0xa
call fcn.0041381a
push 0x14
call fcn.00423ac6
mov esi, eax
add esp, 4
mov dword [esp + 0x38], esi
cmp esi, ebx
mov byte [esp + 0x54], 0xb
je 0x4062da
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x14]
push ebx
push ecx
lea edx, [esp + 0x54]
push 0x43f234
push edx
call fcn.0042408e
mov dword [esp + 0x20], 8
push ecx
mov byte [esp + 0x60], 0xc
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x43f224
push eax
push ecx
call fcn.0042401a
mov ecx, esi
call fcn.00403810
jmp 0x4062dc
xor eax, eax
lea edx, [esp + 0x34]
push 0x439070
push edx
mov dword [esp + 0x5c], 0xd
mov dword [esp + 0x3c], eax
call fcn.0041381a
nop
pop edi
inc eax
add byte [edx], ah
pushal
inc eax
add byte [ebx + 0x60], ch
inc eax
add byte [ebp - 0x6fffbfa0], al
nop
nop
nop
nop
nop
nop
nop