Function at 0x409d20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45b960
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x4747c0]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
cmp dword [esi + 0x8c], eax
mov dword [esp + 0x14], eax
jle 0x409fa6
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
lea ebx, [eax + 1]
jmp 0x409d76
mov eax, dword [esp + 0x18]
mov esi, ecx
test eax, eax
jl 0x409fbb
mov ecx, dword [esp + 0x14]
cmp ecx, dword [esi + 0x8c]
jge 0x409fbb
mov edi, dword [esi + 0x88]
lea edx, [esp + 0x38]
add edi, eax
push edx
call fcn.00409fd0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x70], 0
cmp eax, dword [esi + 0x78]
jge 0x409fbb
mov eax, dword [esi + 0x74]
add eax, dword [esp + 0x1c]
mov ecx, dword [eax]
cmp dword [ecx + 0x70], 0
je 0x409f72
push 4
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x44]
call fcn.0040b860
mov byte [esp + 0x70], bl
mov edi, dword [esp + 0x20]
cmp dword [edi - 0xc], 0
jl 0x409e26
push str..zip
push edi
call fcn.004414c0
add esp, 8
test eax, eax
je 0x409e05
sub eax, edi
sar eax, 1
cmp eax, 0xffffffff
jne 0x409e95
cmp dword [edi - 0xc], 0
jl 0x409e26
push str..exe
push edi
call fcn.004414c0
add esp, 8
test eax, eax
je 0x409e26
sub eax, edi
sar eax, 1
cmp eax, 0xffffffff
jne 0x409e95
mov eax, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x48]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x2c], esp
mov esi, esp
push eax
call fcn.0040c3d0
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x7c], 6
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
mov dword [esp + 0x34], esp
mov esi, esp
push eax
call fcn.0040c3d0
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x80], 7
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
mov dword [esp + 0x3c], esp
mov esi, esp
push eax
call fcn.0040c3d0
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov byte [esp + 0x80], bl
call fcn.0040aae0
jmp 0x409f51
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x5c]
push edx
push eax
mov eax, dword [esp + 0x58]
push ecx
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x40], esp
mov esi, esp
push eax
call fcn.0040c3d0
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x88], 2
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
mov dword [esp + 0x40], esp
mov esi, esp
push eax
call fcn.0040c3d0
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x8c], 3
mov eax, dword [esp + 0x60]
add eax, 0xfffffff0
mov dword [esp + 0x40], esp
mov esi, esp
push eax
call fcn.0040c3d0
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x90], 4
mov eax, dword [esp + 0x68]
add eax, 0xfffffff0
mov dword [esp + 0x50], esp
mov esi, esp
push eax
call fcn.0040c3d0
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x94], 5
mov eax, dword [esp + 0x60]
add eax, 0xfffffff0
mov dword [esp + 0x58], esp
mov esi, esp
push eax
call fcn.0040c3d0
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov byte [esp + 0x94], bl
call fcn.0040a0c0
lea eax, [edi - 0x10]
mov byte [esp + 0x70], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x409f72
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x38]
mov dword [esp + 0x70], 0xffffffff
call fcn.00408b10
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 8]
add dword [esp + 0x18], 0x2c
add dword [esp + 0x1c], 0x10
add eax, ebx
cmp eax, dword [ecx + 0x8c]
mov dword [esp + 0x14], eax
jl 0x409d70
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.004240a0
int3