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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xc0]
cmp eax, dword [ecx + 8]
jbe 0x41ebff
sub esp, 0x140
nop
mov ecx, dword [0xa84be4]
test byte [ecx], al
mov edx, dword [esp + 0x14c]
mov ebx, edx
shr edx, 0x16
mov ecx, dword [ecx + edx*4]
test ecx, ecx
je 0x41ebf0
mov edx, ebx
shr ebx, 0xd
and ebx, 0x1ff
mov ecx, dword [ecx + ebx*4 + 0x40000]
mov dword [esp + 0x40], ecx
lea edi, [esp + 0xb0]
xor eax, eax
call fcn.0045ff8a
mov ecx, dword [esp + 0x144]
mov dword [esp + 0x80], ecx
mov ebx, dword [esp + 0x148]
mov dword [esp + 0x84], ebx
lea ebp, [0x7739a0]
mov dword [esp + 0xb0], ebp
lea esi, [esp + 0x80]
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb8], ebp
lea esi, [0x834c30]
mov dword [esp + 0xbc], esi
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], 0
lea esi, [0x7736a0]
mov dword [esp + 0xc0], esi
lea edx, [esp + 0x38]
mov dword [esp + 0xc4], edx
lea edx, [esp + 0xb0]
mov dword [esp], edx
mov dword [esp + 4], 3
mov dword [esp + 8], 3
call fcn.00408350
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x41eba9
mov edx, dword [ecx + 0xc]
lea edi, [esp + 0xf8]
xor eax, eax
call fcn.0045ff7e
lea ecx, [0x7739a0]
mov dword [esp + 0xf8], ecx
lea ebx, [0x834c40]
mov dword [esp + 0xfc], ebx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], 0
lea edx, [0x7736a0]
mov dword [esp + 0x100], edx
lea ebx, [esp + 0x30]
mov dword [esp + 0x104], ebx
mov dword [esp + 0x108], ecx
lea ebx, [0x834c48]
mov dword [esp + 0x10c], ebx
mov ebx, dword [esp + 0x40]
mov ebp, dword [ebx + 0x44]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], 0
mov dword [esp + 0x110], edx
lea ebp, [esp + 0x28]
mov dword [esp + 0x114], ebp
mov dword [esp + 0x118], ecx
lea ebp, [0x834c50]
mov dword [esp + 0x11c], ebp
movzx ebp, byte [ebx + 0x3a]
lea esi, [0x786040]
mov dword [esp + 0x120], esi
lea esi, [0x9e25c0]
lea ebp, [esi + ebp*8]
mov dword [esp + 0x124], ebp
mov dword [esp + 0x128], ecx
lea ebp, [0x834c58]
mov dword [esp + 0x12c], ebp
mov ebp, dword [ebx + 0x40]
mov dword [esp + 0x1c], ebp
lea ebp, [0x773be0]
mov dword [esp + 0x130], ebp
lea edx, [esp + 0x1c]
mov dword [esp + 0x134], edx
mov dword [esp + 0x138], ecx
lea edx, [0x834c60]
mov dword [esp + 0x13c], edx
lea edx, [esp + 0xf8]
mov dword [esp], edx
mov dword [esp + 4], 9
mov dword [esp + 8], 9
call fcn.00408350
mov ecx, dword [esp + 0x40]
lea edx, [ecx + 0x3b]
mov dword [esp + 0x44], edx
mov dword [esp], edx
call fcn.00401e90
movzx ecx, byte [esp + 4]
test cl, cl
jb 0x41eb20
movzx eax, cl
cmp dword [0xa75cc4], eax
jle 0x41eb20
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov ecx, dword [0xa75cc4]
mov edx, dword [0xa75cc0]
cmp eax, ecx
jae 0x41ebf9
lea eax, [edx + eax*8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
lea eax, [0x7739a0]
mov dword [esp + 0x88], eax
lea ecx, [esp + 0x70]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
lea ecx, [0x834c68]
mov dword [esp + 0x94], ecx
lea ecx, [esp + 0x88]
mov dword [esp], ecx
mov dword [esp + 4], 2
mov dword [esp + 8], 2
call fcn.00408350
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x40]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x44]
mov dword [esp], ecx
call fcn.00401e90
cmp byte [esp + 4], 2
jne 0x41eb1a
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x41eb0a
mov ecx, dword [esp + 0x150]
lea edx, [ecx + 4]
mov dword [esp + 0x10], edx
xor eax, eax
xor ebx, ebx
jmp 0x41e8b3
add eax, 4
cmp eax, edx
jae 0x41eabd
cmp eax, 0x200
jb 0x41e8d7
lea ebp, [ecx - 0x40]
cmp eax, ebp
jbe 0x41e8d0
lea ebp, [ecx + 0x40]
cmp eax, ebp
jb 0x41e8d7
mov ebx, 1
jmp 0x41e8b0
mov dword [esp + 0x14], eax
test bl, bl
jne 0x41ea74
lea edi, [esp + 0xc8]
xor eax, eax
call fcn.0045ff84
lea ecx, [0x7739a0]
mov dword [esp + 0xc8], ecx
lea edx, [0x834c88]
mov dword [esp + 0xcc], edx
mov ebx, dword [esp + 0x144]
mov dword [esp + 0x60], ebx
mov ebp, dword [esp + 0x148]
mov dword [esp + 0x64], ebp
mov dword [esp + 0xd0], ecx
lea esi, [esp + 0x60]
mov dword [esp + 0xd4], esi
mov dword [esp + 0xd8], ecx
lea esi, [0x834c90]
mov dword [esp + 0xdc], esi
mov esi, dword [esp + 0x14]
mov dword [esp + 0x18], esi
lea ebp, [0x773be0]
mov dword [esp + 0xe0], ebp
lea ebp, [esp + 0x18]
mov dword [esp + 0xe4], ebp
mov dword [esp + 0xe8], ecx
lea ebp, [0x834c98]
mov dword [esp + 0xec], ebp
mov ebp, dword [esp + 0x14c]
add ebp, esi
mov ebp, dword [ebp]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], 0
lea ebp, [0x7736a0]
mov dword [esp + 0xf0], ebp
lea ebp, [esp + 0x20]
mov dword [esp + 0xf4], ebp
lea ebp, [esp + 0xc8]
mov dword [esp], ebp
mov dword [esp + 4], 6
mov dword [esp + 8], 6
call fcn.00408350
mov ecx, dword [esp + 0x150]
mov edx, dword [esp + 0x14]
cmp ecx, edx
je 0x41ea2f
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
lea eax, [0x7739a0]
mov dword [esp + 0x50], eax
lea ecx, [0x834cb0]
mov dword [esp + 0x54], ecx
lea edx, [esp + 0x50]
mov dword [esp], edx
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.00408350
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x150]
mov edx, dword [esp + 0x10]
xor ebx, ebx
jmp 0x41e8b0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
lea eax, [0x7739a0]
mov dword [esp + 0x58], eax
lea ecx, [0x834ca8]
mov dword [esp + 0x5c], ecx
lea edx, [esp + 0x58]
mov dword [esp], edx
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.00408350
jmp 0x41e9d9
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
lea eax, [0x7739a0]
mov dword [esp + 0x68], eax
lea ecx, [0x834c80]
mov dword [esp + 0x6c], ecx
lea edx, [esp + 0x68]
mov dword [esp], edx
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.00408350
mov eax, dword [esp + 0x14]
jmp 0x41e8e3
test bl, bl
jne 0x41eac8
add esp, 0x140
ret
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
lea eax, [0x7739a0]
mov dword [esp + 0x48], eax
lea eax, [0x834cb8]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x48]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.00408350
jmp 0x41eac1
mov ecx, dword [esp + 0x150]
mov edx, dword [esp + 0x10]
jmp 0x41e8a6
mov ecx, dword [esp + 0x10]
jmp 0x41eb0a
mov byte [esp + 0xf], cl
lea edi, [esp + 0x98]
xor eax, eax
call fcn.0045ff8a
lea ecx, [0x7739a0]
mov dword [esp + 0x98], ecx
lea edx, [0x834c70]
mov dword [esp + 0x9c], edx
lea edx, [0x7736e0]
mov dword [esp + 0xa0], edx
movzx edx, byte [esp + 0xf]
movzx edx, dl
lea ebx, [0x9e25c0]
lea edx, [ebx + edx*8]
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa8], ecx
lea edx, [0x834c78]
mov dword [esp + 0xac], edx
lea edx, [esp + 0x98]
mov dword [esp], edx
mov dword [esp + 4], 3
mov dword [esp + 8], 3
call fcn.00408350
jmp 0x41e86e
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
lea eax, [0x7739a0]
mov dword [esp + 0x78], eax
lea eax, [0x834c38]
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x78]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.00408350
add esp, 0x140
ret
mov edx, ebx
xor ecx, ecx
jmp 0x41e5d5
call fcn.0045fd60
nop
call fcn.0045e790
jmp fcn.0041e580