Function at 0x4bdee0
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 [0x543b10]
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 0x4be01f
test dword [esp + 0x44], 0x10000
je 0x4be018
lea eax, [esp + 0x10b]
and eax, 0xfffffffc
movsx eax, byte [eax]
jmp 0x4be024
mov eax, 0x2c
jmp 0x4be024
mov eax, 0x2e
cmp dword [esp + 0x50], 0
jle 0x4bf2a9
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 0x4be08b
lea ecx, [edx - 9]
cmp ecx, 4
ja 0x4bf2a0
mov ebp, dword [esp + 0x50]
lea edx, [esi + 1]
mov esi, edx
dec ebp
je 0x4bf27b
movsx edx, byte [edx]
lea ecx, [edx - 9]
cmp ecx, 4
jbe 0x4be06b
cmp edx, 0x20
je 0x4be06b
mov dword [esp + 0x50], ebp
mov dword [esp + 0x3c], esi
cmp edx, 0x2d
jne 0x4be099
add ebx, 8
jmp 0x4be09e
cmp edx, 0x2b
jne 0x4be0ac
add ebx, 2
inc esi
dec dword [esp + 0x50]
je 0x4beea1
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 0x4be311
movzx eax, word [eax*2 + 0x50ab60]
add eax, 0x4be10b
jmp eax
fstp st(0)
mov dword [esp + 0x3c], esi
test bl, 8
je 0x4be25f
fld dword [0x50b8fc]
jmp 0x4be265
fld dword [0x50b8f8]
and ebx, 0xfffffff7
mov eax, ebx
mov ecx, dword [esp + 0x44]
or eax, 0xc000000
test ecx, 0x40000000
je 0x4be27d
mov ebx, eax
test cl, 2
je 0x4be33a
test ebp, ebp
je 0x4be33a
cmp byte [esi], 0x20
jne 0x4be33a
inc esi
dec ebp
jne 0x4be28e
jmp 0x4be33a
cmp byte [eax - 1], 0x66
je 0x4be24c
mov esi, ecx
neg ecx
lea ebp, [eax + ecx]
jmp 0x4be33a
cmp edx, 9
jne 0x4be323
test byte [esp + 0x44], 1
jne 0x4be3f8
jmp 0x4be33a
cmp edx, 0x20
jne 0x4be33a
test byte [esp + 0x44], 2
jne 0x4be3f8
test byte [esp + 0x44], 0x40
jne 0x4be35d
cmp edx, dword [esp + 0x1c]
jne 0x4bf176
test bl, 1
jne 0x4bf176
mov dword [esp + 0x28], 0
or ebx, 1
jmp 0x4be3f8
mov edx, 0x30
cmp dword [esp + 0x24], 0
je 0x4be3e5
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 0x4be3ba
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 0x4be3f8
mov eax, dword [esp + 0x34]
cmp eax, dword [esp + 0x14]
jae 0x4be3df
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 0x4be3f8
or dword [esp + 0x38], edx
jmp 0x4be3f8
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 0x4be0ed
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 0x4be41d
mov ebp, dword [esp + 0x3c]
and eax, 0x40
mov dword [esp + 4], eax
je 0x4be428
mov ebp, esi
test dword [esp + 0x44], 0x8000
je 0x4be45c
test dword [esp + 0x44], 0x80000000
je 0x4be44a
cmp dword [esp + 0x50], 0
je 0x4be45c
cmp byte [esi], 0
jne 0x4be451
jmp 0x4be45c
cmp dword [esp + 0x50], 0
je 0x4be45c
or ebx, 0x3000000
jmp 0x4bee47
mov eax, ebx
and eax, 0x200
mov dword [esp], eax
je 0x4be472
mov eax, ebx
and eax, 0x54
cmp eax, 0x54
jne 0x4be451
cmp dword [esp + 0x24], 0
jne 0x4be4b0
mov eax, ebx
and eax, 0xc
cmp eax, 0xc
jne 0x4be48d
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 0x4bee47
mov ebx, edx
jmp 0x4bee47
test bl, 0x20
je 0x4be4bc
cmp dword [esp + 4], 0
je 0x4be451
fstp st(0)
test bl, 0x10
je 0x4be50d
cmp dword [esp + 0x1c], 6
jbe 0x4be4e0
mov edx, ebx
and edx, 8
test ebx, 0x80
jne 0x4beda8
jmp 0x4bed1d
mov eax, dword [esp + 0x20]
mov edx, eax
neg edx
test ebx, 0x80
mov edi, dword [esp + 0x4c]
jne 0x4be4f6
mov edx, eax
test dword [esp + 0x44], 0x400
jne 0x4be505
mov edi, 0
sub edx, edi
mov dword [esp + 0x18], edx
jmp 0x4be517
mov eax, dword [esp + 0x4c]
neg eax
mov dword [esp + 0x18], eax
cmp dword [esp], 0
je 0x4be70e
shl ecx, 2
neg ecx
shl dword [esp + 0x2c], cl
cmp dword [esp + 0x24], 8
ja 0x4be56f
mov dword [esp + 0xc], 0
cmp dword [esp + 0x2c], 0
jle 0x4be557
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0xc]
add eax, eax
inc edx
test eax, eax
jg 0x4be548
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 0x4be6f2
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 0x4be590
dec eax
cmp dword [esp + eax*4 + 0x54], 0
je 0x4be584
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xc], 0
test eax, eax
jle 0x4be689
mov edx, dword [esp + 0xc]
add eax, eax
inc edx
test eax, eax
jg 0x4be5a8
mov dword [esp + 0xc], edx
mov dword [esp + 0x58], eax
cmp dword [esp + 0xc], 0
je 0x4be689
mov dword [esp + 0x98], eax
cmp dword [esp + 0x34], 1
jbe 0x4be6f2
mov eax, dword [esp + 0x34]
lea eax, [eax - 1]
shr eax, 1
je 0x4bf183
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 0x4be5f6
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 0x4be6f2
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 0x4be6f2
cmp dword [esp + 0x34], 0
je 0x4be6f2
cmp dword [esp + 0x34], 0x18
jle 0x4bf18f
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 0x4bf18f
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.004ca960
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 0x4bea21
test bl, 1
je 0x4be71d
mov eax, dword [esp + 0x28]
sub dword [esp + 0x18], eax
jmp 0x4be729
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 0x4be742
mov edx, ebx
and edx, 8
jmp 0x4beda8
cmp eax, 0x27
jle 0x4be751
mov edx, ebx
and edx, 8
jmp 0x4bed1d
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 0x4be768
mov edi, ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0xc], edi
cmp edx, 9
ja 0x4be798
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
shr eax, 0x1f
fadd qword [eax*8 + 0x50ab50]
fstp qword [esp + 4]
fld qword [esp + 4]
jmp 0x4be88b
fild dword [esp + 0x58]
mov eax, dword [esp + 0x58]
shr eax, 0x1f
cmp dword [esp + 0x34], 2
fadd qword [eax*8 + 0x50ab50]
fstp qword [esp + 4]
fld qword [esp + 4]
jb 0x4be864
fld qword [0x50bae0]
mov eax, dword [esp + 0x34]
lea edi, [eax - 1]
shr edi, 1
je 0x4bf26f
mov edx, edi
xor eax, eax
lea esi, [esi]
lea edi, [edi]
jmp 0x4be7e4
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 + 0x50ab50]
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 + 0x50ab50]
fstp qword [esp + 4]
fld qword [esp + 4]
cmp eax, edx
jb 0x4be7e2
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 0x4bf2b7
fmulp st(1)
fild dword [esp + eax*4 + 0x58]
mov edi, dword [esp + eax*4 + 0x58]
shr edi, 0x1f
fadd qword [edi*8 + 0x50ab50]
fstp qword [esp + 4]
fld qword [esp + 4]
faddp st(1)
fmul qword [ecx*8 + 0x50ba98]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
shr eax, 0x1f
fadd qword [eax*8 + 0x50ab50]
fstp qword [esp + 4]
fld qword [esp + 4]
faddp st(1)
cmp dword [esp + 0xc], 0xffffffd1
jle 0x4be89f
mov eax, dword [esp + 0xc]
fmul qword [eax*8 + 0x50ba98]
jmp 0x4be8e7
mov edx, dword [esp + 0xc]
neg edx
mov eax, edx
sar eax, 3
mov dword [esp], eax
movzx ecx, word [eax*2 + 0x50bcc0]
mov eax, ecx
shr eax, 5
cmp eax, edx
jge 0x4be8ce
mov eax, dword [esp]
movzx ecx, word [eax*2 + 0x50bcc2]
mov eax, ecx
shr eax, 5
and ecx, 0x1f
mov edx, dword [esp + 0xc]
add edx, eax
fld qword [ecx*8 + 0x50bc20]
fmul qword [edx*8 + 0x50ba98]
fmulp st(1)
test dword [esp + 0x44], 0x400000
je 0x4be901
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 [0x50b778]
fnstsw ax
sahf
jbe 0x4be922
fstp st(0)
mov edx, ebx
and edx, 8
jmp 0x4bed1d
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 0x4be96b
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 0x4be9f7
cmp dword [esp + 8], 0
je 0x4be9bd
mov eax, dword [esp + 8]
shl eax, 0xc
mov dword [esp + 8], eax
mov dword [esp], 0
test eax, eax
jle 0x4be999
mov edx, dword [esp]
add eax, eax
inc edx
test eax, eax
jg 0x4be98b
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 0x4be9f7
mov dword [esp + 8], eax
mov dword [esp + 0x2c], 0
test eax, eax
jle 0x4be9e2
mov edx, eax
mov eax, dword [esp + 0x2c]
add edx, edx
inc eax
test edx, edx
jg 0x4be9d3
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 0x4bea3b
mov ecx, 6
mov eax, ecx
and eax, 2
test cl, 4
je 0x4bea59
test eax, eax
mov eax, 0xaaaa
jne 0x4bea53
mov eax, 0xfa
mov dword [esp + 4], eax
jmp 0x4bea7a
test eax, eax
je 0x4bea67
mov dword [esp + 4], 0xfa00
jmp 0x4bea7a
mov eax, 0xa8a8
test cl, 1
je 0x4bea76
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 0x4bea97
mov dword [esp + 0x30], 0x18
jmp 0x4beaa2
cmp dword [esp + 0x30], 0
js 0x4be738
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 0x4beae0
add ecx, 0xfffffffe
test ecx, 0xfffffffd
je 0x4beae0
mov edx, ebx
and edx, 8
jmp 0x4bed13
mov eax, edx
cmp dword [esp + 0x30], 0
mov edx, dword [esp + eax*4 + 0x94]
mov dword [esp + 0x18], edx
je 0x4bebcd
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 0x4bec82
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
lea edx, [edx + eax + 1]
cmp edx, dword [esp + 0x34]
ja 0x4bec82
mov eax, ecx
sub eax, edx
inc eax
mov dword [esp + 0x34], eax
shr eax, 1
je 0x4bf229
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 0x4beb91
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 0x4bec82
add edx, ecx
mov eax, dword [esp + 0x38]
or eax, dword [esp + edx*4 + 0x90]
mov dword [esp + 0x38], eax
jmp 0x4bec82
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 0x4bec7a
mov edx, eax
mov eax, dword [esp + 0x28]
lea edx, [eax + edx + 2]
add eax, 2
cmp eax, dword [esp + 0x34]
ja 0x4bec7a
mov eax, dword [esp + 0x34]
sub eax, edx
inc eax
mov dword [esp + 0x34], eax
shr eax, 1
je 0x4bf233
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 0x4bec3d
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 0x4bec82
add edx, ecx
mov eax, dword [esp + 0x38]
or eax, dword [esp + edx*4 + 0x90]
mov dword [esp + 0x38], eax
jmp 0x4bec82
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 0x4bed13
cmp dword [esp + 0x20], 0
je 0x4becfa
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
add eax, ecx
mov dword [esp + 0x18], eax
cmp eax, ecx
jae 0x4bf23d
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 0x4bece2
mov dword [esp + 0x20], ecx
cmp dword [esp + 0x20], 0
jne 0x4bed0b
inc dword [esp + 0x2c]
mov dword [esp + 0x98], 0x80000000
jmp 0x4bed13
inc eax
mov dword [esp + ecx*4 + 0x94], eax
cmp dword [esp + 0x2c], 0x80
jle 0x4bed8d
mov eax, dword [esp + 0x44]
and eax, 0x1c00000
cmp eax, 0x400000
je 0x4bed87
cmp eax, 0x1000000
jne 0x4bed43
test edx, edx
je 0x4bed59
fld dword [0x50b91c]
jmp 0x4bee47
cmp eax, 0x800000
jne 0x4bed59
test edx, edx
jne 0x4bed59
fld dword [0x50b918]
jmp 0x4bee47
test edx, edx
je 0x4bed65
fld dword [0x50b8fc]
jmp 0x4bed6b
fld dword [0x50b8f8]
mov eax, ebx
or eax, 0x8000000
test dword [esp + 0x44], 0x2000
je 0x4bee47
mov ebx, eax
jmp 0x4bee47
test edx, edx
jne 0x4bed38
jmp 0x4bed4e
cmp dword [esp + 0x2c], 0xffffff82
jg 0x4bee01
cmp dword [esp + 0x2c], 0xffffff6c
jl 0x4beda8
test dword [esp + 0x44], 0x10000000
je 0x4bee01
mov eax, dword [esp + 0x44]
and eax, 0x1c00000
cmp eax, 0x1000000
jne 0x4bedc7
test edx, edx
jne 0x4bedda
fld dword [0x50b900]
jmp 0x4bee47
cmp eax, 0x800000
jne 0x4bedda
test edx, edx
je 0x4bedda
fld dword [0x50b904]
jmp 0x4bee47
test edx, edx
je 0x4bede6
fld dword [0x50b8ec]
jmp 0x4bedec
fld dword [0x50b8e8]
mov eax, ebx
or eax, 0x9000000
test dword [esp + 0x44], 0x4000
je 0x4bee47
mov ebx, eax
jmp 0x4bee47
mov eax, dword [esp + 0x98]
cmp dword [esp + 0x2c], 0xffffff82
jle 0x4bee28
mov ecx, dword [esp + 0x2c]
shr eax, 8
shl ecx, 0x17
and eax, 0xff7fffff
add ecx, 0x3f000000
or eax, ecx
jmp 0x4bee33
mov ecx, dword [esp + 0x2c]
neg ecx
add ecx, 0xb
shr eax, cl
mov ecx, eax
or ecx, 0x80000000
test edx, edx
jne 0x4bee41
mov ecx, eax
mov dword [esp], ecx
fld dword [esp]
cmp dword [esp + 0x40], 0
je 0x4bee66
test dword [esp + 0x44], 0x40000
je 0x4bee60
mov eax, dword [esp + 0x40]
mov dword [eax], ebp
jmp 0x4bee66
mov eax, dword [esp + 0x40]
mov dword [eax], esi
mov eax, dword [esp + 0x104]
test eax, eax
je 0x4bee76
shr ebx, 0x18
mov dword [eax], ebx
mov ecx, dword [esp + 0xd4]
mov dword [esp + 0xd4], 0
xor ecx, esp
cmp ecx, dword [0x543b10]
jne 0x4bf154
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 0x4be408
fstp st(0)
call fcn.004cf95b
mov ecx, dword [esp + 8]
jmp 0x4be2a0
mov dword [esp + 0x50], ebp
mov ecx, dword [esp + 0x30]
jmp 0x4be408
mov dword [esp], 1
jmp 0x4be646
mov edx, dword [esp + 0x34]
shr edx, 1
je 0x4bf220
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 0x4bf1c8
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 0x4be6f2
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 0x4be6f2
mov dword [esp], 1
jmp 0x4bf1ed
mov ecx, 1
jmp 0x4bebaa
mov ecx, 1
jmp 0x4bec56
cmp dword [esp + 0x30], 0
je 0x4bf25f
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 0x4bed13
mov ecx, dword [esp + 0x20]
mov dword [esp + ecx*4 + 0x94], eax
jmp 0x4bed13
mov dword [esp], 1
jmp 0x4be832
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 0x4be408
mov ebp, dword [esp + 0x50]
jmp 0x4be082
xor ebp, ebp
mov ebx, 0x6000000
fldz
jmp 0x4bee47
fstp st(0)
jmp 0x4be864