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

Disassembly:
push ebx
push edi
push esi
sub esp, 0x68
mov eax, dword [esp + 0x8c]
mov eax, dword [esp + 0x88]
mov eax, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
mov eax, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
mov dword [esp], 0x104
mov dword [esp + 4], 2
call fcn.0045d3ef
mov dword [esp + 0x34], eax
lea eax, [0x47033c]
mov dword [esp], 0x7328f505
mov dword [esp + 4], eax
call fcn.00454e58
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x78]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x104
call eax
sub esp, 0xc
mov dword [esp], 0x1000
mov dword [esp + 4], 1
call fcn.0045d3ef
mov dword [esp + 0x30], eax
mov dword [esp], 0x1000
mov dword [esp + 4], 1
call fcn.0045d3ef
mov dword [esp + 0x2c], eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x34]
lea esi, [esp + 0x44]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], esi
call fcn.00412ce8
mov dword [esp + 0x28], 0
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x44]
jb 0x413471
jmp 0x413464
mov dword [esp + 0x18], 2
jmp 0x4135a7
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
shl ecx, 4
add eax, ecx
mov ecx, dword [eax]
mov dword [esp + 0x58], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x5c], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x60], ecx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x60]
cmp eax, dword [esp + 0x88]
seta al
test al, 1
jne 0x4134ad
jmp 0x4134ba
mov dword [esp + 0x18], 4
jmp 0x41357a
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00412ad8
mov dword [esp], 0x104
mov dword [esp + 4], 2
call fcn.0045d3ef
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x24]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dword [0x4782e0]
sub esp, 8
mov eax, dword [esp + 0x24]
lea ecx, [0x4700f2]
mov dword [esp], eax
mov dword [esp + 4], ecx
call dword [0x4782e0]
sub esp, 8
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x24]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dword [0x4782e0]
sub esp, 8
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x8c]
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.004373d8
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x41358e
jmp 0x413584
sub eax, 4
je 0x413590
jmp 0x413783
jmp 0x413590
mov eax, dword [esp + 0x28]
mov ecx, eax
and ecx, 1
or eax, 1
add ecx, eax
mov dword [esp + 0x28], ecx
jmp 0x413458
cmp dword [esp + 0x84], 0
jg 0x4135d8
jmp 0x4135b3
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.0045d83d
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.0045d83d
mov dword [esp + 0x18], 1
jmp 0x41376b
jmp 0x4135da
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
lea edx, [0x470138]
lea esi, [esp + 0x40]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], esi
call fcn.00412ce8
mov dword [esp + 0x20], 0
jmp 0x41360a
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x40]
jb 0x413621
mov dword [esp + 0x18], 5
jmp 0x413747
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
shl ecx, 4
add eax, ecx
mov ecx, dword [eax]
mov dword [esp + 0x48], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x4c], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x50], ecx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x54], eax
cmp dword [esp + 0x54], 0
jne 0x41365d
mov dword [esp + 0x18], 7
jmp 0x41371e
mov dword [esp], 0x104
mov dword [esp + 4], 2
call fcn.0045d3ef
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x1c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dword [0x4782e0]
sub esp, 8
mov eax, dword [esp + 0x1c]
lea ecx, [0x4700f2]
mov dword [esp], eax
mov dword [esp + 4], ecx
call dword [0x4782e0]
sub esp, 8
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call fcn.00413318
mov ecx, dword [esp + 0x1c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dword [0x4782e0]
sub esp, 8
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x84]
sub edx, 1
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x7c]
mov ebx, dword [esp + 0x4c]
mov dword [esp], ebx
mov dword [esp + 4], edi
mov dword [esp + 8], esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
call fcn.00413378
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call fcn.0045d83d
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x41372f
jmp 0x413728
sub eax, 7
je 0x413735
jmp 0x413781
jmp 0x413731
jmp 0x413733
jmp 0x413735
jmp 0x413737
mov eax, dword [esp + 0x20]
add eax, 1
mov dword [esp + 0x20], eax
jmp 0x41360a
jmp 0x413749
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.0045d83d
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.0045d83d
mov dword [esp + 0x18], 0
jmp 0x41376b
mov eax, dword [esp + 0x18]
sub eax, 1
ja 0x413785
jmp 0x413776
jmp 0x413778
jmp 0x41377a
add esp, 0x68
pop esi
pop edi
pop ebx
ret
jmp 0x413785
jmp 0x413785
jmp 0x413787
jmp 0x413789
int3