Function at 0x40540d
Capabilities:
Create directory

Disassembly:
mov eax, 0x4393e0
call fcn.00416cd8
sub esp, 0xd2c
mov eax, dword [0x44c608]
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, ebp
push edi
mov ecx, 0x44d594
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0xd1c], esi
call fcn.00401881
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x44d59c
mov dword [esi + 0xa4], 0xa
call ebx
push 0x7f
mov byte [ebp - 0x214], 0
xor eax, eax
pop ecx
lea edi, [ebp - 0x213]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [ebp - 0xd34]
stosb byte es:[edi], al
call fcn.0042b3e5
and dword [ebp - 4], 0
and dword [ebp - 0xd24], 0
mov ecx, 0x44d594
call fcn.00401881
mov edi, 0x44d59c
push edi
mov dword [esi + 0x72e0], 1
call ebx
push 6
push str.._temp
call fcn.00417be4
cmp eax, 0xffffffff
pop ecx
pop ecx
jne 0x4054c0
push 0
push str.temp
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, 0x44d594
call fcn.00401881
movzx eax, word [esi + 0xb0]
add eax, 0xf
push ecx
lea eax, [eax + eax*2]
push ecx
fld dword [esi + eax*4]
lea eax, [ebp - 0x214]
fstp qword [esp]
push str.._temp_.5f.zip
push eax
call fcn.00417512
add esp, 0x10
push edi
call ebx
push 0
push 0x1001
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0xd34]
call fcn.0042b68d
test eax, eax
mov ecx, 0x44d594
jne 0x40556c
call fcn.00401881
push 0
push 0
push 0xb
lea ecx, [esi + 0xcbc]
call fcn.00404a61
push eax
call fcn.00430bab
and dword [esi], 0
push edi
mov dword [esi + 0x72dc], 1
call ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd34]
call fcn.0042b424
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004160e8
leave
ret
mov byte [ebp - 4], 1
call fcn.00401881
movzx eax, word [esi + 0xb0]
add eax, 0xf
lea eax, [eax + eax*2]
lea eax, [esi + eax*4]
sub esp, 0x10
fld dword [eax]
fstp qword [esp + 8]
fld dword [eax]
lea eax, [ebp - 0x214]
fstp qword [esp]
push dword [esi + 0xa8]
push str._s__.5f__.5f.zip
push eax
call fcn.00417512
add esp, 0x1c
push edi
call ebx
mov ecx, dword [0x44d58c]
push 1
push 2
push SysReAllocString
lea eax, [ebp - 0x214]
push eax
call fcn.00434c9e
mov dword [ebp - 0xd20], eax
mov ecx, 0x44d594
call fcn.00401881
mov eax, dword [ebp - 0xd1c]
cmp dword [eax], 0
je 0x405707
push edi
call ebx
mov ecx, dword [ebp - 0xd20]
mov eax, dword [ecx]
push 0x400
lea edx, [ebp - 0xd14]
push edx
call dword [eax + 0x34]
push 0x100
mov dword [ebp - 0xd18], eax
lea eax, [ebp - 0x314]
push 0
push eax
call fcn.004175c0
push dword [ebp - 0xd18]
lea eax, [ebp - 0x314]
push str.GetData_:__d
push eax
call fcn.00417512
add esp, 0x18
push dword [ebp - 0xd18]
lea eax, [ebp - 0xd14]
push eax
lea ecx, [ebp - 0xd34]
call fcn.0042b133
mov eax, dword [ebp - 0xd18]
add dword [ebp - 0xd24], eax
mov ecx, 0x44d594
call fcn.00401881
mov ecx, dword [ebp - 0xd1c]
mov eax, dword [ebp - 0xd18]
add dword [ecx + 0xcb4], eax
movzx eax, word [esi + 0xb0]
push ecx
add eax, 0xf
push ecx
lea eax, [eax + eax*2]
fld dword [ecx + eax*4]
add ecx, 0xcd0
fstp qword [esp]
push str.Files_:__.5f.zip
push ecx
call fcn.00402546
movzx eax, word [esi + 0xb0]
lea ecx, [eax + eax*2]
mov eax, dword [ebp - 0xd1c]
mov ecx, dword [eax + ecx*4 + 0xb8]
add esp, 0x10
shr ecx, 0xa
push ecx
mov ecx, dword [ebp - 0xd24]
shr ecx, 0xa
push ecx
add eax, 0xcd4
push str._ld__ld_kb
push eax
call fcn.00402546
mov eax, dword [ebp - 0xd24]
mov ecx, dword [ebp - 0xd1c]
add esp, 0x10
push edi
mov dword [ecx + 0xccc], eax
mov dword [esi + 0x72e0], 2
call ebx
cmp dword [ebp - 0xd18], 0x400
jae 0x4055d1
lea ecx, [ebp - 0xd34]
call fcn.0042b383
mov esi, dword [ebp - 0xd20]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x4c]
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
jmp 0x405544