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

Disassembly:
mov ecx, dword [0x6b21fc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4c72f7
sub esp, 0x5c
mov ebx, dword [esp + 0x60]
movzx ebp, byte [ebx + 0x28]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4c6e14
mov edx, ebx
mov ecx, dword [esp + 0x6c]
mov edi, dword [esp + 0x68]
mov eax, dword [esp + 0x64]
mov esi, dword [esp + 0x78]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x70]
jmp 0x4c6feb
mov eax, dword [esp + 0x68]
cmp eax, 3
jl 0x4c6f32
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx + 4]
cmp dword [ecx], 3
xchg ebp, ebx
setne bl
xchg ebp, ebx
test edx, edx
setne dl
or ebp, edx
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x4c6eed
mov edx, dword [ecx + 0x10]
mov ebp, dword [ecx + 0x14]
test edx, edx
xchg esi, ebx
sete bl
xchg esi, ebx
test ebp, ebp
xchg edi, ebx
sete bl
xchg edi, ebx
and edi, esi
xchg edi, eax
test al, al
xchg edi, eax
jne 0x4c6eed
mov dword [esp + 4], 0
mov dword [esp], 0x3b9aca00
mov dword [esp + 0xc], ebp
mov dword [esp + 8], edx
call fcn.00460f70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x60]
mov dword [edx + 0x30], eax
mov dword [edx + 0x2c], ecx
mov byte [edx + 0x28], 1
mov eax, dword [esp + 0x6c]
add eax, 0xfffffffd
mov ecx, eax
neg eax
sar eax, 0x1f
and eax, 0x18
mov ebx, dword [esp + 0x64]
add eax, ebx
mov ebx, dword [esp + 0x74]
cmp ebx, 1
jb 0x4c72ea
mov ebp, dword [esp + 0x78]
dec ebp
mov edi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 4
mov esi, edi
mov edi, dword [esp + 0x68]
add edi, 0xfffffffd
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0x70]
add ebp, edi
dec ebx
mov edi, dword [esp + 0x3c]
jmp 0x4c6feb
lea eax, [0x5490aa]
mov dword [esp], eax
mov dword [esp + 4], 0x11
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.004a1ec0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
add esp, 0x5c
ret
lea eax, [0x549099]
mov dword [esp], eax
mov dword [esp + 4], 0x11
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.004a1ec0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
add esp, 0x5c
ret
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edi
mov ebp, dword [esp + 0x60]
lea esi, [ebp + 0x34]
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x10], ecx
call fcn.004c14a0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
mov ebx, dword [esp + 0x38]
dec ebx
mov ebp, dword [esp + 0x1c]
add ecx, ebp
mov dword [eax + 0x18], ecx
mov ecx, dword [esp + 0x20]
adc edx, ecx
mov dword [eax + 0x1c], edx
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x28]
mov ebp, dword [esp + 0x54]
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x60]
mov edi, esi
mov eax, ebp
mov ecx, dword [esp + 0x28]
mov ebp, dword [esp + 0x50]
mov esi, dword [esp + 0x3c]
test edi, edi
je 0x4c725f
cmp edi, 3
jl 0x4c721a
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], edi
mov dword [esp + 0x58], eax
mov edx, dword [eax]
mov esi, dword [eax + 4]
sar edi, 0x1f
mov ebx, dword [esp + 0x34]
cmp ebx, edx
setb bl
cmp esi, edi
xchg edi, ebx
sete bl
xchg edi, ebx
seta al
and ebx, edi
or ebx, eax
test bl, bl
jne 0x4c721a
test esi, esi
sete bl
cmp edx, 3
xchg edi, ebx
setb bl
xchg edi, ebx
and edi, ebx
xchg edi, eax
test al, al
xchg edi, eax
jne 0x4c71d5
test ebp, ebp
je 0x4c7064
mov ebx, dword [esp + 0x38]
test ebx, ebx
je 0x4c71d5
test esi, esi
jmp 0x4c7072
mov ebx, dword [esp + 0x38]
test ebx, ebx
je 0x4c7190
test esi, esi
jne 0x4c72df
cmp ecx, edx
jb 0x4c72d4
cmp edx, 3
jb 0x4c72c8
lea esi, [ecx - 3]
mov edi, esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, 0x18
mov dword [esp + 0x30], esi
mov ebx, dword [esp + 0x58]
lea eax, [ebx + esi]
mov esi, dword [esp + 0x34]
cmp esi, edx
jb 0x4c72bf
mov dword [esp + 0x2c], edx
mov dword [esp + 0x34], edi
mov dword [esp + 0x4c], eax
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x1c], eax
mov edi, dword [ebx + 0x14]
mov dword [esp + 0x20], edi
sub ecx, edx
mov dword [esp + 0x28], ecx
neg ecx
shl edx, 3
sar ecx, 0x1f
and edx, ecx
mov ecx, dword [esp + 0x3c]
dec ecx
mov dword [esp + 0x3c], ecx
neg ecx
sar ecx, 0x1f
and ecx, 4
mov eax, dword [esp + 0x2c]
lea edi, [eax - 3]
sub esi, eax
mov dword [esp + 0x24], esi
add edx, ebx
mov dword [esp + 0x54], edx
mov edx, dword [ebp]
mov dword [esp + 0x48], edx
add ecx, ebp
mov dword [esp + 0x50], ecx
mov ebp, dword [esp + 0x20]
test ebp, ebp
sete cl
mov esi, dword [esp + 0x1c]
test esi, esi
sete dl
and ecx, edx
test cl, cl
je 0x4c717d
cmp eax, 4
jne 0x4c716a
lea ecx, [fcn.004c3cd0]
inc ecx
mov edx, dword [esp + 0x30]
mov eax, dword [ebx + edx]
mov edi, dword [ebx + edx + 4]
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], 0
mov ecx, 1
mov edx, 1
lea ebx, [esp + 0x40]
jmp 0x4c6f77
mov ecx, edi
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x4c]
mov eax, esi
mov edi, ebp
jmp 0x4c6f77
mov ecx, edi
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x4c]
mov eax, esi
mov edi, ebp
jmp 0x4c6f77
lea eax, [0x54fc14]
mov dword [esp], eax
mov dword [esp + 4], 0x23
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.004a1ec0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
add esp, 0x5c
ret
lea eax, [0x5490aa]
mov dword [esp], eax
mov dword [esp + 4], 0x11
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.004a1ec0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
add esp, 0x5c
ret
lea eax, [0x549099]
mov dword [esp], eax
mov dword [esp + 4], 0x11
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.004a1ec0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
add esp, 0x5c
ret
test ebx, ebx
je 0x4c72a8
lea eax, [0x54fc14]
mov dword [esp], eax
mov dword [esp + 4], 0x23
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.004a1ec0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
add esp, 0x5c
ret
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x5c
ret
mov eax, edx
mov ecx, esi
call fcn.00468940
mov eax, 3
mov ecx, edx
call fcn.00468930
mov eax, ecx
mov ecx, edx
mov edx, eax
call fcn.00468920
mov eax, ecx
mov ecx, edx
mov edx, eax
call fcn.004689f0
mov eax, 1
xor ecx, ecx
call fcn.00468930
nop
call fcn.00467460
jmp fcn.004c6dd0