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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x571ff0
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x59ad00]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [edi + 0x594]
sub ecx, dword [edi + 0x590]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov esi, edx
shr esi, 0x1f
add esi, edx
lea eax, [esp + 0x18]
lea ecx, [esi + 0x1f]
shr ecx, 5
xor ebx, ebx
push eax
push ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
call fcn.00405cd0
mov dword [esp + 0x40], ebx
push esi
lea ecx, [esp + 0x34]
mov dword [esp + 0x84], ebx
call fcn.00405a60
mov ebx, dword [edi + 0x580]
mov dword [esp + 0x80], 1
mov dword [esp + 0x14], ebx
cmp ebx, dword [edi + 0x584]
je 0x427295
xor eax, eax
mov dword [esp + 0x18], eax
mov eax, dword [ebx + eax*4]
test eax, eax
jns 0x427122
mov edx, eax
neg edx
je 0x427122
mov esi, dword [esp + 0x30]
or ecx, 0xffffffff
sub ecx, eax
shr ecx, 5
lea edx, [ecx*4 + 4]
sub esi, edx
jmp 0x42712e
mov edx, dword [esp + 0x30]
mov ecx, eax
shr ecx, 5
lea esi, [edx + ecx*4]
mov edx, eax
and edx, 0x1f
mov ebx, 1
mov ecx, edx
shl ebx, cl
test dword [esi], ebx
jne 0x42726c
test eax, eax
jns 0x427165
mov ecx, eax
neg ecx
je 0x427165
mov esi, dword [esp + 0x30]
or ecx, 0xffffffff
sub ecx, eax
shr ecx, 5
lea ecx, [ecx*4 + 4]
sub esi, ecx
jmp 0x427171
mov esi, dword [esp + 0x30]
mov ecx, eax
shr ecx, 5
lea esi, [esi + ecx*4]
mov ecx, edx
mov ebx, 1
shl ebx, cl
lea edx, [eax + eax*2]
or dword [esi], ebx
mov eax, dword [edi + 0x590]
cmp dword [eax + edx*8 + 0x10], 3
lea esi, [eax + edx*8]
jne 0x42726c
fld qword [ebp + 0xc]
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x1c]
push ecx
sub esp, 8
fstp qword [esp]
xor eax, eax
push edx
push esi
mov ecx, edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
call fcn.00423460
mov ebx, dword [esp + 0x14]
test al, al
je 0x427270
mov eax, dword [edi + 0x590]
mov ecx, dword [ebx + 4]
lea ecx, [ecx + ecx*2]
lea edx, [eax + ecx*8]
mov ecx, dword [ebx]
push edx
lea ecx, [ecx + ecx*2]
lea edx, [eax + ecx*8]
push edx
push esi
lea eax, [esp + 0x28]
push eax
mov ecx, edi
call fcn.00420300
test al, al
je 0x427270
mov ecx, dword [ebp + 0x14]
push ecx
push ebx
push esi
lea edx, [esp + 0x28]
push edx
mov ecx, edi
call fcn.00426e30
test al, al
je 0x427270
mov eax, dword [ebx + 8]
mov ecx, dword [ebp + 0x14]
mov dword [edi + 0x1ac], eax
mov eax, dword [ecx + 4]
fld qword [eax - 0x18]
fld qword [eax - 0x20]
mov eax, dword [esp + 0x30]
fstp qword [edi + 0x148]
fstp qword [edi + 0x150]
fld qword [edi + 0x150]
fld qword [edi + 0x148]
fstp qword [edi + 0x1b0]
fstp qword [edi + 0x1b8]
test eax, eax
je 0x427255
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cmp eax, 2
jl 0x4270fe
add ebx, 0xc
mov dword [esp + 0x14], ebx
cmp ebx, dword [edi + 0x584]
jne 0x4270f8
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4272a6
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor al, al
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10