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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x444221
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x457640]
xor eax, esp
mov dword [esp + 0xd0], eax
push ebx
push esi
push edi
mov eax, dword [0x457640]
xor eax, esp
push eax
lea eax, [esp + 0xe8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov esi, ecx
mov ecx, 0xf
mov dword [esp + 0x1c], esi
mov dword [esp + 0x70], ecx
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x44], vtable.TiXmlDocument.0
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], bl
mov byte [esp + 0x7c], bl
push eax
lea edi, [esp + 0x48]
mov dword [esp + 0xf4], ebx
call fcn.00408460
test al, al
jne 0x403e50
mov dword [esp + 0xf0], 0xffffffff
cmp dword [esp + 0x9c], 0x10
mov dword [esp + 0x44], vtable.TiXmlDocument.0
jb 0x403e27
mov eax, dword [esp + 0x88]
push eax
call fcn.0040fc42
add esp, 4
lea ecx, [esp + 0x44]
mov dword [esp + 0x9c], 0xf
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], bl
call fcn.00407a50
xor al, al
jmp 0x4043da
mov edi, dword [esp + 0x50]
cmp edi, ebx
je 0x403e71
jmp 0x403e60
mov eax, 1
cmp dword [edi + 8], eax
je 0x403ec7
mov edi, dword [edi + 0x34]
cmp edi, ebx
jne 0x403e60
mov dword [esp + 0xf0], 0xffffffff
cmp dword [esp + 0x9c], 0x10
mov dword [esp + 0x44], vtable.TiXmlDocument.0
jb 0x403e9e
mov ecx, dword [esp + 0x88]
push ecx
call fcn.0040fc42
add esp, 4
lea ecx, [esp + 0x44]
mov dword [esp + 0x9c], 0xf
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], bl
call fcn.00407a50
xor al, al
jmp 0x4043da
mov eax, dword [esi + 0x4c]
lea ebx, [esi + 0x3c]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], eax
cmp dword [ebx + 0xc], eax
jbe 0x403edf
call fcn.0042cc40
mov esi, dword [ebx + 0xc]
mov edx, dword [ebx]
mov dword [esp + 0x20], edx
cmp esi, dword [ebx + 0x10]
jbe 0x403ef2
call fcn.0042cc40
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
mov eax, dword [ebx]
push ecx
push edx
push esi
push eax
lea eax, [esp + 0x30]
push eax
call fcn.00404d20
mov esi, str.file_list
mov eax, edi
call fcn.00407d80
mov dword [esp + 0x14], eax
test eax, eax
je 0x4042de
xor ebx, ebx
mov dword [esp + 0xc0], 0xf
mov dword [esp + 0xbc], ebx
mov byte [esp + 0xac], bl
push 4
mov byte [esp + 0xf4], 1
call fcn.0040fc13
add esp, 4
cmp eax, ebx
je 0x403f5e
lea ecx, [esp + 0xc8]
mov dword [eax], ecx
jmp 0x403f60
xor eax, eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xdc], ebx
mov byte [esp + 0xc4], 1
mov edx, dword [esp + 0x14]
push str.data_file_name
push edx
mov byte [esp + 0xf8], 3
call fcn.00407ae0
cmp eax, ebx
je 0x403fb9
nop
mov edi, 1
cmp dword [eax + 8], edi
je 0x40401c
push str.data_file_name
push eax
call fcn.00407c30
cmp eax, ebx
jne 0x403fa0
lea esi, [esp + 0xa8]
call fcn.00404480
mov dword [esp + 0xf0], 0xffffffff
cmp dword [esp + 0x9c], 0x10
mov dword [esp + 0x44], vtable.TiXmlDocument.0
jb 0x403ff2
mov ecx, dword [esp + 0x88]
push ecx
call fcn.0040fc42
add esp, 4
lea ecx, [esp + 0x44]
mov dword [esp + 0x9c], 0xf
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], 0
call fcn.00407a50
xor al, al
jmp 0x4043da
mov eax, dword [eax + 0xc]
cmp eax, ebx
jne 0x404027
xor ecx, ecx
jmp 0x40403f
cmp dword [eax + 8], 4
je 0x404031
xor ecx, ecx
jmp 0x40403f
cmp dword [eax + 0x2c], 0x10
jb 0x40403c
mov ecx, dword [eax + 0x18]
jmp 0x40403f
lea ecx, [eax + 0x18]
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x404044
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0xb0]
call fcn.004026a0
mov eax, dword [esp + 0x14]
push str.zip_extract
push eax
call fcn.00407ae0
cmp eax, ebx
je 0x404084
mov edi, edi
cmp dword [eax + 8], edi
je 0x4040e7
push str.zip_extract
push eax
call fcn.00407c30
cmp eax, ebx
jne 0x404070
lea esi, [esp + 0xa8]
call fcn.00404480
mov dword [esp + 0xf0], 0xffffffff
cmp dword [esp + 0x9c], 0x10
mov dword [esp + 0x44], vtable.TiXmlDocument.0
jb 0x4040bd
mov edx, dword [esp + 0x88]
push edx
call fcn.0040fc42
add esp, 4
lea ecx, [esp + 0x44]
mov dword [esp + 0x9c], 0xf
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], 0
call fcn.00407a50
xor al, al
jmp 0x4043da
mov eax, dword [eax + 0xc]
cmp eax, ebx
jne 0x4040f2
xor eax, eax
jmp 0x40410a
cmp dword [eax + 8], 4
je 0x4040fc
xor eax, eax
jmp 0x40410a
cmp dword [eax + 0x2c], 0x10
jb 0x404107
mov eax, dword [eax + 0x18]
jmp 0x40410a
add eax, 0x18
push eax
call fcn.0042cf8b
add esp, 4
test eax, eax
mov eax, dword [esp + 0x14]
setne cl
mov esi, str.file_in_data
mov byte [esp + 0xc4], cl
call fcn.00407d80
mov edi, eax
cmp edi, ebx
je 0x40420d
mov eax, dword [edi + 0xc]
xor ebx, ebx
cmp eax, ebx
je 0x404410
cmp dword [eax + 8], 4
jne 0x404410
cmp dword [eax + 0x2c], 0x10
jb 0x404159
mov ecx, dword [eax + 0x18]
jmp 0x40415c
lea ecx, [eax + 0x18]
cmp ecx, ebx
je 0x404410
mov eax, ecx
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], 0
lea esi, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x404180
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x30]
call fcn.004026a0
lea edx, [esp + 0x28]
push edx
lea ebx, [esp + 0xcc]
mov byte [esp + 0xf4], 4
call fcn.00401f10
mov byte [esp + 0xf0], 3
cmp dword [esp + 0x40], 0x10
jb 0x4041c9
mov eax, dword [esp + 0x2c]
push eax
call fcn.0040fc42
add esp, 4
push str.file_in_data
xor ebx, ebx
push edi
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
call fcn.00407c30
cmp eax, ebx
je 0x40420d
lea ebx, [ebx]
mov ecx, 1
cmp dword [eax + 8], ecx
je 0x404400
push str.file_in_data
push eax
call fcn.00407c30
test eax, eax
jne 0x4041f0
mov ebx, dword [esp + 0x18]
lea ecx, [esp + 0xa8]
push ecx
call fcn.00404a70
xor ebx, ebx
mov byte [esp + 0xf0], bl
mov eax, dword [esp + 0xd4]
cmp eax, ebx
je 0x404256
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0xd8]
push edx
call fcn.00403690
mov eax, dword [esp + 0xd8]
add esp, 4
push eax
call fcn.0040fc42
add esp, 4
mov ecx, dword [esp + 0xc8]
push ecx
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xe0], ebx
call fcn.0040fc42
add esp, 4
cmp dword [esp + 0xc0], 0x10
jb 0x404295
mov edx, dword [esp + 0xac]
push edx
call fcn.0040fc42
add esp, 4
mov eax, dword [esp + 0x14]
push str.file_list
push eax
mov dword [esp + 0xc8], 0xf
mov dword [esp + 0xc4], ebx
mov byte [esp + 0xb4], bl
call fcn.00407c30
cmp eax, ebx
je 0x4042de
mov ecx, 1
cmp dword [eax + 8], ecx
je 0x404407
push str.file_list
push eax
call fcn.00407c30
test eax, eax
jne 0x4042c1
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
xor esi, esi
mov dword [ebx + 0x54], esi
mov ecx, dword [eax + 0x10]
sub ecx, dword [eax + 0xc]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
je 0x404384
xor edi, edi
jmp 0x404310
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x10]
sub ecx, dword [eax + 0xc]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x404336
call fcn.0042cc40
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0xc]
mov ecx, dword [edx + edi + 0x30]
sub ecx, dword [edx + edi + 0x2c]
lea eax, [edx + edi + 0x20]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
add dword [ebx + 0x54], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x10]
sub ecx, dword [eax + 0xc]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
inc esi
add ecx, edx
add edi, 0x38
cmp esi, ecx
jb 0x404310
mov dword [esp + 0xf0], 0xffffffff
cmp dword [esp + 0x9c], 0x10
mov dword [esp + 0x44], vtable.TiXmlDocument.0
jb 0x4043b1
mov edx, dword [esp + 0x88]
push edx
call fcn.0040fc42
add esp, 4
lea ecx, [esp + 0x44]
mov dword [esp + 0x9c], 0xf
mov dword [esp + 0x98], 0
mov byte [esp + 0x88], 0
call fcn.00407a50
mov al, 1
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call int.0042c7ef
mov esp, ebp
pop ebp
ret 4
mov edi, eax
jmp 0x404137
mov dword [esp + 0x14], eax
jmp 0x403f22
lea esi, [esp + 0xa8]
call fcn.00404480
mov dword [esp + 0xf0], 0xffffffff
cmp dword [esp + 0x9c], 0x10
mov dword [esp + 0x44], vtable.TiXmlDocument.0
jb 0x404449
mov eax, dword [esp + 0x88]
push eax
call fcn.0040fc42
add esp, 4
lea ecx, [esp + 0x44]
mov dword [esp + 0x9c], 0xf
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], 0
call fcn.00407a50
xor al, al
jmp 0x4043da