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

Disassembly:
push 0xffffffffffffffff
push 0x6523e3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x104
push ebx
push ebp
mov ebp, dword [esp + 0x128]
mov ebx, dword [esp + 0x11c]
push esi
mov esi, ecx
push edi
mov dword [esp + 0x28], esi
cmp dword [esi + 0x18], 1
je 0x4c1df6
mov eax, dword [esp + 0x140]
test eax, eax
je 0x4c1dba
test byte [eax + 0xc], 2
jne 0x4c1df6
mov edx, dword [esp + 0x13c]
mov edi, dword [esp + 0x138]
mov ecx, dword [esi + 0x2c]
push edx
mov edx, dword [esp + 0x138]
mov eax, dword [ecx]
push edx
mov edx, dword [esp + 0x134]
push edi
push ebp
push edx
mov edx, dword [esp + 0x13c]
push edx
push ebx
call dword [eax + 0x4c]
test eax, eax
jne 0x4c24f7
jmp 0x4c1dfd
mov edi, dword [esp + 0x138]
mov eax, dword [0x67a308]
mov dword [esp + 0x78], 0
mov ecx, eax
mov dword [esp + 0x70], eax
test edi, edi
mov dword [esp + 0x64], ecx
mov dword [esp + 0x74], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0
je 0x4c1e48
mov esi, edi
mov ecx, 6
lea edi, [esp + 0x64]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x138]
mov esi, dword [esp + 0x28]
fld dword [esp + 0x134]
mov edx, dword [esp + 0x134]
push ecx
fchs
fstp dword [esp]
push edx
lea ecx, [esp + 0x6c]
call fcn.004a2a50
fld dword [esp + 0x68]
fabs
fld dword [esp + 0x64]
fabs
fxch st(1)
fxch st(1)
faddp st(1)
fld dword [0x67a308]
fmul dword [0x67a32c]
fcompp
fnstsw ax
test ah, 1
je 0x4c1ed4
mov eax, dword [ebp + 0x58]
test eax, eax
jne 0x4c1e9d
mov eax, dword [ebp + 0x14]
test byte [eax + 0xc], 4
je 0x4c1ed4
mov eax, dword [esp + 0x13c]
mov ecx, dword [esp + 0x134]
mov edx, dword [esp + 0x12c]
push 0
push 0
push eax
mov eax, dword [esp + 0x134]
push 0
push 0
push edi
push ecx
push ebp
push edx
push eax
push ebx
mov ecx, esi
call fcn.004c2600
jmp 0x4c24f7
mov eax, dword [esi + 0x18]
mov dword [esp + 0x20], 2
cmp eax, 1
jne 0x4c1f29
mov ecx, dword [esi + 0x10]
cmp ecx, 1
jle 0x4c1f29
mov eax, dword [ebp + 0x58]
test eax, eax
jne 0x4c1efc
mov eax, dword [ebp + 0x14]
test byte [eax + 0xc], 8
je 0x4c1f21
mov eax, dword [esp + 0x140]
test eax, eax
je 0x4c1f0d
test byte [eax + 0xc], 1
je 0x4c1f21
cmp ecx, 0x10
jl 0x4c1f21
mov al, byte [esi + 0x14]
mov dword [esp + 0x20], 3
test al, 0x40
je 0x4c1f29
mov dword [esp + 0x20], 0
mov ecx, ebp
call fcn.004c27a0
lea ecx, [ebx + ebx*4]
mov esi, eax
shl ecx, 2
push ecx
call fcn.0048b3b0
mov edx, dword [esp + 0x138]
mov ecx, dword [esp + 0x12c]
add esp, 4
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x12c]
push edx
push esi
push ebp
push eax
push ecx
push ebx
lea ecx, [esp + 0xdc]
call fcn.004c1a60
xor esi, esi
test ebx, ebx
jle 0x4c2014
mov edx, dword [esp + 0x24]
lea ebp, [edx + 0xc]
push esi
lea ecx, [esp + 0xc8]
call fcn.004c1af0
cmp dword [esp + 0xc4], 0xffffffff
jne 0x4c1f9d
mov dword [ebp - 0xc], 0
jmp 0x4c2008
test edi, edi
je 0x4c1fb8
lea eax, [esp + 0xcc]
lea ecx, [esp + 0xc8]
push eax
push ecx
mov ecx, edi
call fcn.004a2790
mov edx, dword [esp + 0xc8]
push edx
call fcn.004a2d40
mov dword [ebp - 8], eax
mov eax, dword [esp + 0xcc]
mov dword [ebp], eax
mov ecx, dword [esp + 0xd0]
push ecx
call fcn.004a2d40
add esp, 8
mov dword [ebp - 4], eax
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0xcc]
lea ecx, [esp + 0x64]
push eax
push ecx
lea ecx, [esp + 0xcc]
mov dword [ebp + 4], edx
call fcn.004c1c80
mov dword [ebp - 0xc], eax
inc esi
add ebp, 0x14
cmp esi, ebx
jl 0x4c1f7d
cmp ebx, 1
jle 0x4c2029
mov ebp, dword [esp + 0x24]
push ebx
push ebp
call fcn.004c2520
add esp, 8
jmp 0x4c202d
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
lea edx, [esp + 0x10]
push esi
push ebx
push ebp
push edx
call fcn.004c0e30
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
add esp, 0x10
cmp eax, ecx
jle 0x4c24ee
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
cmp ecx, eax
jle 0x4c24ee
cmp esi, 2
je 0x4c241b
mov edi, dword [esp + 0x28]
cmp dword [edi + 0x10], 8
jne 0x4c207b
mov esi, 0x108
jmp 0x4c2090
mov edx, dword [edi + 0x14]
and dl, 0x40
neg dl
sbb edx, edx
and edx, 0x208
add edx, 0x18
mov esi, edx
lea ecx, [esp + 0x7c]
call fcn.004bb560
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push 0
push 0
sub eax, edx
push esi
push eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x12c], 0
sub ecx, eax
push ecx
lea ecx, [esp + 0x90]
call fcn.004bb5a0
cmp esi, 0x18
jne 0x4c20eb
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
lea ecx, [esp + 0x80]
push eax
push ecx
mov ecx, edi
call fcn.00495f20
jmp 0x4c20f9
push 0
lea ecx, [esp + 0x80]
call fcn.004bba30
mov eax, dword [esp + 0x90]
mov edx, dword [esp + 0x98]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x60], edx
lea ecx, [esp + 0x30]
cdq
and edx, 7
push ecx
add eax, edx
lea edx, [esp + 0x30]
sar eax, 3
mov dword [esp + 0x58], eax
lea eax, [esp + 0x40]
push edx
mov edx, dword [esp + 0x144]
lea ecx, [esp + 0x40]
push eax
push ecx
push edx
call fcn.004bb460
mov ecx, dword [esp + 0x50]
xor eax, eax
xor edx, edx
add esp, 0x14
mov al, byte [ecx + 0x67a3e8]
xor ecx, ecx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x2c]
test ebx, ebx
mov dl, byte [eax + 0x67a3e8]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x30]
mov cl, byte [edx + 0x67a3e8]
mov dword [esp + 0x30], ecx
jle 0x4c23ad
mov dword [esp + 0x34], ebp
mov dword [esp + 0x4c], ebx
mov ecx, dword [ebp]
test ecx, ecx
je 0x4c238f
mov esi, dword [ebp + 4]
mov edx, dword [ecx + 0x28]
mov eax, dword [esp + 0x10]
mov edi, dword [ebp + 8]
mov ebx, dword [ecx + 0x24]
add esi, edx
mov edx, dword [esp + 0x14]
sub esi, eax
mov eax, dword [esp + 0x20]
sub edi, ebx
mov ebx, dword [ecx + 8]
sub edi, edx
mov edx, dword [ecx + 4]
test eax, eax
jne 0x4c21e2
mov eax, dword [esp + 0x13c]
push 0
push 0
push 0
push 0
push eax
push ecx
push ebx
push edx
push edi
push esi
lea ecx, [esp + 0xa4]
call fcn.004cceb0
jmp 0x4c238f
mov eax, 0x55555556
imul edx
mov eax, edx
shr eax, 0x1f
add edx, eax
mov ebp, edx
mov edx, dword [ecx]
mov dword [esp + 0x58], ebp
call dword [edx + 4]
mov ecx, dword [esp + 0x34]
test ebx, ebx
mov edx, dword [ecx]
mov ecx, dword [edx + 0x14]
mov dword [esp + 0x5c], ecx
jle 0x4c238b
imul esi, dword [esp + 0x54]
imul edi, dword [esp + 0x48]
mov edx, dword [esp + 0x60]
mov dword [esp + 0x50], eax
add edx, esi
mov dword [esp + 0x44], ebx
lea ecx, [edi + edx + 2]
mov dword [esp + 0x40], ecx
test ebp, ebp
mov edi, eax
jle 0x4c2360
mov eax, dword [esp + 0x54]
lea ebx, [eax + 2]
xor edx, edx
mov eax, 0x80808081
mov dl, byte [edi]
mov esi, edx
imul esi, dword [esp + 0x38]
imul esi
add edx, esi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
xor eax, eax
mov al, byte [ecx]
inc edi
mov esi, eax
xor eax, eax
mov al, byte [esi + 0x67a3e8]
mov esi, eax
mov eax, 0xff
sub eax, edx
imul edx, dword [esp + 0x3c]
imul esi, eax
add esi, edx
mov eax, 0x80808081
imul esi
add edx, esi
sar edx, 7
mov eax, edx
shr eax, 0x1f
dec ecx
mov dl, byte [edx + eax + 0x67a4e8]
xor eax, eax
mov byte [ecx + 1], dl
mov al, byte [edi]
mov esi, eax
mov eax, 0x80808081
imul esi, dword [esp + 0x38]
imul esi
add edx, esi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
xor eax, eax
mov al, byte [ecx]
inc edi
mov esi, eax
xor eax, eax
mov al, byte [esi + 0x67a3e8]
mov esi, eax
mov eax, 0xff
sub eax, edx
imul edx, dword [esp + 0x2c]
imul esi, eax
add esi, edx
mov eax, 0x80808081
imul esi
add edx, esi
sar edx, 7
mov eax, edx
shr eax, 0x1f
dec ecx
mov dl, byte [edx + eax + 0x67a4e8]
xor eax, eax
mov byte [ecx + 1], dl
mov al, byte [edi]
mov esi, eax
mov eax, 0x80808081
imul esi, dword [esp + 0x38]
imul esi
add edx, esi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
xor eax, eax
mov al, byte [ecx]
inc edi
mov esi, eax
xor eax, eax
mov al, byte [esi + 0x67a3e8]
mov esi, eax
mov eax, 0xff
sub eax, edx
imul edx, dword [esp + 0x30]
imul esi, eax
add esi, edx
mov eax, 0x80808081
imul esi
add edx, esi
sar edx, 7
mov eax, edx
shr eax, 0x1f
mov dl, byte [edx + eax + 0x67a4e8]
mov byte [ecx], dl
add ecx, ebx
dec ebp
jne 0x4c2241
mov ebp, dword [esp + 0x58]
mov ecx, dword [esp + 0x40]
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x50]
mov esi, dword [esp + 0x5c]
mov edx, dword [esp + 0x44]
add ecx, edi
add eax, esi
dec edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x44], edx
jne 0x4c2230
mov ebp, dword [esp + 0x34]
mov eax, dword [esp + 0x4c]
add ebp, 0x14
dec eax
mov dword [esp + 0x34], ebp
mov dword [esp + 0x4c], eax
jne 0x4c2187
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
cmp dword [esp + 0x8c], 1
jne 0x4c23ec
mov eax, dword [esp + 0x13c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push eax
push ecx
lea eax, [esp + 0x84]
push edx
push eax
mov ecx, edi
call fcn.004961d0
mov dword [esp + 0x11c], 0xffffffff
lea ecx, [esp + 0x7c]
jmp 0x4c24e9
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push 0
push ecx
lea eax, [esp + 0x84]
push edx
push eax
mov ecx, edi
call fcn.00495f50
mov dword [esp + 0x11c], 0xffffffff
lea ecx, [esp + 0x7c]
jmp 0x4c24e9
lea ecx, [esp + 0xa0]
call fcn.004bb560
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
sub ecx, edx
mov edx, dword [esp + 0x18]
push 0
push 0
push 0x101
sub edx, edi
push ecx
push edx
lea ecx, [esp + 0xb4]
mov dword [esp + 0x130], 1
call fcn.004bb5a0
push 0
lea ecx, [esp + 0xa4]
call fcn.004bba30
test ebx, ebx
jle 0x4c24b4
mov esi, ebp
mov eax, dword [esi]
test eax, eax
je 0x4c24ae
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
mov edi, dword [esp + 0x14]
push 0
push 0
push eax
push ecx
mov ecx, dword [esi + 8]
push edx
mov edx, dword [eax + 0x24]
sub ecx, edx
mov edx, dword [eax + 0x28]
sub ecx, edi
mov edi, dword [esp + 0x24]
push ecx
mov ecx, dword [esi + 4]
sub edx, edi
add edx, ecx
lea ecx, [esp + 0xb8]
push edx
call fcn.004bbd50
add esi, 0x14
dec ebx
jne 0x4c2471
mov eax, dword [esp + 0x13c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push eax
push ecx
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0xa8]
push edx
push eax
call fcn.004961d0
mov dword [esp + 0x11c], 0xffffffff
lea ecx, [esp + 0xa0]
call fcn.004bb630
push ebp
call fcn.0048b400
add esp, 4
mov ecx, dword [esp + 0x114]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x110
ret 0x20