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

Disassembly:
push 0xffffffffffffffff
push 0x53e51f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x94
mov eax, dword [esp + 0xa4]
push ebx
mov ebx, dword [esp + 0xb0]
push ebp
mov eax, dword [eax + 0x40]
push esi
mov ecx, dword [ebx + 0x40]
push edi
mov edi, dword [esp + 0xb8]
xor ebp, ebp
mov edx, dword [edi + 4]
sub eax, edx
mov edx, dword [edi]
sub eax, ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x3c]
test eax, eax
jle 0x4e8c35
lea edi, [edx + edx]
xor eax, eax
test ecx, ecx
jle 0x4e8c1f
mov ecx, dword [esp + 0x1c]
lea edx, [ecx*4]
mov esi, dword [esp + 0xb4]
mov ecx, dword [ebx + 0x38]
add edx, 4
mov esi, dword [esi + 0x38]
mov ecx, dword [ecx + eax*4]
inc eax
mov esi, dword [edx + esi - 4]
mov cx, word [ecx + ebp*2]
mov word [esi + edi], cx
mov ecx, dword [ebx + 0x40]
cmp eax, ecx
jl 0x4e8bf8
mov eax, dword [ebx + 0x3c]
inc ebp
add edi, 2
cmp ebp, eax
jl 0x4e8be7
mov edi, dword [esp + 0xb8]
mov edx, dword [esp + 0x24]
mov eax, dword [ebx + 0x64]
test eax, eax
jle 0x4e8c97
mov ecx, dword [ebx + 0x68]
test ecx, ecx
jle 0x4e8c97
xor ebp, ebp
test eax, eax
jle 0x4e8c97
shl edx, 3
xor eax, eax
test ecx, ecx
jle 0x4e8c85
mov ecx, dword [esp + 0x1c]
lea esi, [ecx*4]
mov ecx, dword [esp + 0xb4]
mov edi, dword [ebx + 0x60]
add esi, 4
mov ecx, dword [ecx + 0x60]
mov edi, dword [edi + eax*4]
inc eax
mov ecx, dword [ecx + esi - 4]
fld dword [edi + ebp*8]
fadd dword [ecx + edx]
fstp dword [ecx + edx]
mov ecx, dword [ebx + 0x68]
cmp eax, ecx
jl 0x4e8c5d
mov eax, dword [ebx + 0x64]
inc ebp
add edx, 8
cmp ebp, eax
jl 0x4e8c4c
mov edi, dword [esp + 0xb8]
mov ecx, dword [ebx + 0x48]
mov edx, dword [ebx + 0x44]
sub ecx, edx
mov eax, 0xdd67c8a7
imul ecx
add edx, ecx
mov dword [esp + 0x1c], 0
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
je 0x4e8e48
mov ebp, dword [esp + 0xb4]
mov dword [esp + 0x10], 0
jmp 0x4e8cd8
mov ebp, dword [esp + 0xb4]
mov eax, dword [ebx + 0x44]
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 0x4c]
lea esi, [ebp + 0x44]
add ecx, eax
mov eax, dword [esi + 4]
cmp eax, edx
je 0x4e8d05
push ecx
push eax
call fcn.004fb9a0
mov eax, dword [esi + 4]
add esp, 8
add eax, 0x94
mov dword [esi + 4], eax
jmp 0x4e8d17
push 1
lea edx, [esp + 0x1b]
push 1
push edx
push ecx
push eax
mov ecx, esi
call fcn.004f6810
mov ecx, dword [ebp + 0x48]
mov eax, 0x2aaaaaab
xor ebp, ebp
mov edx, dword [ecx - 0xc]
mov esi, dword [ecx - 0x10]
sub edx, esi
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
je 0x4e8d7f
xor esi, esi
fild dword [edi]
mov eax, dword [ecx - 0x10]
inc ebp
add esi, 0xc
fmul dword [0x5828cc]
fadd dword [eax + esi - 0xc]
fstp dword [eax + esi - 0xc]
fild dword [edi + 4]
mov eax, dword [ecx - 0x10]
fmul dword [0x5828cc]
fadd dword [eax + esi - 8]
fstp dword [eax + esi - 8]
mov edx, dword [ecx - 0xc]
mov eax, dword [ecx - 0x10]
sub edx, eax
mov eax, 0x2aaaaaab
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp ebp, edx
jb 0x4e8d38
mov edx, dword [ecx - 0x18]
mov esi, dword [ecx - 0x1c]
sub edx, esi
mov eax, 0x66666667
imul edx
sar edx, 4
mov eax, edx
xor ebp, ebp
shr eax, 0x1f
add edx, eax
je 0x4e8de6
xor esi, esi
fild dword [edi]
mov eax, dword [ecx - 0x1c]
inc ebp
add esi, 0x28
fmul dword [0x5828cc]
fadd dword [eax + esi - 0x28]
fstp dword [eax + esi - 0x28]
fild dword [edi + 4]
mov eax, dword [ecx - 0x1c]
fmul dword [0x5828cc]
fadd dword [eax + esi - 0x24]
fstp dword [eax + esi - 0x24]
mov edx, dword [ecx - 0x18]
mov eax, dword [ecx - 0x1c]
sub edx, eax
mov eax, 0x66666667
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp ebp, edx
jb 0x4e8d9e
mov edx, dword [esp + 0xb4]
mov esi, dword [edx + 0x48]
lea eax, [edx + 0x44]
mov edx, dword [edx + 0x44]
mov eax, 0xdd67c8a7
sub esi, edx
imul esi
add edx, esi
mov esi, dword [esp + 0x1c]
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
inc esi
mov dword [ecx - 4], edx
mov ecx, dword [esp + 0x10]
mov eax, dword [ebx + 0x44]
add ecx, 0x94
mov dword [esp + 0x10], ecx
mov ecx, dword [ebx + 0x48]
sub ecx, eax
mov eax, 0xdd67c8a7
imul ecx
add edx, ecx
mov dword [esp + 0x1c], esi
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
cmp esi, edx
jb 0x4e8cd1
mov ecx, dword [ebx + 0x54]
mov edx, dword [ebx + 0x50]
sub ecx, edx
mov eax, 0xdd67c8a7
imul ecx
add edx, ecx
mov dword [esp + 0x1c], 0
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
je 0x4e8ff9
mov ebp, dword [esp + 0xb4]
mov dword [esp + 0x10], 0
jmp 0x4e8e89
mov ebp, dword [esp + 0xb4]
mov eax, dword [ebx + 0x50]
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 0x58]
lea esi, [ebp + 0x50]
add ecx, eax
mov eax, dword [esi + 4]
cmp eax, edx
je 0x4e8eb6
push ecx
push eax
call fcn.004fb9a0
mov eax, dword [esi + 4]
add esp, 8
add eax, 0x94
mov dword [esi + 4], eax
jmp 0x4e8ec8
push 1
lea edx, [esp + 0x1b]
push 1
push edx
push ecx
push eax
mov ecx, esi
call fcn.004f6810
mov ecx, dword [ebp + 0x54]
mov eax, 0x2aaaaaab
xor ebp, ebp
mov edx, dword [ecx - 0xc]
mov esi, dword [ecx - 0x10]
sub edx, esi
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
je 0x4e8f30
xor esi, esi
fild dword [edi]
mov eax, dword [ecx - 0x10]
inc ebp
add esi, 0xc
fmul dword [0x5828cc]
fadd dword [eax + esi - 0xc]
fstp dword [eax + esi - 0xc]
fild dword [edi + 4]
mov eax, dword [ecx - 0x10]
fmul dword [0x5828cc]
fadd dword [eax + esi - 8]
fstp dword [eax + esi - 8]
mov edx, dword [ecx - 0xc]
mov eax, dword [ecx - 0x10]
sub edx, eax
mov eax, 0x2aaaaaab
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp ebp, edx
jb 0x4e8ee9
mov edx, dword [ecx - 0x18]
mov esi, dword [ecx - 0x1c]
sub edx, esi
mov eax, 0x66666667
imul edx
sar edx, 4
mov eax, edx
xor ebp, ebp
shr eax, 0x1f
add edx, eax
je 0x4e8f97
xor esi, esi
fild dword [edi]
mov eax, dword [ecx - 0x1c]
inc ebp
add esi, 0x28
fmul dword [0x5828cc]
fadd dword [eax + esi - 0x28]
fstp dword [eax + esi - 0x28]
fild dword [edi + 4]
mov eax, dword [ecx - 0x1c]
fmul dword [0x5828cc]
fadd dword [eax + esi - 0x24]
fstp dword [eax + esi - 0x24]
mov edx, dword [ecx - 0x18]
mov eax, dword [ecx - 0x1c]
sub edx, eax
mov eax, 0x66666667
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp ebp, edx
jb 0x4e8f4f
mov edx, dword [esp + 0xb4]
mov esi, dword [edx + 0x54]
lea eax, [edx + 0x50]
mov edx, dword [edx + 0x50]
mov eax, 0xdd67c8a7
sub esi, edx
imul esi
add edx, esi
mov esi, dword [esp + 0x1c]
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
inc esi
mov dword [ecx - 4], edx
mov ecx, dword [esp + 0x10]
mov eax, dword [ebx + 0x50]
add ecx, 0x94
mov dword [esp + 0x10], ecx
mov ecx, dword [ebx + 0x54]
sub ecx, eax
mov eax, 0xdd67c8a7
imul ecx
add edx, ecx
mov dword [esp + 0x1c], esi
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
cmp esi, edx
jb 0x4e8e82
mov eax, dword [esp + 0xb4]
xor esi, esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], esi
mov edx, dword [eax + 0x3c]
mov ecx, dword [eax + 0x40]
mov dword [esp + 0x74], edx
lea edx, [esp + 0x6c]
push edx
push eax
mov dword [esp + 0x80], ecx
call fcn.00502ca0
mov ebp, eax
add esp, 8
mov dword [esp + 0x2c], ebp
lea eax, [esp + 0x81]
lea ecx, [esp + 0x7f]
push eax
lea edx, [esp + 0x67]
push ecx
push edx
push 0x64
lea ecx, [esp + 0x44]
mov dword [esp + 0xbc], esi
call fcn.00475e30
mov ecx, dword [ebx + 0x70]
mov eax, dword [ebx + 0x6c]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
mov dword [esp + 0xac], 1
sar edx, 5
mov eax, edx
mov dword [esp + 0x18], ebp
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x10], esi
je 0x4e9140
xor ebp, ebp
mov eax, dword [ebx + 0x6c]
mov edx, dword [0x548f1c]
mov ecx, dword [eax + ebp + 0x2c]
cmp ecx, edx
je 0x4e9104
lea edx, [esp + 0x34]
lea esi, [eax + ebp + 0x2c]
push edx
push esi
lea ecx, [esp + 0x3c]
call fcn.00441410
push eax
lea ecx, [esp + 0x74]
call fcn.0043edd0
lea eax, [esp + 0x34]
lea ecx, [esp + 0x48]
push eax
push 0
call fcn.0043edd0
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x48]
cmp eax, ecx
jne 0x4e90f9
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], 0
push ecx
push esi
lea ecx, [esp + 0x58]
call fcn.004f70c0
push eax
lea ecx, [esp + 0x38]
call fcn.004557c0
add eax, 4
jmp 0x4e90fc
add eax, 8
mov edx, dword [esp + 0x18]
xor esi, esi
mov dword [eax], edx
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
inc edx
inc ecx
mov dword [esp + 0x18], edx
mov edx, dword [ebx + 0x6c]
mov dword [esp + 0x10], ecx
mov ecx, dword [ebx + 0x70]
sub ecx, edx
mov eax, 0x92492493
imul ecx
add edx, ecx
add ebp, 0x38
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0x10]
cmp eax, edx
jb 0x4e9089
mov ecx, dword [ebx + 0x7c]
mov edx, dword [ebx + 0x78]
sub ecx, edx
mov eax, 0x92492493
imul ecx
add edx, ecx
mov dword [esp + 0x1c], esi
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
je 0x4e9218
xor ebp, ebp
mov eax, dword [ebx + 0x78]
mov ecx, dword [0x548f1c]
mov edx, dword [eax + ebp + 0x2c]
cmp edx, ecx
je 0x4e91e0
lea esi, [eax + ebp + 0x2c]
lea eax, [esp + 0x34]
push eax
push esi
lea ecx, [esp + 0x3c]
call fcn.00441410
push eax
lea ecx, [esp + 0x74]
call fcn.0043edd0
lea ecx, [esp + 0x34]
push ecx
push 0
lea ecx, [esp + 0x50]
call fcn.0043edd0
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x48]
cmp eax, ecx
jne 0x4e91d7
lea edx, [esp + 0x24]
lea ecx, [esp + 0x50]
push edx
push esi
mov dword [esp + 0x2c], 0
call fcn.004f70c0
push eax
lea ecx, [esp + 0x38]
call fcn.004557c0
add eax, 4
jmp 0x4e91da
add eax, 8
mov ecx, dword [esp + 0x18]
mov dword [eax], ecx
mov edx, dword [esp + 0x18]
mov ecx, dword [ebx + 0x7c]
inc edx
mov eax, 0x92492493
mov dword [esp + 0x18], edx
mov edx, dword [ebx + 0x78]
sub ecx, edx
mov esi, dword [esp + 0x1c]
imul ecx
add edx, ecx
inc esi
sar edx, 5
mov eax, edx
add ebp, 0x38
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x1c], esi
cmp esi, edx
jb 0x4e9167
mov ecx, dword [esp + 0x2c]
mov edx, dword [ebx + 0x6c]
mov dword [esp + 0x18], ecx
mov ecx, dword [ebx + 0x70]
sub ecx, edx
mov eax, 0x92492493
imul ecx
add edx, ecx
mov dword [esp + 0x1c], 0
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
je 0x4e9395
mov ecx, dword [esp + 0xb4]
mov dword [esp + 0x10], 0
add ecx, 0x6c
mov dword [esp + 0x2c], ecx
mov esi, dword [esp + 0x2c]
mov ebp, dword [ebx + 0x6c]
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
add ebp, edx
cmp eax, ecx
je 0x4e92a5
mov dword [esp + 0x48], eax
mov dword [esp + 0x50], eax
test eax, eax
mov byte [esp + 0xac], 2
je 0x4e9292
push ebp
mov ecx, eax
call fcn.004cb9f0
mov eax, dword [esi + 4]
mov byte [esp + 0xac], 1
add eax, 0x38
mov dword [esi + 4], eax
jmp 0x4e92b7
push 1
lea ecx, [esp + 0x1b]
push 1
push ecx
push ebp
push eax
mov ecx, esi
call fcn.004ce590
mov eax, dword [edi]
mov edx, dword [esp + 0xb4]
shl eax, 6
mov esi, dword [edx + 0x70]
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x34]
add ebp, 0x34
push eax
fadd dword [esi - 0x2c]
push ebp
fstp dword [esi - 0x2c]
mov ecx, dword [edi + 4]
mov dword [esi - 0xc], edx
shl ecx, 6
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x3c]
fild dword [esp + 0x2c]
fadd dword [esi - 0x28]
fstp dword [esi - 0x28]
call fcn.00441410
push eax
lea ecx, [esp + 0x74]
call fcn.0043edd0
lea ecx, [esp + 0x34]
push ecx
push 0
lea ecx, [esp + 0x60]
call fcn.0043edd0
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x58]
cmp eax, ecx
jne 0x4e934d
lea edx, [esp + 0x20]
lea ecx, [esp + 0x64]
push edx
push ebp
mov dword [esp + 0x28], 0
call fcn.004f70c0
push eax
lea ecx, [esp + 0x38]
call fcn.004557c0
add eax, 4
jmp 0x4e9350
add eax, 8
mov ecx, dword [esp + 0x10]
mov eax, dword [eax]
add ecx, 0x38
mov dword [esi - 4], eax
mov eax, dword [ebx + 0x6c]
mov dword [esp + 0x10], ecx
mov ecx, dword [ebx + 0x70]
mov esi, dword [esp + 0x18]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
inc esi
sar edx, 5
mov ecx, edx
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x1c]
shr ecx, 0x1f
inc esi
add edx, ecx
cmp esi, edx
mov dword [esp + 0x1c], esi
jb 0x4e925f
mov ecx, dword [ebx + 0x7c]
mov edx, dword [ebx + 0x78]
sub ecx, edx
mov eax, 0x92492493
imul ecx
add edx, ecx
mov dword [esp + 0x1c], 0
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
je 0x4e950a
mov ecx, dword [esp + 0xb4]
mov dword [esp + 0x10], 0
add ecx, 0x78
mov dword [esp + 0x20], ecx
mov esi, dword [esp + 0x20]
mov ebp, dword [ebx + 0x78]
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
add ebp, edx
cmp eax, ecx
je 0x4e941a
mov dword [esp + 0x48], eax
mov dword [esp + 0x50], eax
test eax, eax
mov byte [esp + 0xac], 3
je 0x4e9407
push ebp
mov ecx, eax
call fcn.004cb9f0
mov eax, dword [esi + 4]
mov byte [esp + 0xac], 1
add eax, 0x38
mov dword [esi + 4], eax
jmp 0x4e942c
push 1
lea ecx, [esp + 0x1b]
push 1
push ecx
push ebp
push eax
mov ecx, esi
call fcn.004ce590
mov eax, dword [edi]
mov edx, dword [esp + 0xb4]
shl eax, 6
mov esi, dword [edx + 0x7c]
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x34]
add ebp, 0x34
push eax
fadd dword [esi - 0x2c]
push ebp
fstp dword [esi - 0x2c]
mov ecx, dword [edi + 4]
mov dword [esi - 0xc], edx
shl ecx, 6
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x3c]
fild dword [esp + 0x34]
fadd dword [esi - 0x28]
fstp dword [esi - 0x28]
call fcn.00441410
push eax
lea ecx, [esp + 0x74]
call fcn.0043edd0
lea ecx, [esp + 0x34]
push ecx
push 0
lea ecx, [esp + 0x60]
call fcn.0043edd0
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x58]
cmp eax, ecx
jne 0x4e94c2
lea edx, [esp + 0x24]
lea ecx, [esp + 0x64]
push edx
push ebp
mov dword [esp + 0x2c], 0
call fcn.004f70c0
push eax
lea ecx, [esp + 0x38]
call fcn.004557c0
add eax, 4
jmp 0x4e94c5
add eax, 8
mov ecx, dword [esp + 0x10]
mov eax, dword [eax]
add ecx, 0x38
mov dword [esi - 4], eax
mov eax, dword [ebx + 0x78]
mov dword [esp + 0x10], ecx
mov ecx, dword [ebx + 0x7c]
mov esi, dword [esp + 0x18]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
inc esi
sar edx, 5
mov ecx, edx
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x1c]
shr ecx, 0x1f
inc esi
add edx, ecx
cmp esi, edx
mov dword [esp + 0x1c], esi
jb 0x4e93d4
mov ecx, dword [ebx + 0x88]
mov eax, dword [ebx + 0x84]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
mov dword [esp + 0x18], 0
shr eax, 0x1f
add edx, eax
je 0x4e96ed
mov dword [esp + 0x10], 0
mov edi, dword [esp + 0xb4]
mov eax, dword [ebx + 0x84]
mov ecx, dword [esp + 0x10]
mov edx, dword [edi + 0x8c]
lea esi, [edi + 0x84]
add ecx, eax
mov eax, dword [esi + 4]
mov dword [esp + 0x20], ecx
cmp eax, edx
je 0x4e9597
mov dword [esp + 0x48], eax
mov dword [esp + 0x50], eax
test eax, eax
mov byte [esp + 0xac], 4
je 0x4e9584
push ecx
mov ecx, eax
call fcn.004fd7e0
mov eax, dword [esi + 4]
mov byte [esp + 0xac], 1
add eax, 0xc
mov dword [esi + 4], eax
jmp 0x4e95a9
push 1
lea edx, [esp + 0x1b]
push 1
push edx
push ecx
push eax
mov ecx, esi
call fcn.004ce770
mov ebp, dword [edi + 0x88]
mov eax, 0x2aaaaaab
mov dword [esp + 0x1c], 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
sub edx, ecx
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
je 0x4e96ac
xor esi, esi
mov edx, dword [ecx + esi + 4]
mov eax, dword [ecx + esi]
sub edx, eax
xor edi, edi
sar edx, 2
je 0x4e9680
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x38]
mov eax, dword [eax]
mov eax, dword [eax + esi]
lea ebx, [eax + edi*4]
push ebx
call fcn.00441410
push eax
lea ecx, [esp + 0x74]
call fcn.0043edd0
lea edx, [esp + 0x34]
lea ecx, [esp + 0x58]
push edx
push 0
call fcn.0043edd0
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x58]
cmp eax, ecx
jne 0x4e9652
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x64]
push eax
push ebx
mov dword [esp + 0x34], 0
call fcn.004f70c0
push eax
lea ecx, [esp + 0x38]
call fcn.004557c0
add eax, 4
jmp 0x4e9655
add eax, 8
mov ecx, dword [ebp - 0xc]
mov edx, dword [eax]
inc edi
mov ecx, dword [ecx + esi]
mov dword [ecx + edi*4 - 4], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + esi + 4]
mov ebx, dword [eax + esi]
sub ecx, ebx
sar ecx, 2
cmp edi, ecx
jb 0x4e95eb
mov ebx, dword [esp + 0xbc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
sub edx, ecx
mov eax, 0x2aaaaaab
imul edx
mov edi, dword [esp + 0x1c]
add esi, 0xc
sar edx, 1
mov eax, edx
inc edi
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x1c], edi
cmp edi, edx
jb 0x4e95d7
mov ecx, dword [ebx + 0x88]
mov edx, dword [ebx + 0x84]
sub ecx, edx
mov eax, 0x2aaaaaab
imul ecx
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
sar edx, 1
mov ecx, edx
inc esi
shr ecx, 0x1f
add edx, ecx
add edi, 0xc
cmp esi, edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], edi
jb 0x4e953e
mov edi, dword [esp + 0xb8]
mov ecx, dword [ebx + 0x94]
mov edx, dword [ebx + 0x90]
sub ecx, edx
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
xor esi, esi
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x1c], esi
je 0x4e986c
mov ebp, dword [esp + 0xb4]
mov dword [esp + 0x10], esi
jmp 0x4e972b
mov ebp, dword [esp + 0xb4]
mov eax, dword [ebx + 0x90]
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 0x98]
lea esi, [ebp + 0x90]
add ecx, eax
mov eax, dword [esi + 4]
mov dword [esp + 0x20], ecx
cmp eax, edx
je 0x4e977d
mov dword [esp + 0x48], eax
mov dword [esp + 0x50], eax
test eax, eax
mov byte [esp + 0xac], 5
je 0x4e976a
push ecx
mov ecx, eax
call fcn.004499a0
mov eax, dword [esi + 4]
mov byte [esp + 0xac], 1
add eax, 0xc
mov dword [esi + 4], eax
jmp 0x4e978f
push 1
lea edx, [esp + 0x1b]
push 1
push edx
push ecx
push eax
mov ecx, esi
call fcn.004ce1c0
mov eax, dword [ebp + 0x94]
xor esi, esi
mov dword [esp + 0x24], eax
mov ecx, dword [eax - 8]
mov edx, dword [eax - 0xc]
sub ecx, edx
sar ecx, 2
je 0x4e9832
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x34]
mov eax, dword [edx]
lea ebp, [eax + esi*4]
lea eax, [esp + 0x34]
push eax
push ebp
call fcn.00441410
push eax
lea ecx, [esp + 0x74]
call fcn.0043edd0
lea ecx, [esp + 0x34]
push ecx
push 0
lea ecx, [esp + 0x60]
call fcn.0043edd0
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x58]
cmp eax, ecx
jne 0x4e9810
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x64]
push edx
push ebp
mov dword [esp + 0x34], 0
call fcn.004f70c0
push eax
lea ecx, [esp + 0x38]
call fcn.004557c0
add eax, 4
jmp 0x4e9813
add eax, 8
mov ecx, dword [esp + 0x24]
mov eax, dword [eax]
inc esi
mov edx, dword [ecx - 0xc]
mov dword [edx + esi*4 - 4], eax
mov edx, dword [ecx - 8]
sub edx, dword [ecx - 0xc]
sar edx, 2
cmp esi, edx
jb 0x4e97ac
mov ecx, dword [ebx + 0x94]
mov edx, dword [ebx + 0x90]
sub ecx, edx
mov eax, 0x2aaaaaab
imul ecx
mov esi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x10]
sar edx, 1
mov eax, edx
inc esi
shr eax, 0x1f
add edx, eax
add ebp, 0xc
cmp esi, edx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x10], ebp
jb 0x4e9724
lea ecx, [esp + 0x6c]
lea esi, [ebx + 0x9c]
push ecx
mov ecx, esi
xor ebp, ebp
call fcn.004184f0
mov dl, byte [esp + 0x63]
mov ecx, dword [esp + 0x70]
lea eax, [esp + 0x17]
mov byte [esp + 0x17], dl
mov edx, dword [esp + 0x6c]
push eax
mov eax, dword [esp + 0xb8]
push esi
push ebp
push ecx
push edx
lea ecx, [eax + 0x9c]
call fcn.004fffb0
mov ecx, dword [ebx + 0xc0]
mov edx, dword [ebx + 0xbc]
sub ecx, edx
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
je 0x4e999f
mov edx, dword [esp + 0xb4]
mov dword [esp + 0x10], ebp
lea esi, [edx + 0xbc]
mov eax, dword [ebx + 0xbc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 8]
add ecx, eax
mov eax, dword [esi + 4]
cmp eax, edx
je 0x4e9926
mov dword [esp + 0x48], eax
mov dword [esp + 0x50], eax
test eax, eax
mov byte [esp + 0xac], 6
je 0x4e9913
push ecx
mov ecx, eax
call fcn.004fd8b0
mov eax, dword [esi + 4]
mov byte [esp + 0xac], 1
add eax, 0x24
mov dword [esi + 4], eax
jmp 0x4e9938
push 1
lea edx, [esp + 0x1b]
push 1
push edx
push ecx
push eax
mov ecx, esi
call fcn.004ce990
mov ecx, dword [edi]
mov eax, dword [esp + 0xb4]
shl ecx, 6
mov eax, dword [eax + 0xc0]
mov dword [esp + 0x20], ecx
fild dword [esp + 0x20]
fadd dword [eax - 0x14]
fstp dword [eax - 0x14]
mov edx, dword [edi + 4]
shl edx, 6
mov dword [esp + 0x20], edx
inc ebp
fild dword [esp + 0x20]
fadd dword [eax - 0x10]
fstp dword [eax - 0x10]
mov eax, dword [esp + 0x10]
mov ecx, dword [ebx + 0xc0]
mov edx, dword [ebx + 0xbc]
add eax, 0x24
mov dword [esp + 0x10], eax
sub ecx, edx
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp ebp, edx
jb 0x4e98e1
mov eax, dword [ebx + 0x108]
mov ecx, dword [eax]
cmp ecx, eax
mov dword [esp + 0x18], ecx
je 0x4e9b28
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0xb4]
lea eax, [ecx + 8]
lea esi, [edx + 0x108]
push eax
push ecx
push esp
mov ecx, esi
call fcn.00513c50
lea eax, [esp + 0x50]
mov ecx, esi
push eax
call fcn.004ca060
mov esi, dword [esi]
xor ebp, ebp
mov esi, dword [esi + 4]
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
sub ecx, edx
sar ecx, 2
je 0x4e9a77
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x34]
mov eax, dword [edx + 0xc]
lea edi, [eax + ebp*4]
lea eax, [esp + 0x34]
push eax
push edi
call fcn.00441410
push eax
lea ecx, [esp + 0x60]
call fcn.0043edd0
lea ecx, [esp + 0x34]
push ecx
push 0
lea ecx, [esp + 0x6c]
call fcn.0043edd0
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x64]
cmp eax, ecx
jne 0x4e9a55
mov edx, dword [edi]
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], 0
call fcn.004557c0
add eax, 4
jmp 0x4e9a58
add eax, 8
mov ecx, dword [esi + 0xc]
mov edx, dword [eax]
mov dword [ecx + ebp*4], edx
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0xc]
inc ebp
sub eax, edi
sar eax, 2
cmp ebp, eax
jb 0x4e99f5
mov edi, dword [esp + 0xb8]
mov ecx, dword [esi + 0x18]
mov eax, dword [0x548f1c]
cmp ecx, eax
je 0x4e9ae9
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x38]
lea ebp, [edx + 0x18]
push ebp
call fcn.00441410
push eax
lea ecx, [esp + 0x34]
call fcn.0043edd0
lea ecx, [esp + 0x34]
push ecx
push 0
lea ecx, [esp + 0x2c]
call fcn.0043edd0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
cmp eax, ecx
jne 0x4e9ae1
mov edx, dword [ebp]
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], 0
call fcn.004557c0
add eax, 4
jmp 0x4e9ae4
add eax, 8
mov ecx, dword [eax]
mov dword [esi + 0x18], ecx
mov edx, dword [edi]
mov ecx, dword [esp + 0x18]
shl edx, 6
mov dword [esp + 0x20], edx
fild dword [esp + 0x20]
fadd dword [esi + 0x1c]
fstp dword [esi + 0x1c]
mov eax, dword [edi + 4]
shl eax, 6
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fadd dword [esi + 0x20]
fstp dword [esi + 0x20]
mov eax, dword [ecx]
mov ecx, dword [ebx + 0x108]
cmp eax, ecx
mov dword [esp + 0x18], eax
jne 0x4e99b3
mov eax, dword [ebx + 0x10c]
mov ecx, dword [eax]
cmp ecx, eax
mov dword [esp + 0x18], ecx
je 0x4e9c88
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0xb4]
lea ebp, [edx + 8]
lea esi, [eax + 0x10c]
push ebp
push ecx
push esp
mov ecx, esi
call fcn.00513c50
lea ecx, [esp + 0x50]
push ecx
mov ecx, esi
call fcn.004ca0c0
mov esi, dword [esi]
mov eax, dword [0x548f1c]
mov esi, dword [esi + 4]
mov edx, dword [esi + 8]
cmp edx, eax
je 0x4e9bd6
lea eax, [esp + 0x34]
lea ecx, [esp + 0x34]
push eax
push ebp
call fcn.00441410
push eax
lea ecx, [esp + 0x60]
call fcn.0043edd0
lea ecx, [esp + 0x34]
push ecx
push 0
lea ecx, [esp + 0x6c]
call fcn.0043edd0
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x64]
cmp eax, ecx
jne 0x4e9bce
mov edx, dword [ebp]
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], 0
call fcn.004557c0
add eax, 4
jmp 0x4e9bd1
add eax, 8
mov ecx, dword [eax]
mov dword [esi + 8], ecx
mov edx, dword [0x548f1c]
mov eax, dword [esi + 0xc]
cmp eax, edx
je 0x4e9c49
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x38]
lea ebp, [eax + 0xc]
push ebp
call fcn.00441410
push eax
lea ecx, [esp + 0x34]
call fcn.0043edd0
lea edx, [esp + 0x34]
lea ecx, [esp + 0x24]
push edx
push 0
call fcn.0043edd0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
cmp eax, ecx
jne 0x4e9c41
mov eax, dword [ebp]
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], 0
call fcn.004557c0
add eax, 4
jmp 0x4e9c44
add eax, 8
mov edx, dword [eax]
mov dword [esi + 0xc], edx
mov eax, dword [edi]
mov edx, dword [esp + 0x18]
shl eax, 6
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fadd dword [esi + 0x10]
fstp dword [esi + 0x10]
mov ecx, dword [edi + 4]
shl ecx, 6
mov dword [esp + 0x20], ecx
fild dword [esp + 0x20]
fadd dword [esi + 0x14]
fstp dword [esi + 0x14]
mov eax, dword [edx]
mov ecx, dword [ebx + 0x10c]
cmp eax, ecx
mov dword [esp + 0x18], eax
jne 0x4e9b3c
mov esi, dword [ebx + 0x110]
mov eax, dword [ebx + 0x114]
cmp esi, eax
je 0x4e9d78
mov ecx, dword [esp + 0xb4]
lea eax, [esi + 0xc]
mov dword [esp + 0x10], eax
mov ebp, dword [ecx + 0x114]
lea eax, [ecx + 0x110]
mov ecx, dword [ecx + 0x118]
cmp ebp, ecx
je 0x4e9d17
mov dword [esp + 0x48], ebp
mov dword [esp + 0x50], ebp
test ebp, ebp
mov byte [esp + 0xac], 7
je 0x4e9cf4
push esi
mov ecx, ebp
call fcn.0040ecd0
mov ecx, dword [esp + 0x10]
add ebp, 0xc
mov edx, dword [ecx]
mov dword [ebp], edx
mov eax, dword [ecx + 4]
mov dword [ebp + 4], eax
mov ecx, dword [ecx + 8]
mov dword [ebp + 8], ecx
mov edx, dword [esp + 0xb4]
mov byte [esp + 0xac], 1
mov ecx, dword [edx + 0x114]
lea eax, [edx + 0x110]
add ecx, 0x18
mov dword [eax + 4], ecx
jmp 0x4e9d34
mov ecx, dword [esp + 0xb4]
push 1
lea eax, [esp + 0x1b]
push 1
push eax
push esi
push ebp
add ecx, 0x110
call fcn.004f6a40
fild dword [edi]
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0x10]
add esi, 0x18
add edx, 0x18
fmul dword [0x5828cc]
mov eax, dword [ecx + 0x114]
mov dword [esp + 0x10], edx
fadd dword [eax - 0xc]
fstp dword [eax - 0xc]
fild dword [edi + 4]
fmul dword [0x5828cc]
fadd dword [eax - 8]
fstp dword [eax - 8]
cmp esi, dword [ebx + 0x114]
jne 0x4e9caa
mov ecx, dword [ebx + 0x160]
mov eax, dword [ebx + 0x15c]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
mov dword [esp + 0x1c], 0
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
je 0x4ea254
mov ecx, dword [esp + 0xb4]
mov dword [esp + 0x18], 0
add ecx, 0x15c
mov dword [esp + 0x20], ecx
mov edi, dword [esp + 0x20]
mov eax, 0x92492493
mov ebp, dword [ebx + 0x15c]
mov ecx, dword [edi + 4]
mov edx, dword [edi]
sub ecx, edx
mov dword [esp + 0x50], ebp
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0x1c]
cmp eax, edx
jne 0x4e9f2b
lea ecx, [esp + 0x17]
mov byte [esp + 0xac], 8
push ecx
lea ecx, [esp + 0x8c]
call fcn.0050e020
lea edx, [esp + 0x7e]
lea ecx, [esp + 0x94]
push edx
mov byte [esp + 0xb0], 0xb
call fcn.0050e020
mov dword [esp + 0x84], 0x548ec4
mov esi, dword [edi + 4]
mov eax, dword [edi + 8]
cmp esi, eax
mov byte [esp + 0xac], 0xc
je 0x4e9e8b
mov dword [esp + 0x48], esi
mov dword [esp + 0x58], esi
test esi, esi
mov byte [esp + 0xac], 0xd
je 0x4e9e85
lea eax, [esp + 0x88]
lea ecx, [esi + 4]
push eax
call fcn.004499a0
lea ecx, [esp + 0x94]
mov byte [esp + 0xac], 0xe
push ecx
lea ecx, [esi + 0x10]
call fcn.004fda50
mov dword [esi], 0x548ec4
add dword [edi + 4], 0x1c
jmp 0x4e9ea7
push 1
lea edx, [esp + 0x81]
push 1
lea eax, [esp + 0x8c]
push edx
push eax
push esi
mov ecx, edi
call fcn.004f6540
lea ecx, [esp + 0x94]
mov dword [esp + 0x48], ecx
mov ebx, dword [esp + 0x98]
mov esi, dword [esp + 0x94]
cmp esi, ebx
mov byte [esp + 0xac], 0x10
je 0x4e9ee3
push 0
mov ecx, esi
call fcn.00500660
add esi, 0x24
cmp esi, ebx
jne 0x4e9ecc
mov esi, dword [esp + 0x94]
test esi, esi
mov byte [esp + 0xac], 0x11
je 0x4e9f17
mov ecx, dword [esp + 0x9c]
mov eax, 0x38e38e39
sub ecx, esi
imul ecx
sar edx, 3
mov eax, edx
lea ecx, [esp + 0x9c]
shr eax, 0x1f
add edx, eax
push edx
push esi
call fcn.004fdfd0
lea ecx, [esp + 0x88]
mov byte [esp + 0xac], 1
call fcn.00418e50
mov ecx, dword [esp + 0x18]
mov esi, dword [edi]
mov dword [esp + 0x48], esi
mov dword [esp + 0x10], 0
mov edx, dword [ecx + ebp + 8]
lea eax, [ecx + ebp + 4]
mov dword [esp + 0x24], eax
sub edx, dword [eax]
sar edx, 2
je 0x4ea04a
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x10]
lea esi, [esi + eax + 4]
mov ecx, dword [esp + 0x24]
mov edx, dword [esi + 4]
mov edi, dword [esi]
xor eax, eax
mov ebx, dword [ecx]
sub edx, edi
sar edx, 2
mov dword [esp + 0x58], ebx
je 0x4e9f93
mov edx, dword [ebx + ebp*4]
mov ecx, edi
cmp dword [ecx + eax*4], edx
je 0x4ea02f
mov edi, dword [esi + 4]
inc eax
sub edi, dword [esi]
sar edi, 2
cmp eax, edi
jb 0x4e9f7d
mov edi, dword [esi + 4]
mov eax, dword [esi + 8]
cmp edi, eax
je 0x4e9faf
test edi, edi
je 0x4e9fa6
mov eax, dword [ebx + ebp*4]
mov dword [edi], eax
add dword [esi + 4], 4
jmp 0x4ea02f
mov ebx, dword [esi]
mov eax, edi
sub eax, ebx
mov dword [esp + 0x2c], 1
sar eax, 2
cmp eax, 1
mov dword [esp + 0x64], eax
lea ecx, [esp + 0x2c]
jb 0x4e9fd1
lea ecx, [esp + 0x64]
add eax, dword [ecx]
mov ebp, eax
je 0x4e9feb
lea ecx, [ebp*4]
push ecx
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov ebx, eax
jmp 0x4e9fed
xor ebx, ebx
mov eax, dword [esi]
cmp edi, eax
jne 0x4e9ff7
mov eax, ebx
jmp 0x4ea007
sub edi, eax
push edi
push eax
push ebx
call dword [sym.imp.msvcrt.dll_memmove]
add esp, 0xc
add eax, edi
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x10]
lea edi, [eax + 4]
mov edx, dword [edx + ecx*4]
mov ecx, esi
mov dword [eax], edx
call fcn.00418e50
lea eax, [ebx + ebp*4]
mov ecx, esi
push eax
push edi
push ebx
call fcn.0043edb0
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
inc ebp
mov dword [esp + 0x10], ebp
mov ecx, dword [eax + 4]
mov edi, dword [eax]
sub ecx, edi
sar ecx, 2
cmp ebp, ecx
jb 0x4e9f60
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], 0
mov ecx, dword [edx + eax + 0x14]
mov ebp, dword [edx + eax + 0x10]
lea esi, [edx + eax + 0x10]
sub ecx, ebp
mov eax, 0x38e38e39
mov dword [esp + 0x50], esi
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
je 0x4ea210
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], 0
lea ebp, [ecx + eax + 0x10]
lea edx, [ecx + eax + 0x14]
mov dword [esp + 0x48], ebp
mov dword [esp + 0x58], edx
mov ebx, dword [esi]
mov eax, dword [esp + 0x10]
mov edi, dword [ebp + 4]
add ebx, eax
cmp edi, dword [ebp + 8]
je 0x4ea190
mov dword [esp + 0x64], edi
mov dword [esp + 0x2c], edi
test edi, edi
mov byte [esp + 0xac], 0x12
je 0x4ea17d
lea ecx, [esp + 0x80]
lea esi, [ebx + 4]
lea ebp, [edi + 4]
push ecx
mov ecx, esi
mov dword [esp + 0x70], ebp
call fcn.004ffc70
mov esi, dword [esi + 4]
mov ecx, dword [ebx + 4]
mov eax, 0
sub esi, ecx
mov dword [ebp], eax
mov dword [ebp + 4], eax
sar esi, 4
mov dword [ebp + 8], eax
mov byte [esp + 0xac], 0x14
je 0x4ea11b
mov edx, esi
shl edx, 4
push edx
call fcn.0040de90
add esp, 4
jmp 0x4ea11d
xor eax, eax
shl esi, 4
add esi, eax
mov dword [ebp], eax
mov dword [ebp + 4], eax
mov dword [ebp + 8], esi
mov edx, dword [ebx + 8]
lea ecx, [esp + 0x82]
push ecx
push eax
mov eax, dword [ebx + 4]
push edx
push eax
mov byte [esp + 0xbc], 0x16
call fcn.004cafc0
mov dword [ebp + 4], eax
mov ecx, dword [ebx + 0x10]
mov dword [edi + 0x10], ecx
mov edx, dword [ebx + 0x14]
mov dword [edi + 0x14], edx
mov eax, dword [ebx + 0x18]
mov esi, dword [esp + 0x60]
mov ebp, dword [esp + 0x58]
mov dword [edi + 0x18], eax
mov ecx, dword [ebx + 0x1c]
mov dword [edi + 0x1c], ecx
mov dx, word [ebx + 0x20]
add esp, 0x10
mov word [edi + 0x20], dx
mov dword [edi], 0x548ee8
mov eax, dword [ebp + 4]
mov byte [esp + 0xac], 1
add eax, 0x24
mov dword [ebp + 4], eax
jmp 0x4ea1a5
push 1
lea eax, [esp + 0x87]
push 1
push eax
push ebx
push edi
mov ecx, ebp
call fcn.004f6280
mov ecx, dword [esp + 0x58]
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x10]
mov eax, dword [ecx]
mov ecx, dword [esp + 0xb8]
sub eax, 0x24
add ebx, 0x24
mov edx, dword [ecx]
mov dword [esp + 0x10], ebx
shl edx, 6
mov dword [esp + 0x64], edx
fild dword [esp + 0x64]
fadd dword [eax + 0x14]
fstp dword [eax + 0x14]
mov ecx, dword [ecx + 4]
shl ecx, 6
mov dword [esp + 0x64], ecx
inc edi
fild dword [esp + 0x64]
mov dword [esp + 0x24], edi
fadd dword [eax + 0x18]
fstp dword [eax + 0x18]
mov ecx, dword [esi + 4]
mov edx, dword [esi]
sub ecx, edx
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edi, edx
jb 0x4ea0a3
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0xbc]
add eax, 0x1c
mov esi, dword [esp + 0x1c]
mov ecx, dword [ebx + 0x160]
mov ebp, dword [ebx + 0x15c]
mov dword [esp + 0x18], eax
sub ecx, ebp
mov eax, 0x92492493
inc esi
imul ecx
add edx, ecx
mov dword [esp + 0x1c], esi
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
cmp esi, edx
jb 0x4e9dc0
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
sub edx, ecx
xor edi, edi
sar edx, 2
je 0x4ea29e
mov eax, dword [ecx + edi*4]
test eax, eax
je 0x4ea285
mov esi, dword [eax]
test eax, eax
je 0x4ea27f
push eax
call fcn.005265a0
mov ecx, dword [esp + 0x3c]
add esp, 4
test esi, esi
mov eax, esi
jne 0x4ea26c
mov dword [ecx + edi*4], 0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
inc edi
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x4ea265
pop edi
pop esi
pop ebp
mov dword [esp + 0x38], 0
test ecx, ecx
pop ebx
je 0x4ea2b7
push ecx
call fcn.005265a0
add esp, 4
mov ecx, dword [esp + 0x94]
mov al, 1
mov dword fs:[0], ecx
add esp, 0xa0
ret