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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x571ea7
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x59ad00]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push esi
push edi
mov eax, dword [0x59ad00]
xor eax, esp
push eax
lea eax, [esp + 0xf8]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov edx, dword [edi + 4]
mov esi, ecx
mov ecx, dword [edi]
mov dword [esp + 0x4c], edi
cmp ecx, edx
je 0x42475b
mov eax, edx
cmp edx, edx
je 0x424758
mov ebx, dword [eax]
mov dword [ecx], ebx
mov ebx, dword [eax + 4]
mov dword [ecx + 4], ebx
mov ebx, dword [eax + 8]
mov dword [ecx + 8], ebx
mov ebx, dword [eax + 0xc]
mov dword [ecx + 0xc], ebx
add eax, 0x10
add ecx, 0x10
cmp eax, edx
jne 0x424738
mov dword [edi + 4], ecx
mov ecx, esi
call fcn.004245d0
lea ebx, [esi + 0x90]
lea eax, [esi + 0x148]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], eax
mov ecx, esi
mov dword [esp + 0x100], 0
call fcn.00407840
mov ecx, dword [esi + 0xd0]
call fcn.00541a40
mov eax, dword [esi + 0x18c]
mov dword [esp + 0x14], eax
cmp eax, dword [esi + 0x190]
jae 0x4248ba
jmp 0x4247b4
mov eax, dword [esp + 0x14]
mov edi, dword [eax]
push 0x30
lea ecx, [esp + 0x90]
push 0
push ecx
call sub.MSVCR100.dll_memset
mov edx, dword [esi + 0x220]
lea ecx, [esi + 0x1d8]
lea ebx, [edi + edi*2]
add ebx, ebx
lea eax, [edx + ebx*8]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x68], eax
xor eax, eax
add esp, 0xc
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x70]
push eax
push edx
call fcn.004300d0
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 0x84]
push ecx
lea edx, [esp + 0x80]
push edx
push eax
lea ecx, [esi + 0x1d8]
call fcn.004300d0
lea ecx, [esp + 0x8c]
push ecx
lea edx, [esp + 0x80]
push edx
lea eax, [esp + 0x74]
push eax
lea eax, [esi + 0x1d8]
push edi
push eax
call fcn.00405010
fld1
add esp, 0xc
fstp qword [esp]
lea ecx, [esp + 0x94]
push ecx
call fcn.004025f0
fstp qword [esp + 4]
mov edx, dword [esi + 0x220]
mov eax, dword [edx + ebx*8 + 4]
mov ebx, dword [edx + ebx*8]
mov ecx, dword [esi + 0xd0]
add esp, 4
push eax
push ebx
push edi
call fcn.00541c40
mov eax, dword [esp + 0x14]
add eax, 4
mov dword [esp + 0x14], eax
cmp eax, dword [esi + 0x190]
jb 0x4247b0
mov edi, dword [esp + 0x4c]
mov ebx, dword [esp + 0x54]
mov eax, dword [esi + 0x1d4]
lea ecx, [esi + 0x1d8]
push eax
call fcn.00430110
lea ecx, [esp + 0x64]
push ecx
sub esp, 8
mov ecx, esi
fstp qword [esp]
call fcn.00401230
mov ecx, esi
test al, al
je 0x424919
push edi
push 1
call fcn.004144b0
mov esi, dword [ebx]
cmp esi, dword [ebx + 4]
je 0x424c29
mov eax, dword [esi]
test eax, eax
je 0x424906
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esi], 0
add esi, 4
cmp esi, dword [ebx + 4]
jne 0x4248f7
jmp 0x424c29
call fcn.00410060
fcom qword [esi + 0x28]
fnstsw ax
test ah, 5
jp 0x42492d
fstp qword [esi + 0x28]
jmp 0x42492f
fstp st(0)
mov ecx, esi
call fcn.00401290
xor ebx, ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
fld qword [esi + 0x28]
lea edx, [esp + 0x28]
push edx
push 1
sub esp, 8
mov ecx, esi
fstp qword [esp]
mov byte [esp + 0x110], 1
call fcn.00406e70
cmp eax, ebx
je 0x424995
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x424978
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esp + 0x54]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.00403740
or eax, 0xffffffff
jmp 0x424c3a
mov ebx, dword [esi + 0x74]
sub ebx, dword [esi + 0x70]
mov eax, dword [esi + 0x1ac]
sar ebx, 3
lea ecx, [esp + 0x4c]
push ecx
lea edx, [ebx + 0x1f]
mov dword [esp + 0x18], eax
xor eax, eax
shr edx, 5
push edx
lea ecx, [esp + 0x40]
mov dword [esp + 0x54], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
call fcn.00405cd0
mov dword [esp + 0x48], 0
push ebx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x104], 2
call fcn.00405a60
cmp dword [esi + 0x1a4], 2
jne 0x424a08
mov eax, dword [esp + 0x38]
xor ecx, ecx
and ecx, 0x1f
mov edx, 1
shl edx, cl
mov dword [esp + 0x4c], eax
or dword [eax], edx
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
fld qword [0x57b620]
lea eax, [esp + 0x18]
fst qword [esp + 0x6c]
push eax
fstp qword [esp + 0x78]
mov eax, dword [esp + 0x18]
push 1
lea ecx, [esp + 0x74]
push ecx
push 1
lea edx, [esp + 0x38]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x118], 4
call fcn.00417600
test eax, eax
je 0x424abd
mov eax, dword [esp + 0x18]
xor esi, esi
cmp eax, esi
je 0x424a62
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x38]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x48], esi
cmp eax, esi
je 0x424a83
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x28]
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
cmp eax, esi
je 0x424aa0
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esp + 0x54]
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
call fcn.00403740
or eax, 0xffffffff
jmp 0x424c3a
mov ecx, dword [esp + 0x18]
cmp ecx, dword [esp + 0x1c]
jne 0x424b31
xor esi, esi
cmp ecx, esi
je 0x424ad6
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x38]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x48], esi
cmp eax, esi
je 0x424af7
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x28]
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
cmp eax, esi
je 0x424b14
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esp + 0x54]
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
call fcn.00403740
or eax, 0xffffffff
jmp 0x424c3a
mov edx, dword [edi]
cmp edx, dword [edi + 4]
je 0x424b56
fld qword [0x57b8c8]
lea eax, [esp + 0x6c]
fst qword [esp + 0x6c]
push eax
mov ecx, edi
fstp qword [esp + 0x78]
call fcn.00408100
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x4c]
mov eax, dword [edi + 4]
push edx
mov edx, dword [esp + 0x20]
push edx
push ecx
push eax
mov ecx, edi
call fcn.00408a00
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esp + 0x40]
call fcn.00404e20
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov eax, 1
shl eax, cl
or dword [edx], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], 1
cmp ebx, 1
jg 0x424c64
mov eax, dword [esp + 0x18]
xor edi, edi
cmp eax, edi
je 0x424bb5
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x38]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x48], edi
cmp eax, edi
je 0x424bd6
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x28]
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
cmp eax, edi
je 0x424bf3
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov esi, dword [ebx]
cmp esi, dword [ebx + 4]
je 0x424c29
lea ebx, [ebx]
mov eax, dword [esi]
cmp eax, edi
je 0x424c1f
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esi], edi
add esi, 4
cmp esi, dword [ebx + 4]
jne 0x424c10
mov eax, dword [esp + 0x58]
fld qword [0x57b620]
fst qword [eax]
fstp qword [eax + 8]
xor eax, eax
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.00551a8e
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esp + 0x4c]
cmp dword [esi + 0x1a4], 2
jne 0x424c7d
lea ecx, [ebx - 1]
cmp dword [esp + 0x14], ecx
jne 0x424c7d
mov ecx, dword [esp + 0x38]
and dword [ecx], 0xfffffffe
push edi
lea edx, [esp + 0x3c]
push edx
push 1
push eax
mov ecx, esi
call fcn.00413900
mov ecx, eax
xor eax, eax
mov dword [esp + 0x4c], ecx
cmp ecx, eax
jl 0x424cf8
mov eax, dword [edi + 4]
lea edx, [esp + 0x18]
push edx
push 0
sub eax, 0x10
push eax
push 1
lea eax, [esp + 0x38]
push eax
push ecx
mov ecx, esi
call fcn.00417600
mov ecx, dword [esp + 0x18]
test eax, eax
jne 0x424d6a
cmp ecx, dword [esp + 0x1c]
je 0x424d6a
mov edx, dword [esp + 0x4c]
mov eax, dword [edi + 4]
push edx
mov edx, dword [esp + 0x20]
push edx
push ecx
push eax
mov ecx, edi
call fcn.00408a00
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, ebx
jl 0x424c60
jmp 0x424ba2
mov ecx, dword [esp + 0x18]
cmp ecx, eax
je 0x424d0b
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x48], eax
cmp ecx, eax
je 0x424d2e
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
cmp ecx, eax
je 0x424d4d
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
lea ecx, [esp + 0x54]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
call fcn.00403740
or eax, 0xffffffff
jmp 0x424c3a
xor esi, esi
cmp ecx, esi
je 0x424d79
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x38]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x48], esi
cmp eax, esi
je 0x424d9a
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x28]
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
cmp eax, esi
je 0x424db7
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esp + 0x54]
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
call fcn.00403740
or eax, 0xffffffff
jmp 0x424c3a