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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x56e33c
push eax
mov dword fs:[0], esp
sub esp, 0xa0
push ebp
push esi
push edi
mov edi, dword [esp + 0xbc]
xor ebp, ebp
mov esi, ecx
mov edx, dword [edi + 8]
cmp edx, ebp
jne 0x4b558a
mov eax, 2
jmp 0x4b5cc1
mov eax, dword [esi + 0xbc]
cmp edx, 4
push ebx
mov dword [esp + 0x54], eax
je 0x4b55a3
cmp edx, 5
jne 0x4b568c
mov ecx, dword [edi]
fld qword [ecx]
fld qword [ecx + 8]
fst qword [esp + 0x4c]
mov eax, dword [ecx + 0x10]
mov ebx, dword [ecx + 0x14]
fld st(1)
mov dword [esp + 0x24], eax
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x28], ebx
mov ebx, dword [ecx + 0x1c]
fcomp qword [esp + 0x24]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ebx
fnstsw ax
test ah, 0x40
jne 0x4b55e8
fcomp qword [esp + 0x38]
fnstsw ax
test ah, 0x40
je 0x4b568a
jmp 0x4b55ea
fstp st(0)
fld qword [ecx + 0x20]
fld qword [esp + 0x24]
mov eax, dword [ecx + 0x28]
mov ebx, dword [ecx + 0x2c]
fcomp st(1)
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ebx
fnstsw ax
test ah, 0x40
jne 0x4b5617
fld qword [esp + 0x38]
fcomp qword [esp + 0x44]
fnstsw ax
test ah, 0x40
je 0x4b5688
fld qword [ecx + 0x30]
fxch st(1)
fcomp st(1)
mov eax, dword [ecx + 0x38]
mov ebx, dword [ecx + 0x3c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ebx
fnstsw ax
test ah, 0x40
fstp st(0)
jne 0x4b5644
fld qword [esp + 0x44]
fcomp qword [esp + 0x24]
fnstsw ax
test ah, 0x40
je 0x4b568a
cmp edx, 5
jne 0x4b567e
fld qword [ecx + 0x40]
fxch st(1)
fcomp st(1)
mov eax, dword [ecx + 0x4c]
mov edx, dword [ecx + 0x48]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], edx
fnstsw ax
test ah, 0x40
fstp st(0)
jne 0x4b5676
fld qword [esp + 0x4c]
fcomp qword [esp + 0x24]
fnstsw ax
test ah, 0x40
je 0x4b568c
mov dword [esi + 0xbc], ebp
jmp 0x4b568c
fstp st(0)
mov dword [esi + 0xbc], ebp
jmp 0x4b568c
fstp st(0)
fstp st(0)
push 0xc
call fcn.0055d252
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, ebp
mov dword [esp + 0xb8], ebp
je 0x4b56bf
mov edx, dword [esi + 4]
push 1
mov ecx, dword [edx + 0x6c]
push ecx
mov ecx, dword [edx + 0x68]
push ecx
push edx
push edi
mov ecx, eax
call fcn.004e1d40
mov edi, eax
jmp 0x4b56c1
xor edi, edi
mov eax, dword [esi + 0xbc]
or ebx, 0xffffffff
cmp eax, ebp
mov dword [esp + 0x24], edi
mov dword [esp + 0xb8], ebx
je 0x4b56e0
mov ecx, edi
call fcn.004e2b50
mov ecx, edi
call fcn.004e2ba0
push 0x34
call fcn.0055d252
add esp, 4
mov dword [esp + 0x38], eax
cmp eax, ebp
mov dword [esp + 0xb8], 1
je 0x4b5716
mov edx, dword [esp + 0xc4]
mov ecx, eax
push edx
push edi
call fcn.004e3850
jmp 0x4b5718
xor eax, eax
mov ecx, dword [esi + 0xbc]
mov dword [esp + 0x34], eax
cmp ecx, ebp
mov dword [esp + 0xb8], ebx
je 0x4b574a
lea ecx, [esp + 0x18]
lea edx, [esp + 0x4c]
push ecx
push edx
lea ecx, [esp + 0x28]
lea edx, [esp + 0x4c]
push ecx
push edx
mov ecx, eax
call fcn.004e3a40
jmp 0x4b5766
mov ecx, dword [eax + 8]
mov dword [esp + 0x44], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x20], edx
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x4c], ecx
mov edx, dword [eax + 0x14]
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esi + 4]
push edx
push eax
mov ecx, dword [ecx + 0x84]
call fcn.004bd2b0
cmp eax, 1
mov dword [esp + 0x40], eax
je 0x4b5c7a
mov edx, dword [esi + 4]
mov eax, dword [edx + 0x84]
mov ecx, dword [eax + 0x2c]
mov eax, dword [esp + 0x20]
cmp eax, ecx
jge 0x4b57af
mov eax, ecx
mov dword [esp + 0x20], eax
mov ecx, dword [edx + 0x84]
mov edx, dword [esp + 0x18]
mov ecx, dword [ecx + 0x34]
cmp edx, ecx
jle 0x4b57c4
mov dword [esp + 0x18], ecx
mov ebp, dword [esi + 0xbc]
push eax
lea edx, [esp + 0x5c]
push 0
push edx
mov ecx, esi
mov ebx, eax
call fcn.004b48d0
mov edi, dword [esp + 0xc8]
mov dword [esp + 0x60], 0
test edi, edi
je 0x4b5820
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xc]
test eax, eax
je 0x4b5812
mov edx, dword [edi]
lea eax, [esp + 0x7c]
push eax
push ebx
push 0
mov ecx, edi
call dword [edx + 8]
lea ecx, [esp + 0x7c]
mov dword [esp + 0x78], ecx
jmp 0x4b5828
lea ecx, [esp + 0x7c]
mov dword [esp + 0x60], edi
mov dword [esp + 0x78], ecx
jmp 0x4b5828
mov dword [esp + 0x78], 0
mov edx, dword [esp + 0xcc]
mov eax, dword [esp + 0xd0]
mov ecx, dword [esi + 4]
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], eax
mov eax, dword [ecx + 0x88]
test eax, eax
jne 0x4b587f
fld qword [esp + 0xcc]
fmul qword [0x573718]
test ebp, ebp
je 0x4b5862
fstp qword [esp + 0x68]
jmp 0x4b587f
fadd qword [0x571968]
sub esp, 8
fstp qword [esp]
call fcn.00502c3a
add esp, 8
call fcn.00502d0c
mov byte [esp + 0x74], al
fld qword [esp + 0xcc]
fcomp qword [0x571818]
mov dword [esp + 0x70], ebp
fnstsw ax
test ah, 0x40
je 0x4b58d2
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
jne 0x4b58d2
test ebp, ebp
jne 0x4b58d2
mov ecx, dword [eax + 0x90]
test ecx, ecx
jne 0x4b58d2
mov edx, dword [esi]
mov dword [esp + 0xa0], 1
mov eax, dword [edx + 0xc]
mov ecx, dword [eax*4 + 0x5ca534]
mov dword [esp + 0xa4], ecx
jmp 0x4b5903
mov edx, dword [esi + 4]
mov dword [esp + 0xa0], 0
mov eax, dword [edx + 0x3c]
test eax, eax
mov eax, dword [esi]
mov ecx, dword [eax + 0xc]
jne 0x4b58f5
mov edx, dword [ecx*4 + 0x5ca544]
jmp 0x4b58fc
mov edx, dword [ecx*4 + 0x5ca554]
mov dword [esp + 0xa4], edx
mov eax, dword [esi + 0xbc]
mov dword [esp + 0xa8], 0
test eax, eax
je 0x4b5ad5
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
cmp edi, eax
mov dword [esp + 0x30], edi
jg 0x4b5c7a
jmp 0x4b5936
mov edi, dword [esp + 0x30]
mov edx, dword [esi + 8]
lea eax, [esp + 0x14]
push edi
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, dword [esp + 0x40]
push edx
call fcn.004e3fc0
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4b5973
mov edx, dword [esi + 8]
lea eax, [esp + 0x14]
push edi
push eax
mov eax, dword [esi + 4]
lea ecx, [esp + 0x18]
push ecx
push edx
mov ecx, dword [eax + 0x84]
call fcn.004bd4d0
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 8]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x10]
mov edi, dword [eax + 0x10]
mov eax, dword [eax + 8]
mov edx, ecx
mov dword [esp + 0x2c], ecx
sar edx, 1
add edi, edx
lea ebp, [eax + edi]
lea ebx, [eax + ebp]
add eax, ebx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x30]
push eax
push ecx
lea ecx, [esp + 0x60]
push ecx
mov ecx, esi
call fcn.004b48d0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x38]
cmp eax, ecx
mov dword [esp + 0x2c], eax
jg 0x4b5abb
test byte [esp + 0x2c], 1
je 0x4b5a0e
mov dl, byte [ebx]
mov cl, byte [edi]
and edx, 0xf
and ecx, 0xf
mov eax, dword [edx*4 + 0x5ca594]
mov edx, dword [ecx*4 + 0x5ca594]
add eax, edx
mov dl, byte [ebp]
and edx, 0xf
mov ecx, dword [edx*4 + 0x5ca594]
add eax, ecx
mov ecx, dword [esp + 0x1c]
mov dl, byte [ecx]
and edx, 0xf
add eax, dword [edx*4 + 0x5ca594]
inc edi
inc ebp
inc ebx
inc ecx
mov dword [esp + 0x1c], ecx
jmp 0x4b5a4f
xor eax, eax
xor ecx, ecx
mov al, byte [ebx]
mov cl, byte [edi]
shr eax, 4
shr ecx, 4
mov eax, dword [eax*4 + 0x5ca594]
mov edx, dword [ecx*4 + 0x5ca594]
add eax, edx
xor edx, edx
mov dl, byte [ebp]
shr edx, 4
mov ecx, dword [edx*4 + 0x5ca594]
mov edx, dword [esp + 0x1c]
add eax, ecx
xor ecx, ecx
mov cl, byte [edx]
shr ecx, 4
add eax, dword [ecx*4 + 0x5ca594]
test eax, eax
je 0x4b5a9a
fld qword [esi + eax*8 + 0x20]
lea eax, [esp + 0x58]
mov ecx, esi
fstp qword [esp + 0x98]
push eax
call fcn.004b40b0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esi + 0xa8]
cmp eax, ecx
jge 0x4b5a7e
mov dword [esi + 0xa8], eax
cmp eax, dword [esi + 0xb0]
jle 0x4b5a8c
mov dword [esi + 0xb0], eax
mov ecx, dword [esp + 0x30]
push ecx
mov ecx, esi
call fcn.004b4080
jmp 0x4b5aa6
lea edx, [esp + 0x58]
mov ecx, esi
push edx
call fcn.004b49c0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x38]
inc eax
cmp eax, ecx
mov dword [esp + 0x2c], eax
jle 0x4b59c4
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x18]
inc eax
cmp eax, ecx
mov dword [esp + 0x30], eax
jle 0x4b5932
jmp 0x4b5c7a
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
cmp ebx, eax
jg 0x4b5c7a
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
push ecx
mov ecx, dword [esp + 0x3c]
push ebx
call fcn.004e3bc0
test eax, eax
je 0x4b5c6d
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x4b5b6e
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
push ebx
lea edx, [esp + 0x5c]
push edi
push edx
mov ecx, esi
mov dword [esp + 0x44], ebp
call fcn.004b48d0
cmp edi, ebp
jg 0x4b5b3d
sub ebp, edi
inc ebp
lea eax, [esp + 0x58]
mov ecx, esi
push eax
call fcn.004b40b0
dec ebp
jne 0x4b5b2a
mov ebp, dword [esp + 0x38]
cmp edi, dword [esi + 0xa8]
jge 0x4b5b4b
mov dword [esi + 0xa8], edi
cmp edi, dword [esi + 0xb0]
jle 0x4b5b59
mov dword [esi + 0xb0], edi
push ebp
mov ecx, esi
call fcn.004b4050
push ebx
mov ecx, esi
call fcn.004b4080
jmp 0x4b5c51
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x10]
mov ecx, dword [eax + 0x84]
mov ecx, dword [ecx + 0x28]
cmp edx, ecx
jge 0x4b5b88
mov edx, ecx
mov dword [esp + 0x10], edx
mov ecx, dword [eax + 0x84]
mov edi, dword [ecx + 0x30]
mov ecx, dword [esp + 0x14]
cmp ecx, edi
jle 0x4b5b9f
mov ecx, edi
mov dword [esp + 0x14], ecx
push ebx
push ecx
mov ecx, dword [eax + 0x84]
push edx
call fcn.004bd370
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebp, eax
push ebx
lea eax, [esp + 0x5c]
push edi
push eax
mov ecx, esi
mov dword [esp + 0x28], edx
call fcn.004b48d0
test ebp, ebp
mov ebp, dword [esp + 0x1c]
jne 0x4b5c0a
cmp edi, ebp
jg 0x4b5beb
sub ebp, edi
inc ebp
lea ecx, [esp + 0x58]
push ecx
mov ecx, esi
call fcn.004b40b0
dec ebp
jne 0x4b5bd8
mov ebp, dword [esp + 0x1c]
cmp edi, dword [esi + 0xa8]
jge 0x4b5bf9
mov dword [esi + 0xa8], edi
cmp edi, dword [esi + 0xb0]
jle 0x4b5b59
jmp 0x4b5b53
cmp edi, ebp
jg 0x4b5c51
mov edx, dword [esi + 4]
push ebx
push edi
mov ecx, dword [edx + 0x84]
call fcn.004bd210
test eax, eax
je 0x4b5c40
lea eax, [esp + 0x58]
mov ecx, esi
push eax
call fcn.004b40b0
push edi
mov ecx, esi
call fcn.004b4050
push ebx
mov ecx, esi
call fcn.004b4080
jmp 0x4b5c4c
lea ecx, [esp + 0x58]
push ecx
mov ecx, esi
call fcn.004b49c0
inc edi
cmp edi, ebp
jle 0x4b5c0e
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x14]
lea eax, [esp + 0x10]
push edx
push eax
push ebx
call fcn.004e3bc0
test eax, eax
jne 0x4b5b01
mov eax, dword [esp + 0x18]
inc ebx
cmp ebx, eax
jle 0x4b5ae5
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x54]
mov dword [esi + 0xb8], ecx
mov dword [esi + 0xbc], edx
mov esi, dword [esp + 0x34]
pop ebx
test esi, esi
je 0x4b5ca7
mov ecx, esi
call fcn.004e3a30
push esi
call fcn.0055d27b
add esp, 4
mov esi, dword [esp + 0x20]
test esi, esi
je 0x4b5cbf
mov ecx, esi
call fcn.004e37e0
push esi
call fcn.0055d27b
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0xac]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0xac
ret 0x14