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

Disassembly:
mov ecx, dword [0x5b96c8]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41f299
sub esp, 0x7c
mov eax, dword [esp + 0x80]
test byte [eax], al
lea ecx, [eax + 0xa0]
lea edx, [eax + 0xa8]
mov dword [esp + 0x78], edx
lea ebx, [eax + 0xb0]
mov dword [esp + 0x74], ebx
lea ebp, [eax + 0xb8]
mov dword [esp + 0x70], ebp
lea esi, [eax + 0xc0]
mov dword [esp + 0x6c], esi
lea edi, [eax + 0xc8]
mov dword [esp + 0x68], edi
lea edi, [eax + 0xd0]
mov dword [esp + 0x64], edi
lea edi, [eax + 0xd8]
mov dword [esp + 0x60], edi
add eax, 0x68
mov dword [esp + 0x5c], eax
mov dword [esp], ecx
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call fcn.00402960
nop
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call fcn.00402960
nop
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call fcn.00402960
nop
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call fcn.00402960
nop
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call fcn.00402960
nop
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call fcn.00402960
nop
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call fcn.00402960
nop
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call fcn.00402960
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x80]
mov dword [ecx + 0xe4], eax
mov eax, dword [esp + 0x84]
mov dword [ecx + 0xe0], eax
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.00402b20
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x80]
mov dword [edx + 0x5c], eax
mov dword [edx + 0x58], ecx
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
call fcn.0044e650
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [esp + 4], eax
mov dword [esp], ecx
mov dword [esp + 0xc], 0x3fd00000
mov dword [esp + 8], 0
call fcn.0044cdb0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], ecx
mov dword [esp + 4], eax
mov dword [esp], ecx
mov dword [esp + 0xc], 0x3fe00000
mov dword [esp + 8], 0
call fcn.0044c750
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.0044e730
mov eax, dword [esp + 8]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x34], edx
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.0044e6a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 4], eax
mov dword [esp], ecx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 8], ecx
call fcn.0044d1c0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 4], ecx
mov dword [esp], eax
mov dword [esp + 0xc], 0xbff00000
mov dword [esp + 8], 0
call fcn.0044c750
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x20], ecx
mov dword [esp + 4], 0xbfd33333
mov dword [esp], 0x33333333
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
call fcn.0044e550
movzx eax, byte [esp + 0x10]
test al, al
je 0x41ee63
mov eax, 1
jmp 0x41ee8c
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 0xc], 0x3fd33333
mov dword [esp + 8], 0x33333333
call fcn.0044e550
movzx eax, byte [esp + 0x10]
test al, al
jne 0x41eeb8
mov edx, dword [esp + 0x80]
mov dword [edx + 0x108], 0
mov dword [edx + 0x10c], 0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
jmp 0x41efac
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
call fcn.0044e6a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 4], eax
mov dword [esp], ecx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 8], ecx
call fcn.0044e550
movzx eax, byte [esp + 0x10]
test al, al
je 0x41ef09
mov eax, dword [esp + 0x30]
add eax, 0xffffffff
mov ecx, dword [esp + 0x34]
adc ecx, 0xffffffff
jmp 0x41ef11
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.0044e6a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp], ecx
xor eax, 0x80000000
mov dword [esp + 0xc], eax
call fcn.0044c750
mov eax, dword [esp + 0x14]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x54], ecx
mov edx, dword [esp + 0x8c]
mov dword [esp], edx
call fcn.0044e650
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x58]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x54]
mov dword [esp], edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
call fcn.0044d1c0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x80]
mov dword [edx + 0x108], eax
mov dword [edx + 0x10c], ecx
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
mov ebx, dword [0x5b99fc]
test ebx, ebx
jle 0x41efda
mov dword [edx + 0x108], 0
mov dword [edx + 0x10c], 0
mov eax, dword [esp + 0x8c]
mov ecx, eax
sar eax, 0x1f
mov ebx, ecx
jmp 0x41efe1
mov ebx, dword [esp + 0x8c]
mov ebp, dword [0x594960]
mov esi, dword [0x594964]
xor edi, edi
jmp 0x41f025
mov ebx, dword [ebp + edi*4]
mov dword [ebx + 0x938], 0
mov dword [ebx + 0x93c], 0
mov dword [ebx + 0x940], 0
mov dword [ebx + 0x944], 0
inc edi
mov ebx, dword [esp + 0x8c]
cmp edi, esi
jl 0x41eff1
mov dword [esp + 0x30], ecx
mov dword [esp + 0x38], eax
mov ebp, dword [esp + 0x90]
cmp ebp, 1
jne 0x41f07e
test eax, eax
setg bl
xchg ebp, ebx
sete bl
xchg ebp, ebx
test ecx, ecx
xchg esi, ebx
seta bl
xchg esi, ebx
and ebp, esi
or ebx, ebp
test bl, bl
je 0x41f06c
mov dword [esp], edx
mov dword [esp + 4], 0
call fcn.00421c60
jmp 0x41f08c
mov dword [esp], edx
mov dword [esp + 4], 1
call fcn.00421c60
jmp 0x41f08c
mov dword [esp], edx
sub ebx, ecx
mov dword [esp + 4], ebx
call fcn.00421c60
mov eax, dword [esp + 0x80]
lea ecx, [eax + 0xe8]
nop
mov dword [esp], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x30]
mov dword [esp + 4], edx
call fcn.00402960
mov eax, dword [esp + 0x80]
mov dword [esp], eax
call fcn.0041f2b0
mov eax, dword [0x5b99f4]
test eax, eax
jle 0x41f295
mov eax, dword [esp + 0x80]
lea ecx, [eax + 0xf8]
mov dword [esp + 0x5c], ecx
nop
mov dword [esp], eax
call fcn.00420c30
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, eax
shl eax, 0xc
shr ecx, 0x14
or ecx, eax
mov dword [esp + 0x58], ecx
shr edx, 0x14
mov dword [esp + 0x54], edx
nop
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.00402b20
mov eax, dword [esp + 8]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x18], ecx
lea edx, [0x5b9e50]
mov dword [esp], edx
call fcn.00402b20
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, eax
shl eax, 0xc
shr ecx, 0x14
or ecx, eax
mov dword [esp + 0x50], ecx
shr edx, 0x14
mov dword [esp + 0x4c], edx
mov eax, dword [0x594dd4]
mov ebx, dword [0x594dd0]
mov ebp, eax
shl eax, 0xc
shr ebx, 0x14
or ebx, eax
mov dword [esp + 0x48], ebx
shr ebp, 0x14
mov dword [esp + 0x44], ebp
mov eax, dword [esp + 0x80]
mov esi, dword [eax + 0x108]
mov dword [esp + 0x40], esi
mov eax, dword [eax + 0x10c]
mov dword [esp + 0x3c], eax
call fcn.004397b0
lea eax, [0x4e284a]
mov dword [esp], eax
mov dword [esp + 4], 0x14
call fcn.0043a380
mov eax, dword [esp + 0x18]
mov dword [esp], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], eax
call fcn.00439a60
lea eax, [0x4dfa99]
mov dword [esp], eax
mov dword [esp + 4], 7
call fcn.0043a380
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call fcn.0043a060
lea eax, [0x4dfaa0]
mov dword [esp], eax
mov dword [esp + 4], 7
call fcn.0043a380
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.0043a060
lea eax, [0x4df4c5]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.0043a380
mov eax, dword [esp + 0x54]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call fcn.0043a060
lea eax, [0x4e0c03]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.0043a380
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.0043a1a0
lea eax, [0x4df476]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.0043a380
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
call fcn.00439a60
call fcn.004399c0
call fcn.00439810
add esp, 0x7c
ret
call fcn.00465370
jmp fcn.0041ebb0