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

Disassembly:
push 0xffffffffffffffff
push 0x613a10
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov eax, dword [0x685e38]
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 0x411942
mov edi, dword [ebx + 0x3c]
test edi, edi
je 0x4117c8
mov eax, dword [edi + 8]
test eax, eax
jne 0x4117c4
mov esi, dword [edi + 4]
and esi, 0x7f
call fcn.005018f0
mov esi, dword [eax + esi*4 - 4]
push edi
mov ecx, esi
call fcn.00500ce0
mov edi, eax
jmp 0x4117ca
xor edi, edi
mov eax, dword [ebp + 0x24]
push eax
lea ecx, [esp + 0x30]
call fcn.00432b00
push ebx
lea ecx, [esp + 0x30]
mov dword [esp + 0x64], 0
call fcn.00432e10
mov esi, eax
mov eax, dword [edi]
mov edx, dword [eax + 0x38]
mov ecx, edi
call edx
cmp eax, 4
jne 0x41183e
mov eax, dword [esi]
mov edx, dword [eax + 0x78]
push 0xff
mov ecx, esi
call edx
cmp dword [esi + 0xc], 0
jle 0x411816
push 0
mov ecx, esi
call fcn.0055f380
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.005f3cc0
mov dword [eax], edi
jmp 0x41192c
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.00475300
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x3c]
call eax
cmp eax, 0xce
je 0x411880
mov ecx, ebx
call fcn.00475300
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x3c]
call eax
cmp eax, 0xcd
jne 0x4118db
mov ecx, ebx
call fcn.00475300
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x40]
call eax
fmul qword [0x6345e0]
mov edx, dword [esi]
xor eax, eax
fdiv qword [0x6345d8]
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.00475300
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.00551cb0
test eax, eax
jne 0x41191e
test esi, esi
je 0x411906
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.004f2200
xor eax, eax
jmp 0x411d92
test esi, esi
je 0x41192c
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.004f2200
jmp 0x411d8d
mov edx, dword [ebx]
mov eax, dword [edx + 0x38]
mov ecx, ebx
call eax
cmp eax, 0xe
je 0x411a14
mov edx, dword [ebx]
mov eax, dword [edx + 0x38]
mov ecx, ebx
call eax
cmp eax, 0xf
je 0x411a14
mov edx, dword [ebx]
mov eax, dword [edx + 0x38]
mov ecx, ebx
call eax
cmp eax, 0xb
je 0x41199d
mov edx, dword [ebx]
mov eax, dword [edx + 0x38]
mov ecx, ebx
call eax
cmp eax, 0xc
je 0x41199d
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.0040b6c0
jmp 0x411d8d
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 0x411d8d
mov eax, dword [ecx + 4]
test ax, ax
je 0x411d8d
xor edx, edx
xor esi, esi
cmp dx, ax
jae 0x4119ff
mov edi, dword [esp + 0x6c]
mov edx, dword [ecx + 8]
movzx eax, si
mov eax, dword [edx + eax*4]
test eax, eax
je 0x4119f6
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x14]
push edi
call eax
push eax
mov ecx, ebp
call fcn.0040b6c0
mov ecx, dword [esp + 0x68]
movzx edx, word [ecx + 4]
inc esi
cmp esi, edx
jl 0x4119d3
mov esi, ecx
call fcn.004bcf90
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
jmp 0x411d8d
xor esi, esi
lea ecx, [esp + 0x34]
mov dword [esp + 0x18], esi
call fcn.005f3af0
mov edi, 1
lea ecx, [esp + 0x4c]
mov dword [esp + 0x60], edi
call fcn.005f3af0
mov eax, dword [ebx]
mov edx, dword [eax + 0x38]
mov ecx, ebx
mov byte [esp + 0x60], 2
call edx
cmp eax, 0xf
jne 0x411a6c
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.004bf130
cmp dword [esp + 0x34], esi
jle 0x411a6c
mov dword [esp + 0x18], edi
mov ecx, ebx
call fcn.00470f00
mov ecx, eax
call fcn.004b9eb0
mov ecx, dword [ebp + 0x34]
push esi
push eax
call fcn.004b0b60
mov ecx, eax
call fcn.004b8050
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.005f3af0
cmp si, word [esp + 0x24]
movzx edi, si
mov byte [esp + 0x60], 3
mov dword [esp + 0x14], edi
jg 0x411d60
jmp 0x411ad0
movsx eax, di
cmp dword [esp + 0x70], eax
jne 0x411d50
mov eax, dword [ebp + 0x48]
mov edx, dword [eax + 0x30]
movzx ecx, di
cmp edx, ecx
jle 0x411b21
mov edx, dword [eax + 0x34]
mov esi, dword [edx + ecx*4]
lea eax, [edx + ecx*4]
test esi, esi
je 0x411b21
mov eax, dword [esi + 8]
test eax, eax
jne 0x411b1d
mov eax, dword [esi + 4]
and eax, 0x7f
mov dword [esp + 0x68], eax
call fcn.005018f0
mov ecx, dword [esp + 0x68]
mov eax, dword [eax + ecx*4 - 4]
push esi
mov ecx, eax
call fcn.00500ce0
mov ecx, eax
jmp 0x411b23
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.004b9ee0
mov dword [esp + 0x1c], eax
test eax, eax
je 0x411d50
mov ecx, dword [ebp + 0x48]
push edi
call fcn.004070e0
push edi
mov ecx, ebx
mov esi, eax
call fcn.004b53a0
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.004068b0
test eax, eax
je 0x411d50
mov eax, dword [esp + 0x48]
cmp dword [eax], 0
je 0x411d50
cmp dword [esp + 0x18], 1
jne 0x411cb9
mov ecx, dword [esp + 0x68]
mov esi, dword [ebp + 0x34]
push ecx
mov ecx, dword [esp + 0x20]
call fcn.004c0cd0
movzx edx, ax
push edx
mov ecx, esi
call fcn.004efc10
mov ecx, eax
call fcn.004c0720
test eax, eax
je 0x411d50
mov ecx, eax
call fcn.004bfe00
test eax, eax
je 0x411d50
xor eax, eax
cmp dword [esp + 0x34], eax
mov dword [esp + 0x1c], eax
jle 0x411cb9
mov ecx, dword [esp + 0x3c]
movzx edx, word [ecx + eax*2]
movsx eax, di
cmp eax, edx
jne 0x411c9b
mov ecx, dword [ebp + 0x48]
push edi
mov dword [esp + 0x24], 1
mov dword [esp + 0x6c], 0
call fcn.004070e0
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.004efc10
mov edx, dword [esi]
push eax
mov ecx, ebx
call edx
mov eax, dword [esp + 0x68]
test eax, eax
je 0x411c97
mov ecx, dword [eax + 4]
cmp cx, 1
jb 0x411c97
test cx, cx
je 0x411c97
xor edx, edx
xor esi, esi
cmp dx, cx
jae 0x411c85
mov edx, dword [eax + 8]
movzx ecx, si
mov ecx, dword [edx + ecx*4]
test ecx, ecx
je 0x411c7c
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.0040b6c0
mov eax, dword [esp + 0x68]
movzx ecx, word [eax + 4]
inc esi
cmp esi, ecx
jl 0x411c57
mov ecx, eax
mov esi, eax
call fcn.004bcf90
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 0x411be1
cmp dword [esp + 0x20], 0
jne 0x411d50
mov ecx, dword [ebp + 0x48]
push edi
mov dword [esp + 0x6c], 0
call fcn.004070e0
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.004efc10
mov edx, dword [esi]
push eax
mov ecx, ebx
call edx
mov eax, dword [esp + 0x68]
test eax, eax
je 0x411d50
mov ecx, dword [eax + 4]
xor edx, edx
xor esi, esi
cmp dx, cx
jae 0x411d3e
nop
mov edx, dword [eax + 8]
movzx ecx, si
mov ecx, dword [edx + ecx*4]
test ecx, ecx
je 0x411d35
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.0040b6c0
mov eax, dword [esp + 0x68]
movzx ecx, word [eax + 4]
inc esi
cmp esi, ecx
jl 0x411d10
mov ecx, eax
mov esi, eax
call fcn.004bcf90
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 0x411ad0
lea ecx, [esp + 0x40]
mov byte [esp + 0x60], 2
call fcn.005f3b00
lea ecx, [esp + 0x4c]
mov byte [esp + 0x60], 1
call fcn.005f3b00
lea ecx, [esp + 0x34]
mov dword [esp + 0x60], 0xffffffff
call fcn.005f3b00
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