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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28c
mov eax, dword [0x4c3a60]
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 0x410833
push edi
call fcn.00410c5f
mov ebx, eax
test ebx, ebx
je 0x410833
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.00415f49
push esi
push dword [esi + 0x10]
lea ecx, [ebp - 0x248]
call fcn.00415f49
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x258]
call fcn.00403a28
test al, al
jne 0x4105f4
lea ecx, [ebp - 0x258]
call fcn.00403a66
cmp dword [ebx + 0x34], 8
mov ecx, dword [eax]
jb 0x4105ae
mov eax, dword [ebx + 0x20]
jmp 0x4105b1
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.004129db
push esi
push dword [esi + 0x10]
lea ecx, [ebp - 0x248]
call fcn.00415f49
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x258]
call fcn.00403a28
test al, al
je 0x410596
mov edi, dword [ebp - 0x230]
cmp dword [ebp - 0x240], 0
jne 0x41060c
mov dword [ebx + 0x1a8], 8
jmp 0x410823
mov edi, dword [ebp - 0x230]
add edi, 0xb4
lea esi, [ebp - 0x23c]
call fcn.0041238f
lea esi, [ebp - 0x270]
call fcn.004123ab
mov esi, eax
mov eax, dword [ebp - 0x23c]
test eax, eax
je 0x41063e
cmp eax, dword [esi]
je 0x410643
call fcn.00476979
mov eax, dword [ebp - 0x238]
cmp eax, dword [esi + 4]
je 0x410672
lea esi, [ebp - 0x23c]
call fcn.004124a7
mov eax, dword [eax]
cmp dword [eax + 0xe0], 1
jne 0x41066b
call fcn.00415cbf
jmp 0x410623
mov esi, eax
jmp 0x410708
push 0x170
call fcn.00476d64
pop ecx
test eax, eax
je 0x410690
mov ecx, eax
call fcn.004149b9
mov dword [ebp - 0x234], eax
jmp 0x410697
and dword [ebp - 0x234], 0
mov eax, dword [ebp - 0x230]
mov ecx, dword [ebp - 0x234]
add eax, 4
push eax
call fcn.00414bd2
mov edx, dword [edi + 0xc]
test edx, edx
jne 0x4106b7
xor eax, eax
jmp 0x4106bf
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 0x4106dd
mov esi, dword [ebp - 0x234]
mov dword [ecx], esi
add ecx, 4
mov dword [edi + 0x10], ecx
jmp 0x410708
lea esi, [ebp - 0x260]
call fcn.004123ab
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x268]
push eax
mov eax, edi
call fcn.004127a7
mov esi, dword [ebp - 0x234]
mov edi, dword [ebp - 0x230]
mov eax, dword [edi + 0xd4]
test eax, eax
je 0x41071e
mov dword [esi + 0x168], eax
lea eax, [ebx + 0x1c]
push eax
lea ecx, [ebp - 0x22c]
call fcn.00401918
push 0x4b3f3c
lea ecx, [ebx + 0x188]
call fcn.0040c570
test eax, eax
je 0x41079b
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.0040819e
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x22c]
call fcn.00401a1c
push 0
push 1
lea ecx, [ebp - 0x28c]
call fcn.00401ad3
push str..zip
lea ecx, [ebp - 0x22c]
call fcn.004019f8
mov edx, dword [ebp - 0x228]
push 8
pop eax
cmp dword [ebp - 0x214], eax
jae 0x4107b2
lea edx, [ebp - 0x228]
cmp dword [edi + 0x44], eax
jb 0x4107bc
mov edi, dword [edi + 0x30]
jmp 0x4107bf
add edi, 0x30
cmp dword [ebx + 0x6c], eax
jb 0x4107c9
mov ecx, dword [ebx + 0x58]
jmp 0x4107cc
lea ecx, [ebx + 0x58]
cmp dword [ebx + 0x50], eax
jb 0x4107d6
mov eax, dword [ebx + 0x3c]
jmp 0x4107d9
lea eax, [ebx + 0x3c]
push ebx
push edx
push edi
push ecx
push eax
mov ecx, esi
call fcn.00414cb4
test eax, eax
je 0x410808
mov dword [ebx + 0x1a8], 4
mov eax, ebx
mov ebx, dword [ebp - 0x230]
call fcn.00410b5d
test eax, eax
je 0x4108b0
push 0
push 1
lea ecx, [ebp - 0x22c]
call fcn.00401ad3
mov esi, dword [ebp - 0x24c]
mov edi, dword [ebp - 0x230]
push edi
call fcn.00410c5f
mov ebx, eax
test ebx, ebx
jne 0x41054e
mov esi, dword [ebp - 0x230]
mov ecx, esi
call fcn.00410e13
mov ebx, eax
test ebx, ebx
je 0x410a72
lea edi, [esi + 0x9c]
mov dword [ebp - 0x240], edi
lea esi, [ebp - 0x23c]
mov dword [ebx + 0x1a8], 7
call fcn.0041238f
lea esi, [ebp - 0x268]
call fcn.004123ab
mov esi, eax
mov eax, dword [ebp - 0x23c]
test eax, eax
je 0x410886
cmp eax, dword [esi]
je 0x41088b
call fcn.00476979
mov eax, dword [ebp - 0x238]
cmp eax, dword [esi + 4]
je 0x4108dc
lea esi, [ebp - 0x23c]
call fcn.004124a7
mov eax, dword [eax]
cmp dword [eax + 0x24], 1
jne 0x4108d1
call fcn.00415cbf
jmp 0x41086b
push 0
push 1
lea ecx, [ebp - 0x22c]
call fcn.00401ad3
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00476d3a
leave
ret
mov dword [ebp - 0x234], eax
jmp 0x41096c
push 0x7c
call fcn.00476d64
pop ecx
test eax, eax
je 0x4108f7
mov esi, eax
call fcn.00417bf7
mov dword [ebp - 0x234], eax
jmp 0x4108fe
and dword [ebp - 0x234], 0
mov esi, dword [ebp - 0x230]
mov eax, dword [ebp - 0x234]
push esi
call fcn.00417cca
mov edx, dword [edi + 0xc]
test edx, edx
jne 0x41091b
xor eax, eax
jmp 0x410923
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 0x410947
mov eax, dword [ebp - 0x234]
mov dword [ecx], eax
add ecx, 4
mov dword [edi + 0x10], ecx
jmp 0x410972
lea esi, [ebp - 0x260]
call fcn.004123ab
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x270]
push eax
mov eax, edi
call fcn.004127a7
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.00476cc0
add esp, 0xc
cmp dword [ebx + 0x34], 8
jb 0x41099b
mov ecx, dword [ebx + 0x20]
jmp 0x41099e
lea ecx, [ebx + 0x20]
cmp dword [esi + 0x44], 8
jb 0x4109a9
mov eax, dword [esi + 0x30]
jmp 0x4109ac
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.0040c570
test eax, eax
je 0x4109dd
mov byte [ebp - 0x24c], 0
cmp dword [esi + 0x90], 0
je 0x410a02
cmp dword [ebx + 0x18], 8
jb 0x4109f1
mov eax, dword [ebx + 4]
jmp 0x4109f4
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 0x410a1f
mov ecx, dword [ebx + 0x74]
jmp 0x410a22
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.00417d3f
test eax, eax
je 0x410a5b
mov dword [ebx + 0x1a8], 9
mov eax, ebx
mov ebx, esi
call fcn.00410b5d
test eax, eax
je 0x4108bf
mov ecx, esi
call fcn.00410e13
mov ebx, eax
test ebx, ebx
jne 0x410856
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.00419643
test al, al
jne 0x410ae9
call fcn.0041b118
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + 0x1a8]
cmp eax, 2
je 0x410b56
cmp eax, 3
je 0x410b56
cmp eax, 6
je 0x410b56
cmp eax, 7
je 0x410b56
cmp eax, 5
je 0x410b56
call fcn.00413199
jmp 0x410a8c
lea eax, [ebx + 0x94]
cmp dword [eax], 0
jne 0x410b56
lea esi, [ebx + 0x48]
push esi
mov dword [eax], 1
push dword [esi + 0xc]
lea ecx, [ebp - 0x23c]
call fcn.00415f49
push esi
push dword [esi + 0x10]
jmp 0x410b35
lea ecx, [ebp - 0x23c]
call fcn.00403a66
mov ecx, dword [eax]
mov eax, dword [ecx]
push 0
call dword [eax + 0xc]
lea ecx, [ebp - 0x23c]
call fcn.004129db
push esi
push dword [esi + 0x10]
lea ecx, [ebp - 0x248]
call fcn.00415f49
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x23c]
call fcn.00403a28
test al, al
je 0x410b12
xor eax, eax
jmp 0x4108c2