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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
mov eax, ecx
mov dword [esp + 0x20], edx
mov edx, dword [ebp + 0x10]
push ebx
push esi
mov ecx, dword [eax + 0x5c]
mov ebx, 1
mov esi, dword [eax + 0xc]
mov dword [esp + 0x18], ecx
mov ecx, dword [eax + 0xc0]
mov dword [esp + 0x54], ecx
mov ecx, dword [eax + 0x64]
mov dword [esp + 0x24], ecx
mov ecx, dword [eax + 0xbc]
mov dword [esp + 0x58], ecx
mov ecx, dword [ebp + 0xc]
push edi
mov edi, dword [eax + 4]
sub ecx, edi
add ecx, edx
mov dword [esp + 0x50], esi
mov dword [esp + 0x24], ecx
mov ecx, dword [eax + 0xb8]
shl ebx, cl
mov ecx, dword [eax + 0x18]
mov eax, dword [esp + 0x24]
sub dword [esp + 0x24], ebx
sub eax, esi
cmp eax, ebx
mov dword [esp + 0x60], ecx
mov eax, dword [esp + 0x24]
cmovbe eax, esi
mov dword [esp + 0x54], ebx
test ecx, ecx
mov dword [esp + 0x14], edi
cmovne eax, esi
xor ebx, ebx
mov dword [esp + 0x24], eax
lea ecx, [eax + edi]
mov eax, dword [ebp + 0xc]
add edx, eax
mov dword [esp + 0x18], ecx
cmp eax, ecx
mov dword [esp + 0xc], edx
mov edx, dword [ebp + 8]
sete bl
add ebx, eax
mov esi, ebx
sub esi, dword [esp + 0x14]
mov edi, dword [edx]
mov eax, esi
sub eax, dword [esp + 0x50]
mov ecx, esi
sub ecx, dword [esp + 0x54]
cmp eax, dword [esp + 0x54]
mov edx, dword [edx + 4]
cmovbe ecx, dword [esp + 0x50]
cmp dword [esp + 0x60], 0
cmovne ecx, dword [esp + 0x50]
sub esi, ecx
cmp esi, edx
sbb eax, eax
xor ecx, ecx
and eax, edx
cmp edx, esi
mov dword [esp + 0x60], eax
cmovbe ecx, edx
cmp esi, edi
sbb eax, eax
and eax, edi
cmp edi, esi
mov dword [esp + 0x6c], eax
mov esi, 0
cmovbe esi, edi
mov edi, dword [ebp + 0xc]
xor eax, eax
cmp edi, dword [esp + 0x18]
sete al
add eax, 0x100
add eax, edi
mov dword [esp + 0x54], eax
mov edx, dword [esp + 0xc]
xor eax, eax
cmp edi, dword [esp + 0x18]
sete al
inc edi
add eax, edi
add edx, 0xfffffff8
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x10], eax
cmp eax, edx
ja 0x4ca3c1
mov eax, 0x40
mov dword [esp + 0x40], ecx
sub eax, dword [esp + 0x5c]
mov dword [esp + 0x38], eax
mov eax, 0x40
sub eax, dword [esp + 0x58]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x20], esi
nop dword [eax]
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
push 0xcf1bbcdc
push 0xb7a56463
push ecx
push eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x54], ecx
call fcn.0053d600
mov ecx, dword [esp + 0x3c]
call fcn.00511be0
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], 1
mov eax, dword [ecx + eax*4]
add esi, eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x48], eax
xor eax, eax
cmp eax, dword [esp + 0x20]
sbb eax, eax
neg eax
mov dword [esp + 0x64], eax
nop word [eax + eax]
mov eax, dword [esp + 0x44]
push 0xcf1bbcdc
push 0xbfa56300
push eax
mov eax, dword [esp + 0x3c]
push eax
mov dword [esp + 0x78], ecx
call fcn.0053d600
mov ecx, dword [esp + 0x38]
call fcn.00511be0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x34], ebx
sub dword [esp + 0x34], edx
mov ecx, dword [ecx + eax*4]
mov dword [esp + 0x5c], ecx
add ecx, edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x34]
mov dword [edx + eax*4], ecx
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x1c]
mov dword [edx + eax*4], ecx
mov edx, ebx
sub edx, dword [esp + 0x20]
xor ecx, ecx
mov eax, dword [edx + 1]
cmp eax, dword [ebx + 1]
sete cl
test dword [esp + 0x64], ecx
jne 0x4ca0ca
mov eax, dword [esp + 0x10]
push 0xcf1bbcdc
push 0xb7a56463
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push eax
push ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x54], eax
call fcn.0053d600
mov ecx, dword [esp + 0x3c]
call fcn.00511be0
mov edx, dword [esp + 0x24]
mov ecx, eax
mov dword [esp + 0x50], ecx
cmp dword [esp + 0x48], edx
jbe 0x4c9ded
mov eax, dword [esi]
cmp eax, dword [ebx]
jne 0x4c9ded
mov eax, dword [esi + 4]
cmp eax, dword [ebx + 4]
je 0x4c9e5c
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
mov ecx, dword [eax + ecx*4]
add esi, ecx
mov dword [esp + 0x48], ecx
cmp dword [esp + 0x5c], edx
jbe 0x4c9e12
mov eax, dword [esp + 0x58]
mov eax, dword [eax]
cmp eax, dword [ebx]
je 0x4c9f63
mov ebx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x54]
cmp ecx, edx
mov edi, dword [ebp + 0xc]
lea eax, [ebx + 1]
cmovb eax, ebx
mov ebx, ecx
add ecx, eax
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff8
mov dword [esp + 0x10], ecx
cmp ecx, eax
ja 0x4ca3b9
cmp dword [esp + 0x68], edx
lea eax, [edx + 0x100]
cmovb eax, edx
mov edx, eax
mov dword [esp + 0x54], edx
jmp 0x4c9d30
push dword [esp + 0xc]
lea edx, [esi + 8]
lea ecx, [ebx + 8]
call fcn.004c7eb0
mov edx, dword [ebp + 0xc]
add esp, 4
lea edi, [eax + 8]
mov eax, ebx
sub eax, esi
cmp dword [esp + 0x18], esi
mov dword [esp + 0x30], eax
sbb ecx, ecx
neg ecx
cmp edx, ebx
sbb eax, eax
neg eax
test eax, ecx
je 0x4c9eac
nop
mov al, byte [ebx - 1]
dec esi
cmp al, byte [esi]
jne 0x4c9eac
dec ebx
inc edi
cmp dword [esp + 0x18], esi
sbb ecx, ecx
neg ecx
cmp edx, ebx
sbb eax, eax
neg eax
test eax, ecx
jne 0x4c9e90
mov esi, dword [ebp + 0xc]
mov edx, dword [esp + 0x10]
cmp dword [esp + 0x4c], 4
mov eax, dword [esp + 0x20]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x20], eax
jae 0x4c9ed9
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x1c]
sub edx, dword [esp + 0x14]
mov dword [ecx + eax*4], edx
mov eax, dword [esp + 0xc]
mov edx, ebx
sub edx, esi
add eax, 0xffffffe0
mov dword [esp + 0x50], edx
lea ecx, [edx + esi]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esi + 0xc]
cmp dword [esp + 0x5c], eax
ja 0x4ca082
mov ecx, dword [ebp + 0xc]
mov eax, dword [esi + 0xc]
movups xmm0, xmmword [ecx]
movups xmmword [eax], xmm0
cmp edx, 0x10
jbe 0x4ca096
movups xmm0, xmmword [ecx + 0x10]
lea eax, [edx - 0x10]
lea edx, [ecx + 0x10]
mov ecx, dword [esi + 0xc]
add ecx, 0x10
lea esi, [ecx + eax]
mov dword [esp + 0x68], esi
mov esi, dword [esp + 0x2c]
movups xmmword [ecx], xmm0
cmp eax, 0x10
jle 0x4ca092
mov eax, dword [esp + 0x68]
add ecx, 0x10
add edx, 0x10
movups xmm0, xmmword [edx]
lea edx, [edx + 0x20]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [edx - 0x10]
movups xmmword [ecx + 0x10], xmm0
add ecx, 0x20
cmp ecx, eax
jb 0x4c9f46
jmp 0x4ca092
cmp ecx, edx
jbe 0x4ca00e
mov eax, dword [esp + 0x30]
cmp dword [esi], eax
jne 0x4ca00e
mov eax, dword [esp + 0x44]
cmp dword [esi + 4], eax
jne 0x4ca00e
mov eax, dword [esp + 0x10]
lea edx, [esi + 8]
push dword [esp + 0xc]
mov ebx, eax
lea ecx, [eax + 8]
call fcn.004c7eb0
mov edx, ebx
add esp, 4
lea edi, [eax + 8]
mov eax, edx
sub eax, esi
cmp dword [esp + 0x18], esi
mov esi, dword [ebp + 0xc]
sbb ecx, ecx
mov dword [esp + 0x30], eax
neg ecx
cmp esi, edx
sbb eax, eax
neg eax
test eax, ecx
je 0x4c9eb3
mov eax, dword [esp + 0x48]
add eax, dword [esp + 0x14]
nop word [eax + eax]
lea ecx, [ebx - 1]
mov dword [esp + 0x54], ecx
lea ecx, [eax - 1]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x48], ecx
mov al, byte [eax]
cmp al, byte [ecx]
jne 0x4c9eb3
mov eax, dword [esp + 0x18]
inc edi
mov ebx, dword [esp + 0x54]
cmp eax, ecx
sbb ecx, ecx
neg ecx
cmp esi, ebx
sbb eax, eax
neg eax
test eax, ecx
mov eax, dword [esp + 0x48]
jne 0x4c9fd0
jmp 0x4c9eb3
mov esi, dword [esp + 0x58]
lea ecx, [ebx + 4]
push dword [esp + 0xc]
lea edx, [esi + 4]
call fcn.004c7eb0
add esp, 4
lea edi, [eax + 4]
mov eax, ebx
sub eax, esi
cmp dword [esp + 0x18], esi
mov esi, dword [ebp + 0xc]
sbb ecx, ecx
mov dword [esp + 0x30], eax
neg ecx
cmp esi, ebx
sbb eax, eax
neg eax
test eax, ecx
je 0x4c9eaf
mov edx, dword [esp + 0x5c]
add edx, dword [esp + 0x14]
lea eax, [ebx - 1]
mov dword [esp + 0x68], eax
lea ecx, [edx - 1]
mov al, byte [eax]
mov edx, ecx
cmp al, byte [ecx]
jne 0x4c9eaf
mov ebx, dword [esp + 0x68]
inc edi
cmp dword [esp + 0x18], edx
sbb ecx, ecx
neg ecx
cmp esi, ebx
sbb eax, eax
neg eax
test eax, ecx
jne 0x4ca050
jmp 0x4c9eaf
mov edx, dword [ebp + 0xc]
push eax
push dword [esp + 0x60]
call fcn.004c7e40
add esp, 8
mov edx, dword [esp + 0x50]
add dword [esi + 0xc], edx
mov ecx, dword [esi + 4]
cmp edx, 0xffff
jbe 0x4ca0b5
mov eax, ecx
mov dword [esi + 0x24], 1
sub eax, dword [esi]
sar eax, 3
mov dword [esi + 0x28], eax
mov word [ecx + 4], dx
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x30]
add ecx, 3
mov dword [eax], ecx
jmp 0x4ca19c
mov esi, dword [esp + 0xc]
lea ecx, [ebx + 5]
push esi
add edx, 5
call fcn.004c7eb0
mov ecx, dword [ebp + 0xc]
inc ebx
mov edx, ebx
add esp, 4
sub edx, ecx
lea edi, [eax + 4]
mov dword [esp + 0x30], edx
lea eax, [esi - 0x20]
lea esi, [edx + ecx]
mov dword [esp + 0x5c], esi
mov esi, dword [esp + 0x2c]
cmp dword [esp + 0x5c], eax
ja 0x4ca15a
mov eax, dword [esi + 0xc]
movups xmm0, xmmword [ecx]
movups xmmword [eax], xmm0
cmp edx, 0x10
jbe 0x4ca170
movups xmm0, xmmword [ecx + 0x10]
lea eax, [edx - 0x10]
lea edx, [ecx + 0x10]
mov ecx, dword [esi + 0xc]
add ecx, 0x10
lea esi, [ecx + eax]
mov dword [esp + 0x68], esi
mov esi, dword [esp + 0x2c]
movups xmmword [ecx], xmm0
cmp eax, 0x10
jle 0x4ca16c
mov eax, dword [esp + 0x68]
add ecx, 0x10
add edx, 0x10
nop dword [eax + eax]
movups xmm0, xmmword [edx]
lea edx, [edx + 0x20]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [edx - 0x10]
movups xmmword [ecx + 0x10], xmm0
add ecx, 0x20
cmp ecx, eax
jb 0x4ca140
jmp 0x4ca16c
push eax
push dword [esp + 0x60]
mov edx, ecx
mov ecx, dword [esi + 0xc]
call fcn.004c7e40
add esp, 8
mov edx, dword [esp + 0x30]
add dword [esi + 0xc], edx
mov ecx, dword [esi + 4]
cmp edx, 0xffff
jbe 0x4ca18f
mov eax, ecx
mov dword [esi + 0x24], 1
sub eax, dword [esi]
sar eax, 3
mov dword [esi + 0x28], eax
mov word [ecx + 4], dx
mov eax, dword [esi + 4]
mov dword [eax], 1
mov ecx, dword [esi + 4]
lea edx, [edi - 3]
cmp edx, 0xffff
jbe 0x4ca1bb
mov eax, ecx
mov dword [esi + 0x24], 2
sub eax, dword [esi]
sar eax, 3
mov dword [esi + 0x28], eax
mov word [ecx + 6], dx
add dword [esi + 4], 8
mov ecx, dword [esp + 0xc]
add ebx, edi
mov edi, ebx
mov dword [ebp + 0xc], edi
lea eax, [ecx - 8]
cmp ebx, eax
ja 0x4ca39d
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x14]
add edi, 2
push 0xcf1bbcdc
push 0xb7a56463
push dword [edi + eax + 4]
push dword [edi + eax]
call fcn.0053d600
mov ecx, dword [esp + 0x3c]
call fcn.00511be0
mov ecx, dword [esp + 0x1c]
push 0xcf1bbcdc
push 0xb7a56463
mov dword [ecx + eax*4], edi
push dword [ebx + 2]
push dword [ebx - 2]
call fcn.0053d600
mov ecx, dword [esp + 0x3c]
call fcn.00511be0
mov edx, dword [esp + 0x1c]
mov esi, ebx
sub esi, dword [esp + 0x14]
mov ecx, eax
push 0xcf1bbcdc
push 0xbfa56300
lea eax, [esi - 2]
mov dword [edx + ecx*4], eax
mov edx, dword [esp + 0x1c]
push dword [edi + edx + 4]
push dword [edi + edx]
call fcn.0053d600
mov ecx, dword [esp + 0x38]
call fcn.00511be0
mov ecx, dword [esp + 0x28]
push 0xcf1bbcdc
push 0xbfa56300
mov dword [ecx + eax*4], edi
push dword [ebx + 3]
push dword [ebx - 1]
call fcn.0053d600
mov ecx, dword [esp + 0x38]
call fcn.00511be0
mov edx, dword [esp + 0x28]
mov ecx, eax
lea eax, [esi - 1]
mov edi, ebx
mov dword [edx + ecx*4], eax
mov esi, dword [esp + 0x40]
mov edx, ebx
mov eax, dword [ebx]
sub edx, esi
xor ecx, ecx
cmp eax, dword [edx]
sete cl
xor eax, eax
cmp eax, esi
sbb eax, eax
neg eax
test eax, ecx
je 0x4ca396
push dword [esp + 0xc]
add edx, 4
lea ecx, [ebx + 4]
call fcn.004c7eb0
add esp, 4
mov ecx, esi
lea edi, [eax + 4]
mov eax, dword [esp + 0x20]
push 0xcf1bbcdc
push 0xbfa56300
push dword [ebx + 4]
mov dword [esp + 0x4c], eax
push dword [ebx]
mov dword [esp + 0x30], ecx
call fcn.0053d600
mov ecx, dword [esp + 0x38]
call fcn.00511be0
mov ecx, dword [esp + 0x28]
mov esi, ebx
sub esi, dword [esp + 0x14]
push 0xcf1bbcdc
push 0xb7a56463
mov dword [ecx + eax*4], esi
push dword [ebx + 4]
push dword [ebx]
call fcn.0053d600
mov ecx, dword [esp + 0x3c]
call fcn.00511be0
mov ecx, dword [esp + 0x1c]
mov dword [ecx + eax*4], esi
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0xc]
add eax, 0xffffffe0
mov ecx, dword [esi + 0xc]
cmp ebx, eax
ja 0x4ca33c
movups xmm0, xmmword [ebx]
movups xmmword [ecx], xmm0
jmp 0x4ca348
push eax
push ebx
mov edx, ebx
call fcn.004c7e40
add esp, 8
mov eax, dword [esi + 4]
lea edx, [edi - 3]
xor ecx, ecx
mov word [eax + 4], cx
mov eax, dword [esi + 4]
mov dword [eax], 1
mov ecx, dword [esi + 4]
cmp edx, 0xffff
jbe 0x4ca379
mov eax, ecx
mov dword [esi + 0x24], 2
sub eax, dword [esi]
sar eax, 3
mov dword [esi + 0x28], eax
mov word [ecx + 6], dx
add ebx, edi
mov ecx, dword [esp + 0xc]
mov edi, ebx
add dword [esi + 4], 8
lea eax, [ecx - 8]
cmp ebx, eax
jbe 0x4ca290
jmp 0x4ca39a
mov ecx, dword [esp + 0xc]
mov dword [ebp + 0xc], edi
lea eax, [ebx + 0x100]
mov dword [esp + 0x54], eax
lea edx, [ecx - 8]
lea eax, [ebx + 1]
mov dword [esp + 0x10], eax
cmp eax, edx
jbe 0x4c9cd0
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x60]
test edx, edx
je 0x4ca3d2
test esi, esi
cmovne eax, edx
test esi, esi
cmovne edx, esi
mov esi, dword [ebp + 8]
test ecx, ecx
cmovne eax, ecx
mov dword [esi + 4], eax
mov eax, dword [esp + 0xc]
sub eax, edi
mov dword [esi], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret