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

Disassembly:
push 0xffffffffffffffff
push 0x611a80
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov eax, dword [0x682d00]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov ebp, ecx
mov ebx, dword [esp + 0x68]
mov eax, dword [ebx]
mov edx, dword [eax + 0x38]
mov ecx, ebx
call edx
cmp eax, 9
jne 0x4115e2
mov edi, dword [ebx + 0x3c]
test edi, edi
je 0x411468
mov eax, dword [edi + 8]
test eax, eax
jne 0x411464
mov esi, dword [edi + 4]
and esi, 0x7f
call fcn.00500b30
mov esi, dword [eax + esi*4 - 4]
push edi
mov ecx, esi
call fcn.004fffc0
mov edi, eax
jmp 0x41146a
xor edi, edi
mov eax, dword [ebp + 0x24]
push eax
lea ecx, [esp + 0x30]
call fcn.004326a0
push ebx
lea ecx, [esp + 0x30]
mov dword [esp + 0x64], 0
call fcn.004329b0
mov esi, eax
mov eax, dword [edi]
mov edx, dword [eax + 0x38]
mov ecx, edi
call edx
cmp eax, 4
jne 0x4114de
mov eax, dword [esi]
mov edx, dword [eax + 0x78]
push 0xff
mov ecx, esi
call edx
cmp dword [esi + 0xc], 0
jle 0x4114b6
push 0
mov ecx, esi
call fcn.0055dcd0
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
mov ecx, esi
call edx
mov edi, eax
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
mov ecx, dword [esp + 0x6c]
mov eax, dword [ecx]
push eax
call fcn.005f1b40
mov dword [eax], edi
jmp 0x4115cc
mov edx, dword [edi]
mov eax, dword [edx + 0x68]
mov ecx, edi
call eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
mov ecx, ebx
mov esi, eax
call fcn.00479f10
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x3c]
call eax
cmp eax, 0xce
je 0x411520
mov ecx, ebx
call fcn.00479f10
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x3c]
call eax
cmp eax, 0xcd
jne 0x41157b
mov ecx, ebx
call fcn.00479f10
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x40]
call eax
fmul qword [0x6325d8]
mov edx, dword [esi]
xor eax, eax
fdiv qword [0x6325d0]
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
sub esp, 8
mov eax, esp
mov ecx, esi
mov dword [esp + 0x74], esp
fstp qword [eax]
mov eax, dword [edx + 4]
call eax
mov ecx, ebx
call fcn.00479f10
mov edx, dword [eax]
mov ebx, dword [esi]
mov ecx, eax
mov eax, dword [edx + 0x44]
add ebx, 0xc
call eax
mov edx, dword [ebx]
push eax
mov ecx, esi
call edx
mov eax, dword [esp + 0x6c]
push 0
push 0
push 1
push 0
push eax
push esi
lea ecx, [ebp + 0x1f8]
call fcn.00550600
test eax, eax
jne 0x4115be
test esi, esi
je 0x4115a6
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x60], 0xffffffff
call fcn.0051a4a0
xor eax, eax
jmp 0x411a32
test esi, esi
je 0x4115cc
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x60], 0xffffffff
call fcn.0051a4a0
jmp 0x411a2d
mov edx, dword [ebx]
mov eax, dword [edx + 0x38]
mov ecx, ebx
call eax
cmp eax, 0xe
je 0x4116b4
mov edx, dword [ebx]
mov eax, dword [edx + 0x38]
mov ecx, ebx
call eax
cmp eax, 0xf
je 0x4116b4
mov edx, dword [ebx]
mov eax, dword [edx + 0x38]
mov ecx, ebx
call eax
cmp eax, 0xb
je 0x41163d
mov edx, dword [ebx]
mov eax, dword [edx + 0x38]
mov ecx, ebx
call eax
cmp eax, 0xc
je 0x41163d
mov ecx, dword [esp + 0x6c]
mov edx, dword [ebx]
mov eax, dword [edx + 0x6c]
push ecx
mov ecx, ebx
call eax
push eax
mov ecx, ebp
call fcn.0040b6d0
jmp 0x411a2d
mov edx, dword [ebx]
mov edx, dword [edx + 0xdc]
lea eax, [esp + 0x68]
push eax
mov ecx, ebx
call edx
mov ecx, dword [esp + 0x68]
test ecx, ecx
je 0x411a2d
mov eax, dword [ecx + 4]
test ax, ax
je 0x411a2d
xor edx, edx
xor esi, esi
cmp dx, ax
jae 0x41169f
mov edi, dword [esp + 0x6c]
mov edx, dword [ecx + 8]
movzx eax, si
mov eax, dword [edx + eax*4]
test eax, eax
je 0x411696
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x14]
push edi
call eax
push eax
mov ecx, ebp
call fcn.0040b6d0
mov ecx, dword [esp + 0x68]
movzx edx, word [ecx + 4]
inc esi
cmp esi, edx
jl 0x411673
mov esi, ecx
call fcn.004bc1a0
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
jmp 0x411a2d
xor esi, esi
lea ecx, [esp + 0x34]
mov dword [esp + 0x18], esi
call fcn.005f1fa0
mov edi, 1
lea ecx, [esp + 0x4c]
mov dword [esp + 0x60], edi
call fcn.005f1fa0
mov eax, dword [ebx]
mov edx, dword [eax + 0x38]
mov ecx, ebx
mov byte [esp + 0x60], 2
call edx
cmp eax, 0xf
jne 0x41170c
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x3c]
push edx
mov ecx, ebx
mov dword [esp + 0x74], esi
call fcn.004be360
cmp dword [esp + 0x34], esi
jle 0x41170c
mov dword [esp + 0x18], edi
mov ecx, ebx
call fcn.004c0690
mov ecx, eax
call fcn.004b90c0
mov ecx, dword [ebp + 0x34]
push esi
push eax
call fcn.004afd30
mov ecx, eax
call fcn.004b71c0
mov dword [esp + 0x2c], eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x7c]
mov ecx, ebx
call edx
fstp st(0)
movzx eax, word [ebx + 0x5e]
movzx esi, word [ebx + 0x5c]
lea ecx, [esp + 0x40]
mov dword [esp + 0x24], eax
call fcn.005f1fa0
cmp si, word [esp + 0x24]
movzx edi, si
mov byte [esp + 0x60], 3
mov dword [esp + 0x14], edi
jg 0x411a00
jmp 0x411770
movsx eax, di
cmp dword [esp + 0x70], eax
jne 0x4119f0
mov eax, dword [ebp + 0x48]
mov edx, dword [eax + 0x30]
movzx ecx, di
cmp edx, ecx
jle 0x4117c1
mov edx, dword [eax + 0x34]
mov esi, dword [edx + ecx*4]
lea eax, [edx + ecx*4]
test esi, esi
je 0x4117c1
mov eax, dword [esi + 8]
test eax, eax
jne 0x4117bd
mov eax, dword [esi + 4]
and eax, 0x7f
mov dword [esp + 0x68], eax
call fcn.00500b30
mov ecx, dword [esp + 0x68]
mov eax, dword [eax + ecx*4 - 4]
push esi
mov ecx, eax
call fcn.004fffc0
mov ecx, eax
jmp 0x4117c3
xor ecx, ecx
mov edx, dword [ecx]
mov eax, dword [edx + 0x3c]
call eax
movzx ecx, ax
push ecx
mov ecx, dword [esp + 0x30]
call fcn.004b90f0
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4119f0
mov ecx, dword [ebp + 0x48]
push edi
call fcn.004070b0
push edi
mov ecx, ebx
mov esi, eax
call fcn.004b44c0
push 0
push 0
lea edx, [esp + 0x48]
push edx
push esi
lea ecx, [ebp + 0x100]
mov dword [esp + 0x78], eax
mov dword [esp + 0x30], 0
call fcn.004068c0
test eax, eax
je 0x4119f0
mov eax, dword [esp + 0x48]
cmp dword [eax], 0
je 0x4119f0
cmp dword [esp + 0x18], 1
jne 0x411959
mov ecx, dword [esp + 0x68]
mov esi, dword [ebp + 0x34]
push ecx
mov ecx, dword [esp + 0x20]
call fcn.004bfe90
movzx edx, ax
push edx
mov ecx, esi
call fcn.004b7a50
mov ecx, eax
call fcn.004bf850
test eax, eax
je 0x4119f0
mov ecx, eax
call fcn.004bf030
test eax, eax
je 0x4119f0
xor eax, eax
cmp dword [esp + 0x34], eax
mov dword [esp + 0x1c], eax
jle 0x411959
mov ecx, dword [esp + 0x3c]
movzx edx, word [ecx + eax*2]
movsx eax, di
cmp eax, edx
jne 0x41193b
mov ecx, dword [ebp + 0x48]
push edi
mov dword [esp + 0x24], 1
mov dword [esp + 0x6c], 0
call fcn.004070b0
mov edx, dword [eax]
mov esi, dword [ebx]
mov edi, dword [ebp + 0x34]
lea ecx, [esp + 0x68]
push ecx
mov ecx, eax
mov eax, dword [edx + 0x3c]
add esi, 0xec
call eax
movzx ecx, ax
push ecx
mov ecx, edi
call fcn.004b7a50
mov edx, dword [esi]
push eax
mov ecx, ebx
call edx
mov eax, dword [esp + 0x68]
test eax, eax
je 0x411937
mov ecx, dword [eax + 4]
cmp cx, 1
jb 0x411937
test cx, cx
je 0x411937
xor edx, edx
xor esi, esi
cmp dx, cx
jae 0x411925
mov edx, dword [eax + 8]
movzx ecx, si
mov ecx, dword [edx + ecx*4]
test ecx, ecx
je 0x41191c
mov eax, dword [esp + 0x6c]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x14]
call eax
push eax
mov ecx, ebp
call fcn.0040b6d0
mov eax, dword [esp + 0x68]
movzx ecx, word [eax + 4]
inc esi
cmp esi, ecx
jl 0x4118f7
mov ecx, eax
mov esi, eax
call fcn.004bc1a0
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, dword [esp + 0x34]
mov dword [esp + 0x1c], eax
jl 0x411881
cmp dword [esp + 0x20], 0
jne 0x4119f0
mov ecx, dword [ebp + 0x48]
push edi
mov dword [esp + 0x6c], 0
call fcn.004070b0
mov edx, dword [ebp + 0x34]
mov esi, dword [ebx]
lea ecx, [esp + 0x68]
mov dword [esp + 0x20], edx
mov edx, dword [eax]
push ecx
mov ecx, eax
mov eax, dword [edx + 0x3c]
add esi, 0xec
call eax
movzx ecx, ax
push ecx
mov ecx, dword [esp + 0x28]
call fcn.004b7a50
mov edx, dword [esi]
push eax
mov ecx, ebx
call edx
mov eax, dword [esp + 0x68]
test eax, eax
je 0x4119f0
mov ecx, dword [eax + 4]
xor edx, edx
xor esi, esi
cmp dx, cx
jae 0x4119de
nop
mov edx, dword [eax + 8]
movzx ecx, si
mov ecx, dword [edx + ecx*4]
test ecx, ecx
je 0x4119d5
mov eax, dword [esp + 0x6c]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x14]
call eax
push eax
mov ecx, ebp
call fcn.0040b6d0
mov eax, dword [esp + 0x68]
movzx ecx, word [eax + 4]
inc esi
cmp esi, ecx
jl 0x4119b0
mov ecx, eax
mov esi, eax
call fcn.004bc1a0
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
inc edi
cmp di, word [esp + 0x24]
mov dword [esp + 0x14], edi
jle 0x411770
lea ecx, [esp + 0x40]
mov byte [esp + 0x60], 2
call fcn.005f1f90
lea ecx, [esp + 0x4c]
mov byte [esp + 0x60], 1
call fcn.005f1f90
lea ecx, [esp + 0x34]
mov dword [esp + 0x60], 0xffffffff
call fcn.005f1f90
mov eax, 1
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 0xc