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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28c
mov eax, dword [0x4c3a10]
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 0x4103a4
push edi
call fcn.004107d0
mov ebx, eax
test ebx, ebx
je 0x4103a4
lea esi, [edi + 0x48]
mov dword [ebp - 0x24c], esi
mov dword [ebx + 0x1a8], 3
push esi
push dword [esi + 0xc]
lea ecx, [ebp - 0x258]
mov dword [ebp - 0x240], 1
call fcn.0041656d
push esi
push dword [esi + 0x10]
lea ecx, [ebp - 0x248]
call fcn.0041656d
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x258]
call fcn.004039b1
test al, al
jne 0x410165
lea ecx, [ebp - 0x258]
call fcn.004039ef
cmp dword [ebx + 0x34], 8
mov ecx, dword [eax]
jb 0x41011f
mov eax, dword [ebx + 0x20]
jmp 0x410122
lea eax, [ebx + 0x20]
mov edx, dword [ecx]
lea edi, [ebp - 0x240]
push edi
push eax
call dword [edx + 0x1c]
lea ecx, [ebp - 0x258]
call fcn.00412595
push esi
push dword [esi + 0x10]
lea ecx, [ebp - 0x248]
call fcn.0041656d
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x258]
call fcn.004039b1
test al, al
je 0x410107
mov edi, dword [ebp - 0x230]
cmp dword [ebp - 0x240], 0
jne 0x41017d
mov dword [ebx + 0x1a8], 8
jmp 0x410394
mov edi, dword [ebp - 0x230]
add edi, 0xb4
lea esi, [ebp - 0x23c]
call fcn.00411f44
lea esi, [ebp - 0x270]
call fcn.00411f28
mov esi, eax
mov eax, dword [ebp - 0x23c]
test eax, eax
je 0x4101af
cmp eax, dword [esi]
je 0x4101b4
call fcn.00476388
mov eax, dword [ebp - 0x238]
cmp eax, dword [esi + 4]
je 0x4101e3
lea esi, [ebp - 0x23c]
call fcn.00412040
mov eax, dword [eax]
cmp dword [eax + 0xe0], 1
jne 0x4101dc
call fcn.00412068
jmp 0x410194
mov esi, eax
jmp 0x410279
push 0x170
call fcn.00476774
pop ecx
test eax, eax
je 0x410201
mov ecx, eax
call fcn.00414484
mov dword [ebp - 0x234], eax
jmp 0x410208
and dword [ebp - 0x234], 0
mov eax, dword [ebp - 0x230]
mov ecx, dword [ebp - 0x234]
add eax, 4
push eax
call fcn.0041469d
mov edx, dword [edi + 0xc]
test edx, edx
jne 0x410228
xor eax, eax
jmp 0x410230
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 0x41024e
mov esi, dword [ebp - 0x234]
mov dword [ecx], esi
add ecx, 4
mov dword [edi + 0x10], ecx
jmp 0x410279
lea esi, [ebp - 0x260]
call fcn.00411f28
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x268]
push eax
mov eax, edi
call fcn.00412361
mov esi, dword [ebp - 0x234]
mov edi, dword [ebp - 0x230]
mov eax, dword [edi + 0xd4]
test eax, eax
je 0x41028f
mov dword [esi + 0x168], eax
lea eax, [ebx + 0x1c]
push eax
lea ecx, [ebp - 0x22c]
call fcn.00401922
push 0x4b3f58
lea ecx, [ebx + 0x188]
call fcn.0040c21e
test eax, eax
je 0x41030c
lea eax, [ebp - 0x24d]
push eax
mov eax, dword [ebp - 0x218]
add eax, 0xfffffffc
push eax
push 0
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x28c]
call fcn.0040809a
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x22c]
call fcn.004019ab
push 0
push 1
lea ecx, [ebp - 0x28c]
call fcn.00401a62
push str..zip
lea ecx, [ebp - 0x22c]
call fcn.00401987
mov edx, dword [ebp - 0x228]
push 8
pop eax
cmp dword [ebp - 0x214], eax
jae 0x410323
lea edx, [ebp - 0x228]
cmp dword [edi + 0x44], eax
jb 0x41032d
mov edi, dword [edi + 0x30]
jmp 0x410330
add edi, 0x30
cmp dword [ebx + 0x6c], eax
jb 0x41033a
mov ecx, dword [ebx + 0x58]
jmp 0x41033d
lea ecx, [ebx + 0x58]
cmp dword [ebx + 0x50], eax
jb 0x410347
mov eax, dword [ebx + 0x3c]
jmp 0x41034a
lea eax, [ebx + 0x3c]
push ebx
push edx
push edi
push ecx
push eax
mov ecx, esi
call fcn.00414773
test eax, eax
je 0x410379
mov dword [ebx + 0x1a8], 4
mov eax, ebx
mov ebx, dword [ebp - 0x230]
call fcn.004106ce
test eax, eax
je 0x410421
push 0
push 1
lea ecx, [ebp - 0x22c]
call fcn.00401a62
mov esi, dword [ebp - 0x24c]
mov edi, dword [ebp - 0x230]
push edi
call fcn.004107d0
mov ebx, eax
test ebx, ebx
jne 0x4100bf
mov esi, dword [ebp - 0x230]
mov ecx, esi
call fcn.00410984
mov ebx, eax
test ebx, ebx
je 0x4105e3
lea edi, [esi + 0x9c]
mov dword [ebp - 0x240], edi
lea esi, [ebp - 0x23c]
mov dword [ebx + 0x1a8], 7
call fcn.00411f44
lea esi, [ebp - 0x268]
call fcn.00411f28
mov esi, eax
mov eax, dword [ebp - 0x23c]
test eax, eax
je 0x4103f7
cmp eax, dword [esi]
je 0x4103fc
call fcn.00476388
mov eax, dword [ebp - 0x238]
cmp eax, dword [esi + 4]
je 0x41044d
lea esi, [ebp - 0x23c]
call fcn.00412040
mov eax, dword [eax]
cmp dword [eax + 0x24], 1
jne 0x410442
call fcn.00412068
jmp 0x4103dc
push 0
push 1
lea ecx, [ebp - 0x22c]
call fcn.00401a62
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047674a
leave
ret
mov dword [ebp - 0x234], eax
jmp 0x4104dd
push 0x7c
call fcn.00476774
pop ecx
test eax, eax
je 0x410468
mov esi, eax
call fcn.0041760f
mov dword [ebp - 0x234], eax
jmp 0x41046f
and dword [ebp - 0x234], 0
mov esi, dword [ebp - 0x230]
mov eax, dword [ebp - 0x234]
push esi
call fcn.004176e2
mov edx, dword [edi + 0xc]
test edx, edx
jne 0x41048c
xor eax, eax
jmp 0x410494
mov eax, dword [edi + 0x14]
sub eax, edx
sar eax, 2
mov ecx, dword [edi + 0x10]
mov edi, ecx
sub edi, edx
sar edi, 2
cmp edi, eax
mov edi, dword [ebp - 0x240]
jae 0x4104b8
mov eax, dword [ebp - 0x234]
mov dword [ecx], eax
add ecx, 4
mov dword [edi + 0x10], ecx
jmp 0x4104e3
lea esi, [ebp - 0x260]
call fcn.00411f28
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x270]
push eax
mov eax, edi
call fcn.00412361
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.004766d0
add esp, 0xc
cmp dword [ebx + 0x34], 8
jb 0x41050c
mov ecx, dword [ebx + 0x20]
jmp 0x41050f
lea ecx, [ebx + 0x20]
cmp dword [esi + 0x44], 8
jb 0x41051a
mov eax, dword [esi + 0x30]
jmp 0x41051d
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 - 0x24c], 1
call fcn.0040c21e
test eax, eax
je 0x41054e
mov byte [ebp - 0x24c], 0
cmp dword [esi + 0x90], 0
je 0x410573
cmp dword [ebx + 0x18], 8
jb 0x410562
mov eax, dword [ebx + 4]
jmp 0x410565
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 0x410590
mov ecx, dword [ebx + 0x74]
jmp 0x410593
lea ecx, [ebx + 0x74]
push dword [ebp - 0x24c]
mov edx, dword [ebp - 0x234]
push ebx
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.00417757
test eax, eax
je 0x4105cc
mov dword [ebx + 0x1a8], 9
mov eax, ebx
mov ebx, esi
call fcn.004106ce
test eax, eax
je 0x410430
mov ecx, esi
call fcn.00410984
mov ebx, eax
test ebx, ebx
jne 0x4103c7
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.0041abf0
test al, al
jne 0x41065a
call fcn.004125c4
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + 0x1a8]
cmp eax, 2
je 0x4106c7
cmp eax, 3
je 0x4106c7
cmp eax, 6
je 0x4106c7
cmp eax, 7
je 0x4106c7
cmp eax, 5
je 0x4106c7
call fcn.0041b17b
jmp 0x4105fd
lea eax, [ebx + 0x94]
cmp dword [eax], 0
jne 0x4106c7
lea esi, [ebx + 0x48]
push esi
mov dword [eax], 1
push dword [esi + 0xc]
lea ecx, [ebp - 0x23c]
call fcn.0041656d
push esi
push dword [esi + 0x10]
jmp 0x4106a6
lea ecx, [ebp - 0x23c]
call fcn.004039ef
mov ecx, dword [eax]
mov eax, dword [ecx]
push 0
call dword [eax + 0xc]
lea ecx, [ebp - 0x23c]
call fcn.00412595
push esi
push dword [esi + 0x10]
lea ecx, [ebp - 0x248]
call fcn.0041656d
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x23c]
call fcn.004039b1
test al, al
je 0x410683
xor eax, eax
jmp 0x410433