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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x294
mov eax, dword [0x4bca50]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x90], 0
mov dword [ebp - 0x230], edi
je 0x40dc34
push edi
call fcn.0040e052
mov ebx, eax
test ebx, ebx
je 0x40dc34
lea esi, [edi + 0x48]
mov dword [ebp - 0x250], esi
mov dword [ebx + 0x1a8], 3
push esi
push dword [esi + 0xc]
lea ecx, [ebp - 0x25c]
mov dword [ebp - 0x240], 1
call fcn.004096ea
push esi
push dword [esi + 0x10]
lea ecx, [ebp - 0x248]
call fcn.004096ea
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x25c]
call fcn.00403aae
test al, al
jne 0x40d9f5
lea ecx, [ebp - 0x25c]
call fcn.0040fe3a
cmp dword [ebx + 0x34], 8
mov ecx, dword [eax]
jb 0x40d9af
mov eax, dword [ebx + 0x20]
jmp 0x40d9b2
lea eax, [ebx + 0x20]
mov edx, dword [ecx]
lea edi, [ebp - 0x240]
push edi
push eax
call dword [edx + 0x1c]
lea ecx, [ebp - 0x25c]
call fcn.0040fe66
push esi
push dword [esi + 0x10]
lea ecx, [ebp - 0x248]
call fcn.004096ea
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x25c]
call fcn.00403aae
test al, al
je 0x40d997
mov edi, dword [ebp - 0x230]
cmp dword [ebp - 0x240], 0
jne 0x40da0d
mov dword [ebx + 0x1a8], 8
jmp 0x40dc24
mov edi, dword [ebp - 0x230]
add edi, 0xb4
lea esi, [ebp - 0x23c]
call fcn.0040cbc4
lea esi, [ebp - 0x274]
call fcn.0040f7de
mov esi, eax
mov eax, dword [ebp - 0x23c]
test eax, eax
je 0x40da3f
cmp eax, dword [esi]
je 0x40da44
call fcn.004705d9
mov eax, dword [ebp - 0x238]
cmp eax, dword [esi + 4]
je 0x40da73
lea esi, [ebp - 0x23c]
call fcn.0041372e
mov eax, dword [eax]
cmp dword [eax + 0xe0], 1
jne 0x40da6c
call fcn.0040f8da
jmp 0x40da24
mov esi, eax
jmp 0x40db09
push 0x170
call fcn.004709c4
pop ecx
test eax, eax
je 0x40da91
mov ecx, eax
call fcn.00412428
mov dword [ebp - 0x234], eax
jmp 0x40da98
and dword [ebp - 0x234], 0
mov eax, dword [ebp - 0x230]
mov ecx, dword [ebp - 0x234]
add eax, 4
push eax
call fcn.00412641
mov edx, dword [edi + 0xc]
test edx, edx
jne 0x40dab8
xor eax, eax
jmp 0x40dac0
mov eax, dword [edi + 0x14]
sub eax, edx
sar eax, 2
mov ecx, dword [edi + 0x10]
mov esi, ecx
sub esi, edx
sar esi, 2
cmp esi, eax
jae 0x40dade
mov esi, dword [ebp - 0x234]
mov dword [ecx], esi
add ecx, 4
mov dword [edi + 0x10], ecx
jmp 0x40db09
lea esi, [ebp - 0x26c]
call fcn.0040f7de
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x264]
push eax
mov eax, edi
call fcn.0040fba3
mov esi, dword [ebp - 0x234]
mov edi, dword [ebp - 0x230]
mov eax, dword [edi + 0xd4]
test eax, eax
je 0x40db1f
mov dword [esi + 0x168], eax
lea eax, [ebx + 0x1c]
push eax
lea ecx, [ebp - 0x22c]
call fcn.00401918
push 0x4ad6a0
lea ecx, [ebx + 0x188]
call fcn.0040bee4
test eax, eax
je 0x40db9c
lea eax, [ebp - 0x249]
push eax
mov eax, dword [ebp - 0x218]
add eax, 0xfffffffc
push eax
push 0
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x290]
call fcn.00407d4a
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x290]
push eax
lea ecx, [ebp - 0x22c]
call fcn.004019a1
push 0
push 1
lea ecx, [ebp - 0x290]
call fcn.00401a58
push str..zip
lea ecx, [ebp - 0x22c]
call fcn.0040197d
mov edx, dword [ebp - 0x228]
push 8
pop eax
cmp dword [ebp - 0x214], eax
jae 0x40dbb3
lea edx, [ebp - 0x228]
cmp dword [edi + 0x44], eax
jb 0x40dbbd
mov edi, dword [edi + 0x30]
jmp 0x40dbc0
add edi, 0x30
cmp dword [ebx + 0x6c], eax
jb 0x40dbca
mov ecx, dword [ebx + 0x58]
jmp 0x40dbcd
lea ecx, [ebx + 0x58]
cmp dword [ebx + 0x50], eax
jb 0x40dbd7
mov eax, dword [ebx + 0x3c]
jmp 0x40dbda
lea eax, [ebx + 0x3c]
push ebx
push edx
push edi
push ecx
push eax
mov ecx, esi
call fcn.00412723
test eax, eax
je 0x40dc09
mov dword [ebx + 0x1a8], 4
mov eax, ebx
mov ebx, dword [ebp - 0x230]
call fcn.0040df50
test eax, eax
je 0x40dcad
push 0
push 1
lea ecx, [ebp - 0x22c]
call fcn.00401a58
mov esi, dword [ebp - 0x250]
mov edi, dword [ebp - 0x230]
push edi
call fcn.0040e052
mov ebx, eax
test ebx, ebx
jne 0x40d94f
mov esi, dword [ebp - 0x230]
mov ecx, esi
call fcn.0040e206
mov ebx, eax
test ebx, ebx
je 0x40de65
lea edi, [esi + 0x9c]
lea esi, [ebp - 0x254]
mov dword [ebx + 0x1a8], 7
call fcn.0040cbc4
mov esi, dword [edi + 0x10]
cmp dword [edi + 0xc], esi
jbe 0x40dc73
call fcn.004705d9
cmp dword [ebp - 0x254], 0
mov eax, dword [edi]
je 0x40dc86
cmp dword [ebp - 0x254], eax
je 0x40dc8b
call fcn.004705d9
cmp dword [ebp - 0x250], esi
je 0x40dcd9
lea esi, [ebp - 0x254]
call fcn.0041372e
mov eax, dword [eax]
cmp dword [eax + 0x24], 1
jne 0x40dcce
call fcn.0040f8da
jmp 0x40dc66
push 0
push 1
lea ecx, [ebp - 0x22c]
call fcn.00401a58
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047099a
leave
ret
mov dword [ebp - 0x234], eax
jmp 0x40dd5f
push 0x7c
call fcn.004709c4
pop ecx
test eax, eax
je 0x40dcf4
mov esi, eax
call fcn.00415667
mov dword [ebp - 0x234], eax
jmp 0x40dcfb
and dword [ebp - 0x234], 0
push dword [ebp - 0x230]
mov eax, dword [ebp - 0x234]
call fcn.0041573a
mov ecx, dword [edi + 0xc]
test ecx, ecx
jne 0x40dd17
xor eax, eax
jmp 0x40dd1f
mov eax, dword [edi + 0x14]
sub eax, ecx
sar eax, 2
mov esi, dword [edi + 0x10]
mov edx, esi
sub edx, ecx
sar edx, 2
cmp edx, eax
jae 0x40dd3d
mov eax, dword [ebp - 0x234]
mov dword [esi], eax
add esi, 4
mov dword [edi + 0x10], esi
jmp 0x40dd5f
cmp ecx, esi
jbe 0x40dd46
call fcn.004705d9
mov eax, dword [edi]
push esi
push eax
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x264]
push eax
mov eax, edi
call fcn.0040fba3
mov esi, dword [ebp - 0x230]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.00470920
add esp, 0xc
cmp dword [ebx + 0x34], 8
jb 0x40dd8e
mov ecx, dword [ebx + 0x20]
jmp 0x40dd91
lea ecx, [ebx + 0x20]
cmp dword [esi + 0x44], 8
jb 0x40dd9c
mov eax, dword [esi + 0x30]
jmp 0x40dd9f
lea eax, [esi + 0x30]
push ecx
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push str.true
lea ecx, [ebx + 0xe0]
mov byte [ebp - 0x240], 1
call fcn.0040bee4
test eax, eax
je 0x40ddd0
mov byte [ebp - 0x240], 0
cmp dword [esi + 0x90], 0
je 0x40ddf5
cmp dword [ebx + 0x18], 8
jb 0x40dde4
mov eax, dword [ebx + 4]
jmp 0x40dde7
lea eax, [ebx + 4]
push dword [esi + 0x124]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x10]
mov eax, dword [esi + 0xcc]
lea ecx, [eax + 1]
mov dword [esi + 0xcc], ecx
cmp dword [ebx + 0x88], 8
jb 0x40de12
mov ecx, dword [ebx + 0x74]
jmp 0x40de15
lea ecx, [ebx + 0x74]
push dword [ebp - 0x240]
mov edx, dword [ebp - 0x234]
push ebx
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.004157af
test eax, eax
je 0x40de4e
mov dword [ebx + 0x1a8], 9
mov eax, ebx
mov ebx, esi
call fcn.0040df50
test eax, eax
je 0x40dcbc
mov ecx, esi
call fcn.0040e206
mov ebx, eax
test ebx, ebx
jne 0x40dc51
mov esi, dword [ebp - 0x230]
mov eax, dword [esi + 0x78]
mov eax, dword [eax]
mov ebx, dword [ebp - 0x230]
mov dword [ebp - 0x238], eax
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x23c], eax
mov eax, dword [ebx + 0x78]
mov dword [ebp - 0x244], eax
mov eax, dword [ebx + 0x60]
lea edi, [ebp - 0x248]
lea esi, [ebp - 0x23c]
mov dword [ebp - 0x248], eax
call fcn.00418a79
test al, al
jne 0x40dedc
call fcn.00418a4e
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + 0x1a8]
cmp eax, 2
je 0x40df49
cmp eax, 3
je 0x40df49
cmp eax, 6
je 0x40df49
cmp eax, 7
je 0x40df49
cmp eax, 5
je 0x40df49
call fcn.00419004
jmp 0x40de7f
lea eax, [ebx + 0x94]
cmp dword [eax], 0
jne 0x40df49
lea esi, [ebx + 0x48]
push esi
mov dword [eax], 1
push dword [esi + 0xc]
lea ecx, [ebp - 0x23c]
call fcn.004096ea
push esi
push dword [esi + 0x10]
jmp 0x40df28
lea ecx, [ebp - 0x23c]
call fcn.0040fe3a
mov ecx, dword [eax]
mov eax, dword [ecx]
push 0
call dword [eax + 0xc]
lea ecx, [ebp - 0x23c]
call fcn.0040fe66
push esi
push dword [esi + 0x10]
lea ecx, [ebp - 0x248]
call fcn.004096ea
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x23c]
call fcn.00403aae
test al, al
je 0x40df05
xor eax, eax
jmp 0x40dcbf