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

Disassembly:
push esi
push edi
push ebx
push ebp
sub esp, 0xd8
mov edx, dword [esp + 0xf8]
mov dword [esp + 0x48], edx
mov eax, dword [esp + 0xf0]
mov ebx, dword [esp + 0xf4]
mov ecx, dword [esp + 0xfc]
mov edx, dword [esp + 0x100]
mov dword [esp + 0x50], eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x4c], ecx
xor ecx, ecx
mov dword [esp + 0x40], edx
mov eax, dword [0x52ec00]
xor eax, esp
mov dword [esp + 0xd4], eax
mov esi, dword [esp + 0xec]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], ecx
mov dword [esp + 0xa4], ecx
mov dword [esp + 0x68], ecx
mov dword [esp + 0xa8], ecx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0xac], ecx
mov dword [esp + 0x70], ecx
mov dword [esp + 0xb0], ecx
mov dword [esp + 0x74], ecx
mov dword [esp + 0xb4], ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0xb8], ecx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0xbc], ecx
mov dword [esp + 0x80], ecx
mov dword [esp + 0xc0], ecx
mov dword [esp + 0x84], ecx
mov dword [esp + 0xc4], ecx
mov dword [esp + 0x88], ecx
mov dword [esp + 0xc8], ecx
mov dword [esp + 0x8c], ecx
mov dword [esp + 0xcc], ecx
mov dword [esp + 0x90], ecx
mov dword [esp + 0xd0], ecx
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], ecx
test ebx, 0x8010000
je 0x4bfc7f
test dword [esp + 0x44], 0x10000
je 0x4bfc78
lea eax, [esp + 0x10b]
and eax, 0xfffffffc
movsx eax, byte [eax]
jmp 0x4bfc84
mov eax, 0x2c
jmp 0x4bfc84
mov eax, 0x2e
cmp dword [esp + 0x50], 0
jle 0x4c0f09
mov ebp, ebx
mov edx, ebp
and edx, 0x80
mov ecx, ebp
mov ebx, edx
and ecx, 0x80000000
shl edx, 0x18
and ecx, edx
shl ebx, 4
shr ecx, 0x13
or ebx, ecx
movsx edx, byte [esi]
test ebp, 0x20
je 0x4bfceb
lea ecx, [edx - 9]
cmp ecx, 4
ja 0x4c0f00
mov ebp, dword [esp + 0x50]
lea edx, [esi + 1]
mov esi, edx
dec ebp
je 0x4c0edb
movsx edx, byte [edx]
lea ecx, [edx - 9]
cmp ecx, 4
jbe 0x4bfccb
cmp edx, 0x20
je 0x4bfccb
mov dword [esp + 0x50], ebp
mov dword [esp + 0x3c], esi
cmp edx, 0x2d
jne 0x4bfcf9
add ebx, 8
jmp 0x4bfcfe
cmp edx, 0x2b
jne 0x4bfd0c
add ebx, 2
inc esi
dec dword [esp + 0x50]
je 0x4c0b01
xor ecx, ecx
mov ebp, 9
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], ecx
fldz
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x14], 2
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x1c], eax
mov ebp, dword [esp + 0x50]
movsx edx, byte [esi]
lea eax, [edx - 0x2b]
cmp eax, 0x4d
ja 0x4bff71
movzx eax, word [eax*2 + 0x5083c0]
add eax, 0x4bfd6b
jmp eax
fstp st(0)
mov dword [esp + 0x3c], esi
test bl, 8
je 0x4bfebf
fld dword [0x50915c]
jmp 0x4bfec5
fld dword [0x509158]
and ebx, 0xfffffff7
mov eax, ebx
mov ecx, dword [esp + 0x44]
or eax, 0xc000000
test ecx, 0x40000000
je 0x4bfedd
mov ebx, eax
test cl, 2
je 0x4bff9a
test ebp, ebp
je 0x4bff9a
cmp byte [esi], 0x20
jne 0x4bff9a
inc esi
dec ebp
jne 0x4bfeee
jmp 0x4bff9a
cmp byte [eax - 1], 0x66
je 0x4bfeac
mov esi, ecx
neg ecx
lea ebp, [eax + ecx]
jmp 0x4bff9a
cmp edx, 9
jne 0x4bff83
test byte [esp + 0x44], 1
jne 0x4c0058
jmp 0x4bff9a
cmp edx, 0x20
jne 0x4bff9a
test byte [esp + 0x44], 2
jne 0x4c0058
test byte [esp + 0x44], 0x40
jne 0x4bffbd
cmp edx, dword [esp + 0x1c]
jne 0x4c0dd6
test bl, 1
jne 0x4c0dd6
mov dword [esp + 0x28], 0
or ebx, 1
jmp 0x4c0058
mov edx, 0x30
cmp dword [esp + 0x24], 0
je 0x4c0045
add edx, 0xffffffd0
or ebx, 4
mov eax, ebx
and eax, 0x201
cmp eax, 0x200
mov eax, 0
mov ecx, dword [esp + 0x28]
sete al
neg eax
inc dword [esp + 0x24]
lea edi, [ecx + eax + 1]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x28], edi
cmp eax, dword [esp + 0x18]
je 0x4c001a
mov edi, dword [esp + 0x2c]
mov eax, edi
mov ecx, dword [esp + 0x10]
shl eax, cl
inc dword [esp + 0x30]
lea eax, [eax + edi*8]
add eax, edx
mov dword [esp + 0x2c], eax
jmp 0x4c0058
mov eax, dword [esp + 0x34]
cmp eax, dword [esp + 0x14]
jae 0x4c003f
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x2c], edx
mov dword [esp + eax*4 + 0x58], ecx
inc eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], 1
jmp 0x4c0058
or dword [esp + 0x38], edx
jmp 0x4c0058
mov eax, ebx
or ebx, 4
and eax, 1
add dword [esp + 0x28], eax
xor eax, 1
add dword [esp + 0xc], eax
inc esi
dec ebp
jne 0x4bfd4d
mov dword [esp + 0x50], ebp
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x20], 0
mov ebp, esi
test bl, 4
mov eax, ebx
jne 0x4c007d
mov ebp, dword [esp + 0x3c]
and eax, 0x40
mov dword [esp + 4], eax
je 0x4c0088
mov ebp, esi
test dword [esp + 0x44], 0x8000
je 0x4c00bc
test dword [esp + 0x44], 0x80000000
je 0x4c00aa
cmp dword [esp + 0x50], 0
je 0x4c00bc
cmp byte [esi], 0
jne 0x4c00b1
jmp 0x4c00bc
cmp dword [esp + 0x50], 0
je 0x4c00bc
or ebx, 0x3000000
jmp 0x4c0aa7
mov eax, ebx
and eax, 0x200
mov dword [esp], eax
je 0x4c00d2
mov eax, ebx
and eax, 0x54
cmp eax, 0x54
jne 0x4c00b1
cmp dword [esp + 0x24], 0
jne 0x4c0110
mov eax, ebx
and eax, 0xc
cmp eax, 0xc
jne 0x4c00ed
fchs
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
mov eax, dword [esp + 0x44]
mov edx, ebx
and eax, 0x28000
or edx, 0x3000000
cmp eax, 0x28000
jne 0x4c0aa7
mov ebx, edx
jmp 0x4c0aa7
test bl, 0x20
je 0x4c011c
cmp dword [esp + 4], 0
je 0x4c00b1
fstp st(0)
test bl, 0x10
je 0x4c016d
cmp dword [esp + 0x1c], 6
jbe 0x4c0140
mov edx, ebx
and edx, 8
test ebx, 0x80
jne 0x4c0a08
jmp 0x4c097d
mov eax, dword [esp + 0x20]
mov edx, eax
neg edx
test ebx, 0x80
mov edi, dword [esp + 0x4c]
jne 0x4c0156
mov edx, eax
test dword [esp + 0x44], 0x400
jne 0x4c0165
mov edi, 0
sub edx, edi
mov dword [esp + 0x18], edx
jmp 0x4c0177
mov eax, dword [esp + 0x4c]
neg eax
mov dword [esp + 0x18], eax
cmp dword [esp], 0
je 0x4c036e
shl ecx, 2
neg ecx
shl dword [esp + 0x2c], cl
cmp dword [esp + 0x24], 8
ja 0x4c01cf
mov dword [esp + 0xc], 0
cmp dword [esp + 0x2c], 0
jle 0x4c01b7
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0xc]
add eax, eax
inc edx
test eax, eax
jg 0x4c01a8
mov dword [esp + 0x2c], eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x98], eax
mov dword [esp + 0x34], 1
jmp 0x4c0352
mov eax, dword [esp + 0x34]
inc eax
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x34], eax
mov dword [esp + eax*4 + 0x54], edx
test edx, edx
jne 0x4c01f0
dec eax
cmp dword [esp + eax*4 + 0x54], 0
je 0x4c01e4
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xc], 0
test eax, eax
jle 0x4c02e9
mov edx, dword [esp + 0xc]
add eax, eax
inc edx
test eax, eax
jg 0x4c0208
mov dword [esp + 0xc], edx
mov dword [esp + 0x58], eax
cmp dword [esp + 0xc], 0
je 0x4c02e9
mov dword [esp + 0x98], eax
cmp dword [esp + 0x34], 1
jbe 0x4c0352
mov eax, dword [esp + 0x34]
lea eax, [eax - 1]
shr eax, 1
je 0x4c0de3
xor edi, edi
mov dword [esp + 0x10], ebx
neg edx
mov dword [esp + 4], esi
mov dword [esp], eax
mov dword [esp + 0x14], ebp
mov eax, dword [esp + edi*8 + 0x5c]
mov ecx, edx
mov ebx, eax
shr ebx, cl
mov esi, dword [esp + 0xc]
mov ecx, esi
or dword [esp + edi*8 + 0x98], ebx
mov ebx, dword [esp + edi*8 + 0x60]
mov ebp, ebx
shl eax, cl
mov ecx, edx
shr ebp, cl
mov ecx, esi
shl ebx, cl
or eax, ebp
mov dword [esp + edi*8 + 0x9c], eax
mov dword [esp + edi*8 + 0xa0], ebx
inc edi
cmp edi, dword [esp]
jb 0x4c0256
mov ebx, dword [esp + 0x10]
lea eax, [edi + edi + 1]
mov esi, dword [esp + 4]
mov ebp, dword [esp + 0x14]
mov dword [esp], eax
mov edx, dword [esp]
mov eax, dword [esp + 0x34]
lea ecx, [edx - 1]
lea edi, [eax - 1]
cmp ecx, edi
jae 0x4c0352
mov dword [esp + 0x10], ebx
mov ebx, edx
mov ecx, dword [esp + 0xc]
neg ecx
mov edx, dword [esp + ebx*4 + 0x58]
mov eax, edx
shr eax, cl
mov ecx, dword [esp + 0xc]
shl edx, cl
or dword [esp + ebx*4 + 0x94], eax
mov dword [esp + ebx*4 + 0x98], edx
mov ebx, dword [esp + 0x10]
jmp 0x4c0352
cmp dword [esp + 0x34], 0
je 0x4c0352
cmp dword [esp + 0x34], 0x18
jle 0x4c0def
mov edx, dword [esp + 0x34]
lea edi, [esp + 0x54]
mov dword [edi - 0x44], ebx
lea ecx, [esp + 0x94]
sub ecx, edi
lea ebx, [edx*4]
xor edx, edx
xor eax, eax
cmp ecx, ebx
setg al
neg ecx
cmp ecx, ebx
setg dl
mov ebx, dword [edi - 0x44]
or eax, edx
je 0x4c0def
mov eax, dword [esp + 0x34]
lea edi, [esp + 0x98]
lea ecx, [esp + 0x58]
lea edx, [eax*4]
push edx
push ecx
push edi
call fcn.004c6aa0
add esp, 0xc
mov edx, dword [esp + 0x24]
sub edx, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
lea ecx, [eax + edx*4]
sub ecx, dword [esp + 0xc]
mov dword [esp + 0x2c], ecx
jmp 0x4c0681
test bl, 1
je 0x4c037d
mov eax, dword [esp + 0x28]
sub dword [esp + 0x18], eax
jmp 0x4c0389
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x48]
mov dword [esp + 0x18], eax
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
add eax, edi
cmp eax, 0xffffffd3
jge 0x4c03a2
mov edx, ebx
and edx, 8
jmp 0x4c0a08
cmp eax, 0x27
jle 0x4c03b1
mov edx, ebx
and edx, 8
jmp 0x4c097d
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ebx
mov ebx, edi
lea eax, [edx - 0x1b]
test eax, eax
lea edi, [ebx + edx - 0x1b]
jg 0x4c03c8
mov edi, ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0xc], edi
cmp edx, 9
ja 0x4c03f8
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
shr eax, 0x1f
fadd qword [eax*8 + 0x5083b0]
fstp qword [esp + 4]
fld qword [esp + 4]
jmp 0x4c04eb
fild dword [esp + 0x58]
mov eax, dword [esp + 0x58]
shr eax, 0x1f
cmp dword [esp + 0x34], 2
fadd qword [eax*8 + 0x5083b0]
fstp qword [esp + 4]
fld qword [esp + 4]
jb 0x4c04c4
fld qword [0x509340]
mov eax, dword [esp + 0x34]
lea edi, [eax - 1]
shr edi, 1
je 0x4c0ecf
mov edx, edi
xor eax, eax
lea esi, [esi]
lea edi, [edi]
jmp 0x4c0444
faddp st(2)
fild dword [esp + eax*8 + 0x5c]
fxch st(1)
fmul st(2), st(0)
fild dword [esp + eax*8 + 0x60]
mov edi, dword [esp + eax*8 + 0x5c]
shr edi, 0x1f
fxch st(2)
fadd qword [edi*8 + 0x5083b0]
fstp qword [esp + 4]
fld qword [esp + 4]
mov edi, dword [esp + eax*8 + 0x60]
inc eax
shr edi, 0x1f
faddp st(3)
fmul st(2), st(0)
fxch st(1)
fadd qword [edi*8 + 0x5083b0]
fstp qword [esp + 4]
fld qword [esp + 4]
cmp eax, edx
jb 0x4c0442
faddp st(2)
lea eax, [eax + eax + 1]
mov dword [esp], eax
mov eax, dword [esp]
dec dword [esp + 0x34]
lea edi, [eax - 1]
cmp edi, dword [esp + 0x34]
jae 0x4c0f17
fmulp st(1)
fild dword [esp + eax*4 + 0x58]
mov edi, dword [esp + eax*4 + 0x58]
shr edi, 0x1f
fadd qword [edi*8 + 0x5083b0]
fstp qword [esp + 4]
fld qword [esp + 4]
faddp st(1)
fmul qword [ecx*8 + 0x5092f8]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
shr eax, 0x1f
fadd qword [eax*8 + 0x5083b0]
fstp qword [esp + 4]
fld qword [esp + 4]
faddp st(1)
cmp dword [esp + 0xc], 0xffffffd1
jle 0x4c04ff
mov eax, dword [esp + 0xc]
fmul qword [eax*8 + 0x5092f8]
jmp 0x4c0547
mov edx, dword [esp + 0xc]
neg edx
mov eax, edx
sar eax, 3
mov dword [esp], eax
movzx ecx, word [eax*2 + 0x509520]
mov eax, ecx
shr eax, 5
cmp eax, edx
jge 0x4c052e
mov eax, dword [esp]
movzx ecx, word [eax*2 + 0x509522]
mov eax, ecx
shr eax, 5
and ecx, 0x1f
mov edx, dword [esp + 0xc]
add edx, eax
fld qword [ecx*8 + 0x509480]
fmul qword [edx*8 + 0x5092f8]
fmulp st(1)
test dword [esp + 0x44], 0x400000
je 0x4c0561
fstp qword [esp + 0x18]
and dword [esp + 0x18], 0xefffffff
fld qword [esp + 0x18]
fld st(0)
fstp qword [esp + 4]
fld qword [esp + 4]
fcomp qword [0x508fd8]
fnstsw ax
sahf
jbe 0x4c0582
fstp st(0)
mov edx, ebx
and edx, 8
jmp 0x4c097d
fstp qword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 8], edx
and edx, 0x7ff00000
mov eax, dword [esp + 0x18]
mov dword [esp + 4], eax
shr edx, 0x14
mov dword [esp + 0x2c], edx
je 0x4c05cb
mov edx, dword [esp + 8]
mov ecx, eax
or edx, 0xfff00000
mov eax, ecx
shl edx, 0xb
shr eax, 0x15
shl ecx, 0xb
or edx, eax
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
jmp 0x4c0657
cmp dword [esp + 8], 0
je 0x4c061d
mov eax, dword [esp + 8]
shl eax, 0xc
mov dword [esp + 8], eax
mov dword [esp], 0
test eax, eax
jle 0x4c05f9
mov edx, dword [esp]
add eax, eax
inc edx
test eax, eax
jg 0x4c05eb
mov dword [esp + 8], eax
mov dword [esp], edx
mov eax, dword [esp]
mov edx, eax
add eax, 0xc
neg edx
mov ecx, eax
neg ecx
mov edi, dword [esp + 4]
shr edi, cl
mov ecx, eax
or dword [esp + 8], edi
shl dword [esp + 4], cl
mov dword [esp + 0x2c], edx
jmp 0x4c0657
mov dword [esp + 8], eax
mov dword [esp + 0x2c], 0
test eax, eax
jle 0x4c0642
mov edx, eax
mov eax, dword [esp + 0x2c]
add edx, edx
inc eax
test edx, edx
jg 0x4c0633
mov dword [esp + 0x2c], eax
mov dword [esp + 8], edx
mov eax, dword [esp + 0x2c]
add eax, 0x14
neg eax
mov dword [esp + 0x2c], eax
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
xor edx, edx
test eax, eax
setne dl
mov edi, dword [esp + 8]
inc edx
add dword [esp + 0x2c], 0xfffffc02
mov dword [esp + 0x98], edi
mov dword [esp + 0x9c], eax
mov dword [esp + 0x34], edx
mov eax, dword [esp + 0x44]
mov ecx, eax
shr ecx, 0x16
and eax, 0x80000000
and ecx, 7
or eax, ecx
jne 0x4c069b
mov ecx, 6
mov eax, ecx
and eax, 2
test cl, 4
je 0x4c06b9
test eax, eax
mov eax, 0xaaaa
jne 0x4c06b3
mov eax, 0xfa
mov dword [esp + 4], eax
jmp 0x4c06da
test eax, eax
je 0x4c06c7
mov dword [esp + 4], 0xfa00
jmp 0x4c06da
mov eax, 0xa8a8
test cl, 1
je 0x4c06d6
mov eax, 0
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2c]
lea edx, [eax + 0x95]
mov dword [esp + 0x30], edx
cmp edx, 0x18
jle 0x4c06f7
mov dword [esp + 0x30], 0x18
jmp 0x4c0702
cmp dword [esp + 0x30], 0
js 0x4c0398
mov edi, dword [esp + 0x30]
mov edx, edi
xor eax, eax
and edi, 0x1f
mov dword [esp + 0x30], edi
setne al
sar edx, 5
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], eax
add edx, eax
mov dword [esp + 0x20], edx
cmp edx, dword [esp + 0x34]
jbe 0x4c0740
add ecx, 0xfffffffe
test ecx, 0xfffffffd
je 0x4c0740
mov edx, ebx
and edx, 8
jmp 0x4c0973
mov eax, edx
cmp dword [esp + 0x30], 0
mov edx, dword [esp + eax*4 + 0x94]
mov dword [esp + 0x18], edx
je 0x4c082d
mov eax, edi
neg eax
mov edi, edx
mov edx, edi
mov dword [esp + 0x10], ebx
mov ebx, 1
lea ecx, [eax + 0x1f]
add eax, 0x20
shr edx, cl
and edx, 1
mov dword [esp], ecx
mov ecx, eax
mov dword [esp + 8], edx
mov edx, edi
mov eax, 1
shl ebx, cl
shr edx, cl
mov ecx, dword [esp]
and edx, 1
shl eax, cl
dec eax
and eax, edi
mov ecx, dword [esp + 0x34]
or dword [esp + 0x38], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0xc], edx
mov ebx, dword [esp + 0x10]
cmp ecx, dword [esp + 0x20]
jbe 0x4c08e2
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
lea edx, [edx + eax + 1]
cmp edx, dword [esp + 0x34]
ja 0x4c08e2
mov eax, ecx
sub eax, edx
inc eax
mov dword [esp + 0x34], eax
shr eax, 1
je 0x4c0e89
mov edi, eax
mov dword [esp + 0x14], ebp
lea ecx, [esp + edx*4 + 0x94]
mov dword [esp], ecx
xor eax, eax
mov ecx, dword [esp + 0x38]
mov ebp, dword [esp]
or ecx, dword [ebp + eax*8]
or ecx, dword [ebp + eax*8 + 4]
inc eax
cmp eax, edi
jb 0x4c07f1
mov dword [esp + 0x38], ecx
lea ecx, [eax + eax + 1]
mov ebp, dword [esp + 0x14]
lea eax, [ecx - 1]
cmp eax, dword [esp + 0x34]
jae 0x4c08e2
add edx, ecx
mov eax, dword [esp + 0x38]
or eax, dword [esp + edx*4 + 0x90]
mov dword [esp + 0x38], eax
jmp 0x4c08e2
mov ecx, eax
and edx, 1
mov eax, dword [esp + ecx*4 + 0x98]
mov edi, eax
add eax, eax
mov dword [esp + 0xc], edx
or dword [esp + 0x38], eax
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
shr edi, 0x1f
mov dword [esp + 8], edi
lea ecx, [edx + eax + 1]
cmp ecx, dword [esp + 0x34]
jae 0x4c08da
mov edx, eax
mov eax, dword [esp + 0x28]
lea edx, [eax + edx + 2]
add eax, 2
cmp eax, dword [esp + 0x34]
ja 0x4c08da
mov eax, dword [esp + 0x34]
sub eax, edx
inc eax
mov dword [esp + 0x34], eax
shr eax, 1
je 0x4c0e93
mov edi, eax
mov dword [esp + 0x14], ebp
lea ecx, [esp + edx*4 + 0x94]
mov dword [esp], ecx
xor eax, eax
mov ecx, dword [esp + 0x38]
mov ebp, dword [esp]
or ecx, dword [ebp + eax*8]
or ecx, dword [ebp + eax*8 + 4]
inc eax
cmp eax, edi
jb 0x4c089d
mov dword [esp + 0x38], ecx
lea ecx, [eax + eax + 1]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x1c], 1
lea eax, [ecx - 1]
cmp eax, dword [esp + 0x34]
jae 0x4c08e2
add edx, ecx
mov eax, dword [esp + 0x38]
or eax, dword [esp + edx*4 + 0x90]
mov dword [esp + 0x38], eax
jmp 0x4c08e2
mov dword [esp + 0x1c], 1
mov edx, dword [esp + 8]
xor eax, eax
mov ecx, dword [esp + 0xc]
cmp dword [esp + 0x38], 0
setne al
lea edi, [edx + ecx*2]
mov edx, ebx
and edx, 8
lea ecx, [edx + eax*4]
add ecx, edi
mov edi, dword [esp + 4]
shr edi, cl
test edi, 1
je 0x4c0973
cmp dword [esp + 0x20], 0
je 0x4c095a
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
add eax, ecx
mov dword [esp + 0x18], eax
cmp eax, ecx
jae 0x4c0e9d
mov ecx, dword [esp + 0x20]
mov dword [esp + ecx*4 + 0x94], eax
mov dword [esp + 0x94], 0
dec ecx
mov eax, dword [esp + ecx*4 + 0x94]
cmp eax, 0xffffffff
je 0x4c0942
mov dword [esp + 0x20], ecx
cmp dword [esp + 0x20], 0
jne 0x4c096b
inc dword [esp + 0x2c]
mov dword [esp + 0x98], 0x80000000
jmp 0x4c0973
inc eax
mov dword [esp + ecx*4 + 0x94], eax
cmp dword [esp + 0x2c], 0x80
jle 0x4c09ed
mov eax, dword [esp + 0x44]
and eax, 0x1c00000
cmp eax, 0x400000
je 0x4c09e7
cmp eax, 0x1000000
jne 0x4c09a3
test edx, edx
je 0x4c09b9
fld dword [0x50917c]
jmp 0x4c0aa7
cmp eax, 0x800000
jne 0x4c09b9
test edx, edx
jne 0x4c09b9
fld dword [0x509178]
jmp 0x4c0aa7
test edx, edx
je 0x4c09c5
fld dword [0x50915c]
jmp 0x4c09cb
fld dword [0x509158]
mov eax, ebx
or eax, 0x8000000
test dword [esp + 0x44], 0x2000
je 0x4c0aa7
mov ebx, eax
jmp 0x4c0aa7
test edx, edx
jne 0x4c0998
jmp 0x4c09ae
cmp dword [esp + 0x2c], 0xffffff82
jg 0x4c0a61
cmp dword [esp + 0x2c], 0xffffff6c
jl 0x4c0a08
test dword [esp + 0x44], 0x10000000
je 0x4c0a61
mov eax, dword [esp + 0x44]
and eax, 0x1c00000
cmp eax, 0x1000000
jne 0x4c0a27
test edx, edx
jne 0x4c0a3a
fld dword [0x509160]
jmp 0x4c0aa7
cmp eax, 0x800000
jne 0x4c0a3a
test edx, edx
je 0x4c0a3a
fld dword [0x509164]
jmp 0x4c0aa7
test edx, edx
je 0x4c0a46
fld dword [0x50914c]
jmp 0x4c0a4c
fld dword [0x509148]
mov eax, ebx
or eax, 0x9000000
test dword [esp + 0x44], 0x4000
je 0x4c0aa7
mov ebx, eax
jmp 0x4c0aa7
mov eax, dword [esp + 0x98]
cmp dword [esp + 0x2c], 0xffffff82
jle 0x4c0a88
mov ecx, dword [esp + 0x2c]
shr eax, 8
shl ecx, 0x17
and eax, 0xff7fffff
add ecx, 0x3f000000
or eax, ecx
jmp 0x4c0a93
mov ecx, dword [esp + 0x2c]
neg ecx
add ecx, 0xb
shr eax, cl
mov ecx, eax
or ecx, 0x80000000
test edx, edx
jne 0x4c0aa1
mov ecx, eax
mov dword [esp], ecx
fld dword [esp]
cmp dword [esp + 0x40], 0
je 0x4c0ac6
test dword [esp + 0x44], 0x40000
je 0x4c0ac0
mov eax, dword [esp + 0x40]
mov dword [eax], ebp
jmp 0x4c0ac6
mov eax, dword [esp + 0x40]
mov dword [eax], esi
mov eax, dword [esp + 0x104]
test eax, eax
je 0x4c0ad6
shr ebx, 0x18
mov dword [eax], ebx
mov ecx, dword [esp + 0xd4]
mov dword [esp + 0xd4], 0
xor ecx, esp
cmp ecx, dword [0x52ec00]
jne 0x4c0db4
add esp, 0xd8
pop ebp
pop ebx
pop edi
pop esi
ret
xor ecx, ecx
fldz
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ecx
jmp 0x4c0068
fstp st(0)
call fcn.004cba1b
mov ecx, dword [esp + 8]
jmp 0x4bff00
mov dword [esp + 0x50], ebp
mov ecx, dword [esp + 0x30]
jmp 0x4c0068
mov dword [esp], 1
jmp 0x4c02a6
mov edx, dword [esp + 0x34]
shr edx, 1
je 0x4c0e80
mov dword [esp + 8], edx
xor ecx, ecx
mov edx, dword [esp + 0x34]
mov eax, edx
mov dword [esp + 4], esi
mov dword [esp + 0x14], ebp
lea edi, [esp + edx*4 + 0x94]
mov edx, dword [esp + 8]
lea eax, [esp + eax*4 + 0x54]
mov dword [esp], eax
xor eax, eax
mov esi, dword [esp]
mov ebp, edi
mov edi, dword [eax + esi]
inc ecx
mov dword [eax + ebp], edi
mov edi, dword [eax + esi - 4]
mov dword [eax + ebp - 4], edi
add eax, 0xfffffff8
cmp ecx, edx
jb 0x4c0e28
mov esi, dword [esp + 4]
lea eax, [ecx + ecx + 1]
mov ebp, dword [esp + 0x14]
mov dword [esp], eax
mov eax, dword [esp]
lea edx, [eax - 1]
cmp edx, dword [esp + 0x34]
jae 0x4c0352
mov edx, eax
shl edx, 2
mov eax, dword [esp + 0x34]
neg edx
lea ecx, [esp + eax*4 + 0x54]
mov edi, dword [edx + ecx + 4]
lea eax, [esp + eax*4 + 0x94]
mov dword [edx + eax + 4], edi
jmp 0x4c0352
mov dword [esp], 1
jmp 0x4c0e4d
mov ecx, 1
jmp 0x4c080a
mov ecx, 1
jmp 0x4c08b6
cmp dword [esp + 0x30], 0
je 0x4c0ebf
mov edi, dword [esp + 0x20]
mov eax, ecx
dec eax
not eax
mov ecx, dword [esp + 0x18]
and ecx, eax
mov dword [esp + edi*4 + 0x94], ecx
jmp 0x4c0973
mov ecx, dword [esp + 0x20]
mov dword [esp + ecx*4 + 0x94], eax
jmp 0x4c0973
mov dword [esp], 1
jmp 0x4c0492
xor ecx, ecx
fldz
mov dword [esp + 0x50], ebp
mov dword [esp + 0x3c], edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ecx
jmp 0x4c0068
mov ebp, dword [esp + 0x50]
jmp 0x4bfce2
xor ebp, ebp
mov ebx, 0x6000000
fldz
jmp 0x4c0aa7
fstp st(0)
jmp 0x4c04c4