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

Disassembly:
push 0xffffffffffffffff
push 0x52e453
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
push ebx
push ebp
push esi
push edi
mov eax, dword [0x568fd0]
xor eax, esp
push eax
lea eax, [esp + 0xd4]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xec]
mov esi, ecx
mov ebx, dword [esp + 0xe4]
cmp dword [esi + 8], 0
jne 0x4bce23
cmp dword [ebp + 0x6e4], 0
jle 0x4bce23
mov eax, 1
jmp 0x4bce25
xor eax, eax
mov ecx, dword [ebp + 0x75c]
fld dword [esp + 0xf8]
sub ecx, eax
mov dword [esp + 0x3c], ecx
fild dword [esp + 0x3c]
mov dword [esp + 0x60], eax
fcompp
fnstsw ax
test ah, 5
jp 0x4bda1b
cmp byte [ebx + 0x16], 0
mov edi, dword [esp + 0xe8]
mov dword [esp + 0x40], edi
je 0x4bce65
mov edi, dword [ebx + 0x24]
mov dword [esp + 0x40], edi
mov eax, dword [esi + 0x2c8]
cmp dword [eax + 0x1ec], 0xfde9
mov edx, dword [edi]
mov edx, dword [edx + 0x88]
sete cl
movzx eax, cl
push eax
mov ecx, edi
call edx
mov ecx, dword [esi + 0x2c8]
mov edx, dword [ecx + 0x1ec]
mov eax, dword [edi]
mov eax, dword [eax + 0x8c]
push edx
mov ecx, edi
call eax
mov edx, dword [esi]
mov edx, dword [edx + 8]
lea eax, [esp + 0xb8]
push eax
mov ecx, esi
call edx
fld dword [esp + 0xf4]
call fcn.00505040
fld dword [esp + 0xb8]
cdq
idiv dword [ebp + 0x65c]
mov dword [esp + 0x3c], eax
call fcn.00505040
sub eax, dword [esi + 8]
mov edi, dword [esi + 0x290]
add eax, dword [ebp + 0x75c]
mov dword [esp + 0x64], eax
mov eax, dword [esi + 0x260]
sub eax, dword [esi + 0x25c]
sar eax, 4
cmp edi, eax
jb 0x4bcf00
call fcn.00501daa
mov eax, dword [esi + 0x25c]
shl edi, 4
cmp dword [esi + 0x238], 0
mov edx, dword [edi + eax + 4]
mov ecx, dword [edi + eax]
mov dword [esp + 0x78], edx
jl 0x4bcf2d
mov eax, dword [esi + 0x23c]
mov ecx, dword [esi + 0x238]
mov dword [esp + 0x78], eax
mov eax, dword [esi + 0x2c8]
mov edx, dword [eax + 4]
add eax, 4
push ecx
push eax
mov eax, dword [edx + 0x14]
call eax
mov edx, dword [esp + 0x108]
mov ecx, dword [esp + 0x100]
mov dword [esp + 0x20], edx
mov dl, byte [ebp + 0x758]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x104]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x10c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], ecx
test dl, dl
je 0x4bcf9e
fild dword [ebp + 0x75c]
fadd dword [esp + 0x100]
fstp dword [esp + 0x18]
fld dword [esp + 0x20]
fisub dword [ebp + 0x6e8]
fstp dword [esp + 0x20]
jmp 0x4bcfca
mov eax, dword [esp + 0xf0]
mov ecx, dword [esp + 0xf8]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xf4]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0xfc]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], ecx
cmp byte [ebx + 0x16], 0
jne 0x4bd031
test dl, dl
je 0x4bd031
fld dword [esp + 0x18]
mov edx, dword [esp + 0x18]
fisub dword [esp + 0x60]
mov edi, dword [esp + 0x20]
mov dword [esp + 0x94], edx
mov edx, eax
mov eax, dword [esp + 0xe8]
mov ebx, dword [eax]
sub esp, 0x10
mov eax, esp
fstp dword [esp + 0xa4]
mov ebp, dword [esp + 0xa4]
mov dword [eax], ebp
mov dword [eax + 4], edx
mov edx, dword [ebx + 0x80]
mov dword [eax + 8], edi
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0xf8]
call edx
mov ebp, dword [esp + 0xec]
mov ebx, dword [esp + 0xe4]
cmp byte [ebp + 0x7b4], 0
je 0x4bd043
cmp dword [esi + 0x248], 0x22
je 0x4bd055
cmp byte [ebp + 0x7bc], 0
je 0x4bd05c
cmp dword [esi + 0x248], 0x23
jne 0x4bd05c
mov byte [esp + 0x68], 1
jmp 0x4bd061
mov byte [esp + 0x68], 0
lea eax, [ebx + 0x30]
mov dword [esp + 0x2c], eax
xor eax, eax
mov dword [esp + 0x70], 0xffffffff
mov dword [esp + 0x30], eax
lea ecx, [esp + 0x7c]
push ecx
mov dword [esp + 0xe0], eax
call fcn.00446380
mov byte [esp + 0xdc], 1
cmp dword [ebx + 0x18], 2
jne 0x4bd0cd
cmp byte [ebx + 0x16], 0
jne 0x4bd0cd
mov ebp, 1
mov dword [esp + 0x44], ebp
jmp 0x4bd0b0
lea ebx, [esp + 0x44]
lea edi, [esp + 0x7c]
call fcn.004be7d0
add ebp, ebp
cmp ebp, 0x100
mov dword [esp + 0x44], ebp
jle 0x4bd0b0
jmp 0x4bd0e2
lea ebx, [esp + 0x5c]
lea edi, [esp + 0x7c]
mov dword [esp + 0x5c], 0x1ff
call fcn.004be7d0
mov edi, dword [esp + 0x88]
mov eax, dword [esp + 0x8c]
cmp edi, eax
jbe 0x4bd100
call fcn.00501daa
mov eax, dword [esp + 0x8c]
mov edx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x38], edi
mov edi, dword [esp + 0xec]
mov dword [esp + 0x34], edx
jmp 0x4bd120
mov ebx, eax
cmp dword [esp + 0x88], eax
jbe 0x4bd130
call fcn.00501daa
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4bd13e
cmp eax, dword [esp + 0x7c]
je 0x4bd143
call fcn.00501daa
cmp dword [esp + 0x38], ebx
je 0x4bd810
mov eax, dword [esp + 0xe4]
cmp byte [eax + 0x16], 0
mov dword [esp + 0x48], 0
jne 0x4bd16f
mov eax, dword [edi + 0x65c]
imul eax, ebp
mov dword [esp + 0x48], eax
mov eax, dword [edi + 0x65c]
mov edx, dword [esi]
imul eax, ebp
mov dword [esp + 0x44], eax
mov eax, dword [edx + 4]
mov ecx, esi
call eax
mov ebx, eax
add ebx, ebp
mov dword [esp + 0x28], ebx
lea ecx, [ecx]
cmp dword [esi + 0x2a8], 0
jne 0x4bd1a1
mov eax, dword [esi + 0x2b8]
jmp 0x4bd1e7
mov edx, dword [esi + 0x2b4]
mov ecx, dword [edx + 8]
mov eax, dword [ecx + 8]
sub eax, 2
js 0x4bd1e3
cmp eax, dword [ecx + 8]
jge 0x4bd1e3
cmp eax, dword [ecx + 0xc]
jge 0x4bd1c3
mov ecx, dword [ecx]
mov ecx, dword [ecx + eax*4]
jmp 0x4bd1da
cmp eax, dword [ecx + 8]
jl 0x4bd1cc
xor ecx, ecx
jmp 0x4bd1da
mov ebx, dword [ecx + 0x10]
mov ecx, dword [ecx]
add ebx, eax
mov ecx, dword [ecx + ebx*4]
mov ebx, dword [esp + 0x28]
cmp eax, dword [edx]
jle 0x4bd1e5
add ecx, dword [edx + 4]
jmp 0x4bd1e5
xor ecx, ecx
mov eax, ecx
cmp ebx, eax
jge 0x4bd7de
fild dword [esp + 0x44]
fstp dword [esp + 0x5c]
fld dword [esp + 0x5c]
fld dword [esp + 0xfc]
fcompp
fnstsw ax
test ah, 0x41
jne 0x4bd7de
cmp dword [esi + 0x2a8], 0
jne 0x4bd221
mov ebp, dword [esp + 0x28]
jmp 0x4bd2ba
test ebx, ebx
jg 0x4bd22c
xor ebp, ebp
jmp 0x4bd2ba
mov edx, dword [esi + 0x2b4]
mov eax, dword [edx + 8]
mov eax, dword [eax + 8]
add eax, 0xfffffffe
js 0x4bd26d
mov ecx, dword [edx + 8]
cmp eax, dword [ecx + 8]
jge 0x4bd26d
cmp eax, dword [ecx + 0xc]
jge 0x4bd251
mov ecx, dword [ecx]
mov ecx, dword [ecx + eax*4]
jmp 0x4bd264
cmp eax, dword [ecx + 8]
jl 0x4bd25a
xor ecx, ecx
jmp 0x4bd264
mov edi, dword [ecx + 0x10]
mov ecx, dword [ecx]
add edi, eax
mov ecx, dword [ecx + edi*4]
cmp eax, dword [edx]
jle 0x4bd26f
add ecx, dword [edx + 4]
jmp 0x4bd26f
xor ecx, ecx
cmp ebx, ecx
jle 0x4bd2ad
test eax, eax
jl 0x4bd2a8
mov ecx, dword [edx + 8]
cmp eax, dword [ecx + 8]
jge 0x4bd2a8
cmp eax, dword [ecx + 0xc]
jge 0x4bd28b
mov ecx, dword [ecx]
mov ecx, dword [ecx + eax*4]
jmp 0x4bd29e
cmp eax, dword [ecx + 8]
jl 0x4bd294
xor ecx, ecx
jmp 0x4bd29e
mov edi, dword [ecx + 0x10]
mov ecx, dword [ecx]
add edi, eax
mov ecx, dword [ecx + edi*4]
cmp eax, dword [edx]
jle 0x4bd2aa
add ecx, dword [edx + 4]
push ecx
jmp 0x4bd2b2
xor ecx, ecx
push ecx
jmp 0x4bd2b2
mov eax, dword [esp + 0x28]
push eax
push edx
call fcn.004a5280
mov ebp, eax
cmp dword [esi + 0x2a8], 0
mov eax, ebp
jne 0x4bd2d3
mov ecx, dword [esi + 0x2b8]
cmp ebp, ecx
jg 0x4bd31c
mov ecx, ebp
jmp 0x4bd31c
mov edx, dword [esi + 0x2b4]
mov ecx, dword [edx + 8]
mov ecx, dword [ecx + 8]
dec ecx
cmp ebp, ecx
jle 0x4bd2e6
mov eax, ecx
test eax, eax
jl 0x4bd31a
mov ecx, dword [edx + 8]
cmp eax, dword [ecx + 8]
jge 0x4bd31a
cmp eax, dword [ecx + 0xc]
jge 0x4bd2fe
mov ecx, dword [ecx]
mov ecx, dword [ecx + eax*4]
jmp 0x4bd311
cmp eax, dword [ecx + 8]
jl 0x4bd307
xor ecx, ecx
jmp 0x4bd311
mov edi, dword [ecx + 0x10]
mov ecx, dword [ecx]
add edi, eax
mov ecx, dword [ecx + edi*4]
cmp eax, dword [edx]
jle 0x4bd31c
add ecx, dword [edx + 4]
jmp 0x4bd31c
xor ecx, ecx
mov eax, dword [esp + 0x28]
sub eax, ecx
mov dword [esp + 0x6c], eax
cmp ebp, dword [esp + 0x70]
je 0x4bd390
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
mov byte [ebx + 0x20], 0
test ecx, ecx
je 0x4bd34f
cmp byte [ecx + 0x10], 0
jne 0x4bd34c
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
jmp 0x4bd34f
dec dword [ebx + 0x28]
mov edi, dword [esp + 0xe4]
push ebp
push edi
mov dword [esp + 0x38], 0
call fcn.004b61b0
mov edx, dword [esp + 0xec]
mov byte [ebx + 0x20], 0
mov ecx, dword [esi + 0x2c4]
push ecx
push eax
push edx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x4c]
push eax
push ebp
push esi
push edi
call fcn.004b6270
mov dword [esp + 0x70], ebp
jmp 0x4bd397
mov edi, dword [esp + 0xe4]
cmp dword [esp + 0x30], 0
je 0x4bd78a
cmp byte [edi + 0x14], 0
jne 0x4bd3b8
cmp ebp, dword [esp + 0xa4]
jne 0x4bd3b8
mov eax, 1
jmp 0x4bd3ba
xor eax, eax
mov edi, dword [esp + 0x30]
mov byte [edi + 0x29], al
mov edx, dword [esi]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0xc8]
push eax
mov ecx, esi
call edx
fild dword [esp + 0x48]
mov ecx, dword [eax]
mov dword [edi + 0x40], ecx
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [edi + 0x44], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0xec]
mov dword [esp + 0x50], ecx
fstp dword [esp + 0x50]
mov ecx, dword [eax + 0x65c]
add ecx, dword [esp + 0x48]
mov eax, dword [esi + 0x2c8]
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
mov dword [esp + 0x58], edx
mov edx, dword [eax + 4]
mov edx, dword [edx + 0x18]
add eax, 4
fstp dword [esp + 0x58]
lea ecx, [ebp + 1]
push ecx
push eax
call edx
mov ebx, eax
mov eax, dword [esi + 0x2c8]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x18]
add eax, 4
push ebp
push eax
mov dword [esp + 0x1c], ebx
call edx
fild dword [esi + 0x24c]
mov ecx, dword [esp + 0xec]
mov edi, eax
mov eax, dword [esp + 0x68]
fmul dword [ecx + 0x670]
push eax
mov dword [esp + 0xc4], edi
call fcn.00505040
mov edx, dword [esp + 0x34]
push eax
push ebx
mov bl, byte [esi + 0x248]
push edi
lea edi, [esi + 0x240]
call fcn.004ac4f0
cmp dword [esp + 0x60], 0
mov ebx, dword [esp + 0xec]
je 0x4bd53f
mov edx, dword [esp + 0xe4]
cmp byte [edx + 0x16], 0
je 0x4bd53f
mov eax, dword [esp + 0x4c]
fld dword [esp + 0x4c]
mov ecx, dword [ebx + 0x48]
sub ecx, dword [ebx + 0x44]
mov edi, dword [esp + 0x50]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x9c], eax
fstp dword [esp + 0x9c]
fld dword [esp + 0x94]
mov eax, 0x38e38e39
fsub qword [0x556028]
imul ecx
fstp dword [esp + 0x94]
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 0x20
ja 0x4bd504
call fcn.00501daa
mov eax, dword [ebx + 0x44]
mov ecx, dword [eax + 0x930]
mov edx, dword [esp + 0x40]
mov edx, dword [edx]
mov edx, dword [edx + 0x38]
push ecx
mov ecx, dword [esp + 0x98]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0xb0]
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x6c]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x54]
call edx
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x4bd7c5
call fcn.00501daa
xor eax, eax
mov ecx, dword [esp + 0x38]
cmp ecx, dword [eax + 0x10]
jb 0x4bd560
call fcn.00501daa
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x68]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x40]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x64], ecx
mov ecx, dword [eax]
mov eax, dword [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x100]
push ecx
push ebp
push edx
push eax
mov eax, ebx
mov ecx, esi
call fcn.004bc7b0
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0xc0]
push ecx
push edx
push eax
mov eax, dword [esp + 0x3c]
lea edi, [esi + 0x240]
call fcn.004ac590
cmp dword [esp + 0x34], 0
jne 0x4bd7cc
call fcn.00501daa
mov edi, dword [esp + 0x34]
xor eax, eax
mov ecx, dword [esp + 0x38]
cmp ecx, dword [eax + 0x10]
jb 0x4bd5fa
call fcn.00501daa
mov edx, dword [esp + 0x38]
test byte [edx], 0x80
je 0x4bd635
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x68]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x50]
push ebx
push eax
mov eax, ebp
mov ecx, esi
call fcn.004bcc30
add esp, 0x18
test edi, edi
jne 0x4bd7d7
call fcn.00501daa
xor eax, eax
mov ecx, dword [esp + 0x38]
cmp ecx, dword [eax + 0x10]
jb 0x4bd652
call fcn.00501daa
mov edx, dword [esp + 0x38]
test dword [edx], 0x100
mov edi, dword [esp + 0xe4]
je 0x4bd6a3
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x68]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x74]
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x54]
push ecx
push edx
push ebx
push esi
push eax
push edi
mov edx, ebp
call fcn.004ba510
cmp byte [edi + 0x16], 0
je 0x4bd765
mov ecx, dword [ebx + 0x75c]
sub ecx, dword [esp + 0x60]
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fst dword [esp + 0x74]
fldz
fstp dword [esp + 0x78]
fstp dword [esp + 0xa8]
fld dword [esp + 0x5c]
fstp dword [esp + 0xac]
fld dword [esp + 0x108]
fisub dword [ebx + 0x6e8]
call fcn.00505040
mov edx, dword [ebx + 0x65c]
add edx, dword [esp + 0x44]
mov ebx, dword [esp + 0xa8]
mov ecx, dword [esp + 0xe8]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x24]
fild dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x7c]
push eax
fstp dword [esp + 0xb8]
mov eax, dword [esp + 0x7c]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov ebx, dword [esp + 0xc8]
mov dword [esp + 0x30], edx
fild dword [esp + 0x30]
mov edx, dword [ecx]
mov edx, dword [edx + 0x4c]
mov dword [eax + 4], ebx
mov ebx, dword [esp + 0xcc]
fstp dword [esp + 0xd0]
mov dword [eax + 8], ebx
mov ebx, dword [esp + 0xd0]
mov dword [eax + 0xc], ebx
call edx
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x38]
fld dword [edx + ecx*4]
call fcn.00505040
mov ecx, dword [edi + 0x1c]
cmp ecx, eax
jle 0x4bd780
mov eax, ecx
mov dword [edi + 0x1c], eax
mov edi, dword [esp + 0xe4]
cmp byte [edi + 0x16], 0
jne 0x4bd7a1
mov eax, dword [esp + 0xec]
mov ecx, dword [eax + 0x65c]
add dword [esp + 0x48], ecx
mov edx, dword [esp + 0xec]
mov eax, dword [edx + 0x65c]
add dword [esp + 0x44], eax
inc dword [esp + 0x28]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x3c]
mov edi, edx
jmp 0x4bd190
mov eax, dword [eax]
jmp 0x4bd552
mov edi, dword [esp + 0x34]
mov eax, dword [edi]
jmp 0x4bd5ec
mov eax, dword [edi]
jmp 0x4bd644
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x4bd80c
call fcn.00501daa
xor eax, eax
mov ecx, dword [esp + 0x38]
cmp ecx, dword [eax + 0x10]
jb 0x4bd7fb
call fcn.00501daa
add dword [esp + 0x38], 4
mov eax, dword [esp + 0x8c]
jmp 0x4bd120
mov eax, dword [eax]
jmp 0x4bd7ed
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov byte [eax + 0x20], 0
test ecx, ecx
je 0x4bd833
cmp byte [ecx + 0x10], 0
jne 0x4bd830
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
jmp 0x4bd833
dec dword [eax + 0x28]
mov cl, byte [edi + 0x758]
mov dword [esp + 0x30], 0
lea eax, [esp + 0x100]
test cl, cl
jne 0x4bd853
lea eax, [esp + 0xf0]
mov edx, dword [eax]
fild dword [edi + 0x75c]
mov ebp, dword [eax + 0xc]
mov dword [esp + 0x18], edx
mov edx, dword [eax + 4]
fstp dword [esp + 0x18]
mov dword [esp + 0x1c], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ebp
test cl, cl
je 0x4bd888
mov eax, dword [edi + 0x6e8]
mov dword [esp + 0x3c], eax
jmp 0x4bd890
mov dword [esp + 0x3c], 0
cmp dword [esi + 0x2a8], 0
fld dword [esp + 0x20]
fisub dword [esp + 0x3c]
fstp dword [esp + 0x20]
jne 0x4bd8ad
mov ebx, dword [esi + 0x2b8]
jmp 0x4bd8ef
mov edx, dword [esi + 0x2b4]
mov ecx, dword [edx + 8]
mov eax, dword [ecx + 8]
add eax, 0xfffffffe
js 0x4bd8eb
cmp eax, dword [ecx + 8]
jge 0x4bd8eb
cmp eax, dword [ecx + 0xc]
jge 0x4bd8cf
mov ecx, dword [ecx]
mov ecx, dword [ecx + eax*4]
jmp 0x4bd8e2
cmp eax, dword [ecx + 8]
jl 0x4bd8d8
xor ecx, ecx
jmp 0x4bd8e2
mov ebx, dword [ecx + 0x10]
mov ecx, dword [ecx]
add ebx, eax
mov ecx, dword [ecx + ebx*4]
cmp eax, dword [edx]
jle 0x4bd8ed
add ecx, dword [edx + 4]
jmp 0x4bd8ed
xor ecx, ecx
mov ebx, ecx
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
sub ebx, eax
imul ebx, dword [edi + 0x65c]
mov dword [esp + 0x14], ebx
fild dword [esp + 0x14]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fld dword [esp + 0x24]
fcompp
fnstsw ax
test ah, 0x41
jne 0x4bd9db
mov ecx, dword [edi + 0x48]
sub ecx, dword [edi + 0x44]
mov eax, 0x38e38e39
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 0x20
ja 0x4bd943
call fcn.00501daa
mov eax, dword [edi + 0x44]
mov ecx, dword [eax + 0x930]
mov ebx, dword [esp + 0xe8]
mov esi, dword [esp + 0x1c]
mov edx, dword [ebx]
mov edx, dword [edx + 0x38]
push ecx
mov ecx, dword [esp + 0x1c]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 4], esi
mov dword [eax + 8], ecx
mov ecx, ebx
mov dword [eax + 0xc], ebp
call edx
cmp dword [edi + 0x78c], 1
jne 0x4bd9db
fild dword [edi + 0x7c4]
fmul dword [edi + 0x670]
call fcn.00505040
mov ecx, dword [esp + 0x64]
mov edx, dword [ebx]
mov edx, dword [edx + 0x38]
add eax, ecx
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
mov eax, dword [edi + 0x788]
push eax
sub esp, 0x10
fstp dword [esp + 0x2c]
mov ecx, dword [esp + 0x2c]
fld dword [esp + 0x2c]
mov eax, esp
fadd qword [0x556028]
mov dword [eax], ecx
mov dword [eax + 4], esi
fstp dword [esp + 0x34]
mov ecx, dword [esp + 0x34]
mov dword [eax + 8], ecx
mov ecx, ebx
mov dword [eax + 0xc], ebp
call edx
mov eax, dword [esp + 0x88]
xor esi, esi
cmp eax, esi
je 0x4bd9f1
push eax
call fcn.00501b8f
add esp, 4
mov eax, dword [esp + 0x7c]
push eax
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], esi
call fcn.00501b8f
mov ecx, dword [esp + 0x30]
add esp, 4
mov byte [ecx + 0x20], 0
mov ecx, dword [esp + 0xd4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xcc
ret 0x2c