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

Disassembly:
mov ecx, dword [0x5e82a4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4c36ac
sub esp, 0x7c
mov eax, dword [esp + 0x98]
mov ecx, dword [eax]
test ecx, ecx
je 0x4c3126
mov edx, dword [eax + 4]
cmp edx, 2
jge 0x4c310a
mov edx, dword [0x5bf060]
mov ebx, dword [0x5bf064]
jmp 0x4c3132
cmp edx, 0x7fffffff
jle 0x4c3120
mov edx, dword [0x5bf068]
mov ebx, dword [0x5bf06c]
jmp 0x4c3132
xor edx, edx
xor ebx, ebx
jmp 0x4c3132
mov edx, dword [0x5bf058]
mov ebx, dword [0x5bf05c]
test edx, edx
jne 0x4c3489
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
nop
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004b5f40
mov eax, dword [esp + 0xc]
lea ecx, [eax + 7]
sar ecx, 0x1f
shr ecx, 0x1d
lea eax, [ecx + eax + 7]
sar eax, 3
mov ecx, dword [esp + 0xa0]
cmp ecx, eax
jg 0x4c319e
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 0x18]
mov edx, dword [esp + 0x84]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
shl eax, 1
add eax, 2
mov ecx, dword [esp + 0x2c]
cmp ecx, eax
jge 0x4c31dd
mov eax, dword [0x5bf070]
mov ecx, dword [0x5bf074]
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
add esp, 0x7c
ret
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0xc], eax
mov byte [esp + 0x10], 0
call fcn.004c2560
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
test eax, eax
jne 0x4c344e
mov dword [esp + 0x74], ecx
mov dword [esp + 0x50], edx
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x4c], edx
mov ebx, dword [esp + 0x84]
mov dword [esp], ebx
mov ebp, dword [esp + 0xa8]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0xac]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0xb0]
mov dword [esp + 0xc], ebp
call ecx
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0x84]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call ecx
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x44], edx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x70], ebx
mov ebp, dword [esp + 0x84]
mov dword [esp], ebp
call ecx
mov eax, dword [esp + 0x4c]
test eax, eax
jbe 0x4c36a2
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 0x18]
mov edx, dword [esp + 0x74]
movzx ebx, byte [edx]
mov dword [esp + 0x64], ebx
mov ebp, dword [esp + 0x84]
mov dword [esp], ebp
call ecx
mov eax, dword [esp + 4]
lea ecx, [eax + 1]
mov edx, dword [esp + 0x50]
cmp edx, ecx
jb 0x4c369d
cmp ecx, 1
jb 0x4c3691
mov dword [esp + 0x38], eax
lea eax, [edx - 1]
mov dword [esp + 0x3c], eax
neg eax
sar eax, 0x1f
and eax, 1
mov dword [esp + 0x60], eax
mov ebx, dword [esp + 0x80]
mov ebp, dword [ebx + 0x18]
mov esi, dword [esp + 0x84]
mov dword [esp], esi
call ebp
mov eax, dword [esp + 4]
lea ecx, [eax + 1]
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0x74]
add edx, ebx
mov ebp, dword [esp + 0x4c]
cmp ebp, ecx
jb 0x4c3688
mov dword [esp + 0x68], edx
mov dword [esp], edx
mov esi, dword [esp + 0x38]
mov dword [esp + 4], esi
mov edi, dword [esp + 0x3c]
mov dword [esp + 8], edi
mov edi, dword [esp + 0x88]
mov dword [esp + 0xc], edi
mov esi, dword [esp + 0x8c]
mov dword [esp + 0x10], esi
mov edx, dword [esp + 0x50]
sub edx, eax
mov dword [esp + 0x60], edx
sub ebp, eax
mov dword [esp + 0x5c], ebp
lea eax, [edx - 1]
mov dword [esp + 0x58], eax
lea edx, [ebp - 1]
mov dword [esp + 0x54], edx
neg eax
sar eax, 0x1f
and eax, ecx
add eax, ebx
mov dword [esp + 0x78], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x1c], ecx
call fcn.004c1d70
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x58]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x88]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x8c]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x68]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x1c], ebx
call fcn.004c1d70
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 0x18]
mov edx, dword [esp + 0x84]
mov dword [esp], edx
call ecx
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x58]
cmp ecx, edx
ja 0x4c3683
mov eax, dword [esp + 0x44]
cmp eax, ecx
jne 0x4c344a
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x70]
xor ebx, ebx
xor ebp, ebp
jmp 0x4c366e
xor eax, eax
jmp 0x4c34bc
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
add esp, 0x7c
ret
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], edx
mov dword [esp + 0xc4], ebx
add esp, 0x7c
ret
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x80]
mov ecx, dword [ecx + 0x18]
mov edx, dword [esp + 0x84]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x54]
cmp eax, ecx
ja 0x4c365c
mov edx, dword [esp + 0x5c]
sub edx, eax
mov dword [esp + 0x5c], edx
mov ebx, dword [esp + 0x60]
sub ebx, eax
mov dword [esp + 0x60], ebx
lea ebp, [ebx - 1]
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, eax
mov esi, dword [esp + 0x78]
add ebp, esi
mov dword [esp + 0x6c], ebp
lea ecx, [edx - 1]
mov dword [esp + 0x40], ecx
xor eax, eax
mov esi, 1
xor edi, edi
xor eax, eax
mov dword [esp + 0x48], eax
xor eax, eax
jmp 0x4c3596
mov dword [esp + 0x30], esi
movzx ebx, byte [eax + ebp]
movzx edx, bl
dec edx
shr edx, 0x1f
not edx
xor ebx, 1
movzx ebx, bl
dec ebx
shr ebx, 0x1f
and esi, ebx
mov dword [esp + 0x34], esi
xchg esi, ebx
neg ebx
xchg esi, ebx
and esi, eax
mov ebp, dword [esp + 0x34]
dec ebp
mov ecx, dword [esp + 0x48]
and ecx, ebp
dec ebx
mov ebp, dword [esp + 0x30]
and ebp, ebx
and edx, ebp
mov ebx, edx
neg edx
and edx, 1
dec ebx
and edi, ebx
inc eax
nop
nop
or esi, ecx
or edi, edx
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x40]
mov ecx, edx
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x48], esi
mov esi, ebp
mov ebp, dword [esp + 0x6c]
cmp eax, ecx
jl 0x4c352c
xchg edi, ebx
not ebx
xchg edi, ebx
xchg esi, ebx
not ebx
xchg esi, ebx
mov eax, ebp
mov ebp, dword [esp + 0x64]
dec ebp
shr ebp, 0x1f
mov ebx, dword [esp + 0x28]
and ebx, ebp
and ebx, edi
and esi, ebx
cmp esi, 1
jne 0x4c3616
mov ebx, dword [esp + 0x48]
lea ebp, [ebx + 1]
cmp ebp, ecx
ja 0x4c3655
sub edx, ebx
mov ecx, dword [esp + 0x60]
sub ecx, ebx
add ecx, 0xfffffffe
add edx, 0xfffffffe
mov ebx, ecx
neg ecx
sar ecx, 0x1f
and ebp, ecx
add eax, ebp
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
add esp, 0x7c
ret
mov eax, dword [0x5bf070]
mov ecx, dword [0x5bf074]
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
add esp, 0x7c
ret
mov eax, ebp
call fcn.004636a0
call fcn.004636a0
movzx esi, byte [edx + ebx]
movzx edi, byte [ebx + ecx]
xor esi, edi
inc ebx
or ebp, esi
cmp ebx, eax
jl 0x4c3661
xchg ebp, eax
movzx edx, al
xchg ebp, eax
lea eax, [edx - 1]
nop
shr eax, 0x1f
jmp 0x4c34bc
call fcn.00463680
mov eax, ecx
mov ecx, ebp
call fcn.004636a0
mov eax, 1
xor ecx, ecx
call fcn.004636a0
call fcn.00463680
xor eax, eax
mov ecx, eax
call fcn.00463640
nop
call fcn.004621e0
jmp fcn.004c30d0