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

Disassembly:
sub esp, 0x384
lea eax, [esp + 0x178]
push ebx
push ebp
push esi
push edi
push 0x104
push eax
push 0
call dword [0x6fa692fc]
lea ecx, [esp + 0xf8]
call fcn.00402cdf
lea ecx, [esp + 0xe0]
call fcn.00402cdf
lea ecx, [esp + 0xc8]
call fcn.00402cdf
mov edi, dword [0x6fa692f8]
xor ebp, ebp
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1b], 0
mov byte [esp + 0x19], 0
mov byte [esp + 0x1a], 0
call fcn.0041c4c6
mov ecx, eax
call fcn.00402bab
push eax
mov dl, 0x30
lea ecx, [esp + 0xb4]
call fcn.0040e536
pop ecx
lea ecx, [esp + 0x1c]
call fcn.00402bd8
lea ecx, [esp + 0x1c]
call fcn.0041c4c6
mov ecx, eax
call fcn.00402bab
push eax
mov dl, 0x30
lea ecx, [esp + 0x9c]
call fcn.0040e536
pop ecx
lea ecx, [esp + 0x1c]
call fcn.00402bd8
lea ecx, [esp + 0x1c]
call fcn.0041c4c6
mov ecx, eax
call fcn.00402bab
push eax
mov dl, 0x30
lea ecx, [esp + 0x84]
call fcn.0040e536
pop ecx
lea ecx, [esp + 0x1c]
call fcn.00402bd8
xor ebx, ebx
lea ecx, [esp + 0x3c8]
call fcn.00402bab
mov esi, eax
lea ecx, [esp + 0x38]
push 0x6fa75e74
lea eax, [esp + 0xb4]
push eax
push 0x6fa7c594
call fcn.00404d7e
push eax
lea edx, [esp + 0x194]
lea ecx, [esp + 0x74]
call fcn.00404efc
pop ecx
mov edx, eax
lea ecx, [esp + 0x58]
call fcn.00404f1d
pop ecx
mov edx, eax
lea ecx, [esp + 0x20]
call fcn.00403c14
pop ecx
mov ecx, eax
call fcn.00402b04
mov edx, esi
mov ecx, eax
call fcn.004190b6
lea ecx, [esp + 0x1c]
mov byte [esp + 0x16], al
call fcn.00402b09
lea ecx, [esp + 0x50]
call fcn.00402b09
lea ecx, [esp + 0x68]
call fcn.00402b09
lea ecx, [esp + 0x38]
call fcn.00402b09
cmp byte [esp + 0x16], 0
jne 0x413779
push 0xa
call edi
inc ebx
cmp ebx, 0xa
jl 0x4136d9
xor ebx, ebx
lea ecx, [esp + 0x3f8]
call fcn.00402bab
mov esi, eax
lea ecx, [esp + 0x1c]
push 0x6fa75e74
lea eax, [esp + 0x9c]
push eax
push 0x6fa7c594
call fcn.00404d7e
push eax
lea edx, [esp + 0x194]
lea ecx, [esp + 0x5c]
call fcn.00404efc
pop ecx
mov edx, eax
lea ecx, [esp + 0x70]
call fcn.00404f1d
pop ecx
mov edx, eax
lea ecx, [esp + 0x3c]
call fcn.00403c14
pop ecx
mov ecx, eax
call fcn.00402b04
mov edx, esi
mov ecx, eax
call fcn.004190b6
lea ecx, [esp + 0x38]
mov byte [esp + 0x18], al
call fcn.00402b09
lea ecx, [esp + 0x68]
call fcn.00402b09
lea ecx, [esp + 0x50]
call fcn.00402b09
lea ecx, [esp + 0x1c]
call fcn.00402b09
cmp byte [esp + 0x18], 0
jne 0x41381b
push 0xa
call edi
inc ebx
cmp ebx, 0xa
jl 0x41377b
xor ebx, ebx
lea ecx, [esp + 0x3e0]
call fcn.00402bab
mov esi, eax
lea ecx, [esp + 0x1c]
push 0x6fa75e74
lea eax, [esp + 0x84]
push eax
push 0x6fa7c594
call fcn.00404d7e
push eax
lea edx, [esp + 0x194]
lea ecx, [esp + 0x5c]
call fcn.00404efc
pop ecx
mov edx, eax
lea ecx, [esp + 0x70]
call fcn.00404f1d
pop ecx
mov edx, eax
lea ecx, [esp + 0x3c]
call fcn.00403c14
pop ecx
mov ecx, eax
call fcn.00402b04
mov edx, esi
mov ecx, eax
call fcn.004190b6
lea ecx, [esp + 0x38]
mov byte [esp + 0x17], al
call fcn.00402b09
lea ecx, [esp + 0x68]
call fcn.00402b09
lea ecx, [esp + 0x50]
call fcn.00402b09
lea ecx, [esp + 0x1c]
call fcn.00402b09
cmp byte [esp + 0x17], 0
jne 0x4138bd
push 0xa
call edi
inc ebx
cmp ebx, 0xa
jl 0x41381d
xor eax, eax
cmp byte [esp + 0x16], al
sete al
cmp byte [esp + 0x17], 0
lea ecx, [eax + 1]
cmovne ecx, eax
cmp byte [esp + 0x18], 0
lea ebx, [ecx + 1]
cmovne ebx, ecx
xor esi, esi
mov dword [esp + 0x34], ebx
mov bl, byte [esp + 0x1b]
lea ecx, [esp + 0xb0]
call fcn.00402b04
lea edx, [esp + 0xf8]
mov ecx, eax
call fcn.0041cfd3
test al, al
je 0x413919
lea ecx, [esp + 0xb0]
mov bl, 1
call fcn.00402b04
push eax
call dword [0x6fa69284]
lea ecx, [esp + 0x80]
call fcn.00402b04
lea edx, [esp + 0xe0]
mov ecx, eax
call fcn.0041cfd3
test al, al
je 0x413952
mov bh, 1
lea ecx, [esp + 0x80]
mov byte [esp + 0x19], bh
call fcn.00402b04
push eax
call dword [0x6fa69284]
jmp 0x413956
mov bh, byte [esp + 0x19]
lea ecx, [esp + 0x98]
call fcn.00402b04
lea edx, [esp + 0xc8]
mov ecx, eax
call fcn.0041cfd3
test al, al
je 0x41398c
lea ecx, [esp + 0x98]
mov byte [esp + 0x1a], 1
call fcn.00402b04
push eax
call dword [0x6fa69284]
test bl, bl
je 0x41399b
test bh, bh
je 0x41399b
cmp byte [esp + 0x1a], 0
jne 0x4139ac
push 0x1f4
call edi
inc esi
cmp esi, 0xa
jl 0x4138e6
lea ecx, [esp + 0xf8]
call fcn.00407728
mov ebx, dword [esp + 0x34]
test al, al
je 0x413a14
lea ecx, [esp + 0xc8]
call fcn.00407728
test al, al
je 0x413a14
lea ecx, [esp + 0xe0]
call fcn.00407728
test al, al
je 0x413a14
push 0x64
call edi
lea ecx, [esp + 0x80]
call fcn.00402b09
lea ecx, [esp + 0x98]
call fcn.00402b09
lea ecx, [esp + 0xb0]
call fcn.00402b09
inc ebp
cmp ebp, 0xa
jl 0x41364d
jmp 0x413a38
lea ecx, [esp + 0x80]
call fcn.00402b09
lea ecx, [esp + 0x98]
call fcn.00402b09
lea ecx, [esp + 0xb0]
call fcn.00402b09
push 0
push 0x2710
lea ecx, [esp + 0x118]
call fcn.0040c452
lea ecx, [esp + 0x110]
call fcn.00402b04
sub esp, 0x18
mov esi, eax
lea eax, [esp + 0x428]
mov ecx, esp
push eax
call fcn.00402cf6
mov edx, esi
lea ecx, [esp + 0x50]
call fcn.00413d7b
add esp, 0x18
lea ecx, [esp + 0x38]
call fcn.00402b09
mov edx, 0x6fa7611c
lea ecx, [esp + 0x398]
call fcn.00406705
lea edx, [esp + 0x110]
test al, al
je 0x413bf6
lea ecx, [esp + 0x170]
call fcn.0041c86c
sub esp, 0x18
lea ecx, [esp + 0x170]
mov esi, esp
mov edi, 0x6fa84ee0
mov edx, ebx
push eax
push edi
call fcn.0041c6dc
push eax
push edi
lea eax, [esp + 0xf0]
push eax
push edi
lea eax, [esp + 0x110]
push eax
push edi
lea eax, [esp + 0x130]
push eax
push edi
lea edx, [esp + 0x3f0]
lea ecx, [esp + 0x180]
call fcn.00403b31
pop ecx
mov edx, eax
lea ecx, [esp + 0x164]
call fcn.00403b10
pop ecx
mov edx, eax
lea ecx, [esp + 0xb8]
call fcn.00403b10
pop ecx
mov edx, eax
lea ecx, [esp + 0xcc]
call fcn.00403b10
pop ecx
mov edx, eax
lea ecx, [esp + 0xe0]
call fcn.00403b10
pop ecx
mov edx, eax
lea ecx, [esp + 0x48]
call fcn.00403b10
pop ecx
mov edx, eax
lea ecx, [esp + 0x78]
call fcn.00403b10
pop ecx
mov edx, eax
lea ecx, [esp + 0x8c]
call fcn.00403aa1
pop ecx
mov edx, eax
lea ecx, [esp + 0x58]
call fcn.00403b10
pop ecx
mov edx, eax
mov ecx, esi
call fcn.00403aa1
pop ecx
push 0x69
mov ecx, 0x6fa85430
call fcn.004056a1
lea ecx, [esp + 0x38]
call fcn.00402bd8
lea ecx, [esp + 0x68]
call fcn.00402bd8
lea ecx, [esp + 0x50]
call fcn.00402bd8
lea ecx, [esp + 0x1c]
call fcn.00402bd8
lea ecx, [esp + 0xb0]
call fcn.00402bd8
lea ecx, [esp + 0x98]
call fcn.00402bd8
lea ecx, [esp + 0x80]
call fcn.00402bd8
lea ecx, [esp + 0x128]
call fcn.00402bd8
lea ecx, [esp + 0x140]
call fcn.00402bd8
lea ecx, [esp + 0x158]
call fcn.00402bd8
lea ecx, [esp + 0x170]
jmp 0x413cf3
lea ecx, [esp + 0x1c]
call fcn.0041c86c
sub esp, 0x18
lea edx, [esp + 0x3c8]
mov esi, esp
lea ecx, [esp + 0x68]
mov edi, 0x6fa84ee0
push eax
push edi
lea eax, [esp + 0xe8]
push eax
push edi
lea eax, [esp + 0x108]
push eax
push edi
lea eax, [esp + 0x128]
push eax
push edi
call fcn.00403b31
pop ecx
mov edx, eax
lea ecx, [esp + 0x9c]
call fcn.00403b10
pop ecx
mov edx, eax
lea ecx, [esp + 0x68]
call fcn.00403b10
pop ecx
mov edx, eax
lea ecx, [esp + 0x154]
call fcn.00403b10
pop ecx
mov edx, eax
lea ecx, [esp + 0x168]
call fcn.00403b10
pop ecx
mov edx, eax
lea ecx, [esp + 0x17c]
call fcn.00403b10
pop ecx
mov edx, eax
lea ecx, [esp + 0x190]
call fcn.00403b10
pop ecx
mov edx, eax
mov ecx, esi
call fcn.00403aa1
pop ecx
push 0x6a
mov ecx, 0x6fa85430
call fcn.004056a1
lea ecx, [esp + 0x170]
call fcn.00402bd8
lea ecx, [esp + 0x158]
call fcn.00402bd8
lea ecx, [esp + 0x140]
call fcn.00402bd8
lea ecx, [esp + 0x128]
call fcn.00402bd8
lea ecx, [esp + 0x38]
call fcn.00402bd8
lea ecx, [esp + 0x68]
call fcn.00402bd8
lea ecx, [esp + 0x50]
call fcn.00402bd8
lea ecx, [esp + 0x1c]
call fcn.00402bd8
lea ecx, [esp + 0x110]
call fcn.00402b09
lea ecx, [esp + 0xc8]
call fcn.00402bd8
lea ecx, [esp + 0xe0]
call fcn.00402bd8
lea ecx, [esp + 0xf8]
call fcn.00402bd8
lea ecx, [esp + 0x398]
call fcn.00402bd8
lea ecx, [esp + 0x3b0]
call fcn.00402bd8
lea ecx, [esp + 0x3c8]
call fcn.00402bd8
lea ecx, [esp + 0x3e0]
call fcn.00402bd8
lea ecx, [esp + 0x3f8]
call fcn.00402bd8
lea ecx, [esp + 0x410]
call fcn.00402bd8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x384
ret