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

Disassembly:
push 0xffffffffffffffff
push 0x5cf67f
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x66a8c4]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x66a8c4]
xor eax, esp
push eax
lea eax, [esp + 0x14c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x15c]
xor ebp, ebp
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ebp
jmp 0x41e9b2
xor ebp, ebp
lea ecx, [esp + 0x128]
call fcn.00403ca0
lea ecx, [esp + 0x18]
mov dword [esp + 0x154], ebp
mov dword [esp + 0x6c], ebp
call fcn.004b8030
mov edi, dword [esp + 0x3c]
mov eax, dword [edi + 0x54]
add edi, 0x3c
mov dword [esp + 0x1c], ebp
mov esi, dword [eax]
lea ecx, [esp + 0x5c]
call fcn.004b8030
push edi
lea ecx, [esp + 0x60]
mov dword [esp + 0x64], esi
call fcn.00403920
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
lea esp, [esp]
mov edi, dword [esp + 0x3c]
mov esi, dword [edi + 0x54]
add edi, 0x3c
lea ecx, [esp + 0x44]
call fcn.004b8030
push edi
lea ecx, [esp + 0x48]
mov dword [esp + 0x4c], esi
call fcn.00403920
lea ecx, [esp + 0x18]
call fcn.00403860
test al, al
je 0x41ea50
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x1c]
call fcn.00403b20
test al, al
jne 0x41ea55
call fcn.005910ab
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [esp + 0x48]
je 0x41ec25
mov edx, dword [esp + 0x38]
mov eax, dword [edx + 0x66d528]
push eax
lea ecx, [esp + 0x7c]
call fcn.00404560
lea ecx, [esp + 0x18]
mov byte [esp + 0x154], 1
call fcn.00403860
test al, al
jne 0x41ea91
call fcn.005910ab
lea ecx, [esp + 0x18]
call fcn.00403b40
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [eax + 0x18]
jne 0x41eaa8
call fcn.005910ab
mov esi, dword [esp + 0x1c]
lea edx, [esp + 0x30]
push edx
add esi, 0x28
lea ebx, [esp + 0x7c]
call fcn.004241d0
mov ecx, ebx
mov byte [esp + 0x154], 0
call fcn.00403d10
lea ecx, [esp + 0x18]
call fcn.00403860
test al, al
jne 0x41eade
call fcn.005910ab
lea ecx, [esp + 0x18]
call fcn.00403b40
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [eax + 0x18]
jne 0x41eaf5
call fcn.005910ab
mov esi, dword [esp + 0x1c]
mov edi, dword [esi + 0x40]
add esi, 0x28
lea ecx, [esp + 0x4c]
call fcn.004b8030
push esi
lea ecx, [esp + 0x50]
mov dword [esp + 0x54], edi
call fcn.00403920
lea ecx, [esp + 0x30]
call fcn.00403860
test al, al
je 0x41eb35
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x34]
call fcn.00403b20
test al, al
jne 0x41eb3a
call fcn.005910ab
mov eax, dword [esp + 0x34]
cmp eax, dword [esp + 0x50]
je 0x41ec17
mov esi, dword [esp + 0x6c]
mov ecx, esi
or ecx, ebp
jne 0x41eb62
lea ecx, [esp + 0x128]
call fcn.00408810
test al, al
jne 0x41eba1
lea ecx, [esp + 0x30]
call fcn.00403860
test al, al
jne 0x41eb74
call fcn.005910ab
lea ecx, [esp + 0x30]
call fcn.00403b40
mov edx, eax
mov eax, dword [esp + 0x34]
cmp eax, dword [edx + 0x18]
jne 0x41eb91
call fcn.005910ab
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x34]
cmp ecx, ebp
jl 0x41ec17
jg 0x41eba1
mov edx, dword [eax + 0x30]
cmp edx, esi
jbe 0x41ec17
lea ecx, [esp + 0x18]
call fcn.00403860
test al, al
jne 0x41ebb3
call fcn.005910ab
lea ecx, [esp + 0x18]
call fcn.00403b40
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [eax + 0x18]
jne 0x41ebca
call fcn.005910ab
mov edx, dword [esp + 0x1c]
add edx, 0xc
push edx
lea ecx, [esp + 0x12c]
call fcn.004013f0
lea ecx, [esp + 0x30]
call fcn.00403860
test al, al
jne 0x41ebf0
call fcn.005910ab
lea ecx, [esp + 0x30]
call fcn.00403b40
mov ecx, eax
mov eax, dword [esp + 0x34]
cmp eax, dword [ecx + 0x18]
jne 0x41ec0d
call fcn.005910ab
mov eax, dword [esp + 0x34]
mov edx, dword [eax + 0x30]
mov ebp, dword [eax + 0x34]
mov dword [esp + 0x6c], edx
lea esi, [esp + 0x18]
call fcn.0041fcc0
jmp 0x41ea10
lea ecx, [esp + 0x128]
call fcn.00408810
test al, al
jne 0x41ef75
test ebp, ebp
jl 0x41ef75
jg 0x41ec4e
cmp dword [esp + 0x6c], 0
jbe 0x41ef75
lea eax, [esp + 0x114]
push eax
lea ebx, [esp + 0x12c]
mov esi, edi
call fcn.00423f00
mov ecx, dword [eax]
mov esi, dword [edi + 0x18]
mov dword [esp + 0x20], ecx
mov edx, dword [eax + 4]
lea ecx, [esp + 0x54]
mov dword [esp + 0x24], edx
call fcn.004b8030
push edi
lea ecx, [esp + 0x58]
mov dword [esp + 0x5c], esi
call fcn.00403920
lea ecx, [esp + 0x20]
call fcn.00403860
test al, al
je 0x41ecaa
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x24]
call fcn.00403b20
test al, al
jne 0x41ecaf
call fcn.005910ab
mov ecx, dword [esp + 0x24]
cmp ecx, dword [esp + 0x58]
je 0x41ef75
mov edx, dword [esp + 0x38]
mov eax, dword [edx + 0x66d528]
push eax
lea ecx, [esp + 0x7c]
call fcn.00404560
lea ecx, [esp + 0x20]
mov byte [esp + 0x154], 2
call fcn.00403860
test al, al
jne 0x41eceb
call fcn.005910ab
lea ecx, [esp + 0x20]
call fcn.00403b40
mov ecx, dword [esp + 0x24]
cmp ecx, dword [eax + 0x18]
jne 0x41ed02
call fcn.005910ab
mov esi, dword [esp + 0x24]
lea edx, [esp + 0x28]
push edx
add esi, 0x28
lea ebx, [esp + 0x7c]
call fcn.004241d0
mov ecx, ebx
mov byte [esp + 0x154], 0
call fcn.00403d10
lea ecx, [esp + 0x20]
call fcn.00403860
test al, al
jne 0x41ed38
call fcn.005910ab
lea ecx, [esp + 0x20]
call fcn.00403b40
mov ecx, dword [esp + 0x24]
cmp ecx, dword [eax + 0x18]
jne 0x41ed4f
call fcn.005910ab
mov esi, dword [esp + 0x24]
mov edi, dword [esi + 0x40]
add esi, 0x28
lea ecx, [esp + 0x64]
call fcn.004b8030
push esi
lea ecx, [esp + 0x68]
mov dword [esp + 0x6c], edi
call fcn.00403920
lea ecx, [esp + 0x28]
call fcn.00403860
test al, al
je 0x41ed8f
lea edx, [esp + 0x64]
push edx
lea ecx, [esp + 0x2c]
call fcn.00403b20
test al, al
jne 0x41ed94
call fcn.005910ab
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x68]
je 0x41ef75
lea ecx, [esp + 0x28]
call fcn.00403860
test al, al
jne 0x41edb4
call fcn.005910ab
lea ecx, [esp + 0x28]
call fcn.00403b40
mov ecx, dword [esp + 0x2c]
cmp ecx, dword [eax + 0x18]
jne 0x41edcb
call fcn.005910ab
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x30]
add eax, 0x30
sub esp, 0x20
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
add edx, 8
mov dword [esp + 0x94], esp
lea ecx, [eax + 8]
push edx
call fcn.0041f270
lea ecx, [esp + 0x48]
mov byte [esp + 0x174], 3
call fcn.00403860
test al, al
jne 0x41ee0f
call fcn.005910ab
lea ecx, [esp + 0x48]
call fcn.00403b40
mov edx, dword [esp + 0x4c]
cmp edx, dword [eax + 0x18]
jne 0x41ee26
call fcn.005910ab
mov eax, dword [esp + 0x4c]
sub esp, 0x1c
add eax, 0x10
mov ecx, esp
mov dword [esp + 0x7c], esp
push eax
call fcn.00403cd0
lea ebx, [esp + 0x110]
mov byte [esp + 0x190], 0
call fcn.00420720
add esp, 0x3c
lea ecx, [esp + 0x94]
push ecx
mov edi, eax
mov byte [esp + 0x158], 4
call fcn.00420790
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x94]
push edx
lea eax, [esp + 0x120]
push eax
add ecx, 0x5c
push ecx
mov byte [esp + 0x160], 5
call fcn.00424070
mov eax, dword [esp + 0xc8]
xor esi, esi
cmp eax, esi
je 0x41eec0
mov edx, dword [esp + 0x40]
mov edi, dword [esp + 0xcc]
push edx
call fcn.00420910
mov eax, dword [esp + 0xcc]
add esp, 4
push eax
call fcn.0059085a
add esp, 4
mov ecx, dword [esp + 0xbc]
push 1
push ecx
lea ecx, [esp + 0xc8]
mov dword [esp + 0xd0], esi
mov dword [esp + 0xd4], esi
mov dword [esp + 0xd8], esi
call fcn.00404280
lea ecx, [esp + 0xbc]
call fcn.004a9d60
lea ecx, [esp + 0x94]
call fcn.00403d10
mov eax, dword [esp + 0x108]
cmp eax, esi
je 0x41ef32
mov edx, dword [esp + 0x40]
mov edi, dword [esp + 0x10c]
push edx
call fcn.00420910
mov eax, dword [esp + 0x10c]
add esp, 4
push eax
call fcn.0059085a
add esp, 4
mov ecx, dword [esp + 0xfc]
push 1
push ecx
lea ecx, [esp + 0x108]
mov dword [esp + 0x110], esi
mov dword [esp + 0x114], esi
mov dword [esp + 0x118], esi
call fcn.00404280
lea ecx, [esp + 0xfc]
call fcn.004a9d60
lea ecx, [esp + 0xd4]
call fcn.00403d10
lea ecx, [esp + 0x128]
mov dword [esp + 0x154], 0xffffffff
call fcn.00403d10
mov eax, dword [esp + 0x38]
add eax, 4
mov dword [esp + 0x38], eax
cmp eax, 0x24
jb 0x41e9b0
mov eax, dword [esp + 0x3c]
xor edx, edx
cmp edx, dword [eax + 0x78]
sbb eax, eax
neg eax
mov ecx, dword [esp + 0x14c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.00590c4b
add esp, 0x144
ret 4