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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
mov ebx, edx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x18], ebx
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], edi
mov eax, dword [edi + 0x28]
mov edx, dword [edi]
mov dword [esp + 0x20], eax
inc eax
mov dword [esp + 0x1c], eax
inc eax
mov dword [edi + 0x28], eax
mov ecx, dword [ebx + 0x18]
mov ebx, 0xffff8000
test ecx, ecx
je 0x4c6f38
mov eax, dword [edx + 0x10]
xor ebx, ebx
add eax, 0xc
cmp dword [eax], ecx
je 0x4c6f38
nop dword [eax]
lea eax, [eax + 0x10]
inc ebx
cmp dword [eax], ecx
jne 0x4c6f30
mov eax, dword [edx + 0x10]
mov esi, ebx
add esi, esi
mov edx, 0x1b
mov ecx, edi
push dword [eax + esi*8]
mov eax, dword [esp + 0x1c]
push 0
push dword [eax]
call fcn.004c08b0
add esp, 0xc
test eax, eax
jne 0x4c7821
cmp ebx, 1
je 0x4c6f8c
mov eax, dword [edi]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + esi*8 + 4]
cmp byte [eax + 9], 0
je 0x4c6f8c
mov eax, dword [esp + 0x30]
mov edx, ebx
mov ecx, edi
push dword [eax]
push 1
push dword [eax + 0x14]
call fcn.004c0940
add esp, 0xc
mov esi, dword [edi + 8]
test esi, esi
jne 0x4c6fb5
cmp dword [edi + 0x74], esi
jne 0x4c6fa4
mov eax, dword [edi]
test byte [eax + 0x50], 8
jne 0x4c6fa4
mov byte [edi + 0x17], 1
mov ecx, edi
call fcn.00497a10
mov esi, eax
test esi, esi
je 0x4c7821
mov eax, dword [ebp + 8]
test eax, eax
js 0x4c6fc6
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
jmp 0x4c6fd1
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x2c]
mov dword [esp + 0x28], ecx
mov edx, eax
mov ecx, edi
call fcn.004ca860
mov edx, dword [edi + 0x28]
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], edx
lea ecx, [edx + 1]
mov dword [edi + 0x28], ecx
test eax, eax
je 0x4c6ff1
inc dword [eax]
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x34], ecx
movzx eax, word [eax + 0x32]
mov dword [esp + 0x14], eax
cmp dword [esi + 0x78], ecx
jg 0x4c7025
push eax
push 0
push edx
mov edx, 0x76
mov ecx, esi
call fcn.00497c60
lea edx, [esi + 0x70]
add esp, 0xc
mov dword [esp + 0xc], edx
jmp 0x4c7066
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea edx, [esi + 0x70]
mov eax, dword [edx]
lea ecx, [ecx + ecx*4]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4 + 0xc], edx
mov edx, dword [esp + 0xc]
mov dword [eax + ecx*4], 0x76
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x34]
mov ecx, dword [esi]
cmp byte [ecx + 0x57], 0
je 0x4c7081
push dword [esp + 0x24]
mov edx, 0xfffffff7
call fcn.00498770
add esp, 4
jmp 0x4c70bb
test eax, eax
jns 0x4c7089
mov eax, dword [esi + 0x74]
dec eax
lea ecx, [eax + eax*4]
mov eax, dword [edx]
cmp byte [eax + ecx*4 + 1], 0
lea ecx, [eax + ecx*4]
je 0x4c70ac
push 0xfffffffffffffff7
push dword [esp + 0x28]
mov edx, ecx
mov ecx, esi
call fcn.004989c0
add esp, 8
jmp 0x4c70bb
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4c70bb
mov dword [ecx + 0x10], eax
mov byte [ecx + 1], 0xf7
mov edx, dword [esp + 0x20]
mov ecx, edi
push 0x65
push dword [esp + 0x34]
push ebx
call fcn.004d4db0
mov edx, dword [esi + 0x74]
add esp, 0xc
mov dword [esp + 0x30], edx
cmp dword [esi + 0x78], edx
jg 0x4c70f9
push 0
push 0
push dword [esp + 0x28]
mov edx, 0x26
mov ecx, esi
call fcn.00497c60
add esp, 0xc
mov dword [esp + 0x30], eax
jmp 0x4c712f
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x20]
mov eax, dword [eax]
mov dword [eax + ecx*4], 0x26
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov al, byte [edi + 0x13]
test al, al
jne 0x4c713e
inc dword [edi + 0x2c]
mov edx, dword [edi + 0x2c]
jmp 0x4c714d
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov edx, dword [edi + eax*4 + 0x98]
mov eax, dword [edi + 0x74]
mov ecx, edi
test eax, eax
mov dword [esp + 0x14], edx
push 0
cmovne ecx, eax
lea eax, [esp + 0x38]
push 0
push eax
push 0
push edx
push dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov byte [ecx + 0x14], 1
mov ecx, edi
call fcn.004cd2b0
mov ecx, dword [esi + 0x74]
add esp, 0x18
cmp dword [esi + 0x78], ecx
jg 0x4c71a0
push 0
push dword [esp + 0x18]
mov edx, 0x8a
mov ecx, esi
push dword [esp + 0x18]
call fcn.00497c60
add esp, 0xc
jmp 0x4c71d6
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x8a
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x34]
test edx, edx
je 0x4c7208
mov eax, dword [edi + 8]
not edx
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4c71fc
push edx
mov edx, dword [edi + 8]
call fcn.00498480
add esp, 4
jmp 0x4c7208
mov eax, dword [edi + 8]
mov ecx, dword [ecx + 0x40]
mov eax, dword [eax + 0x74]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esi + 0x74]
inc eax
mov dword [esp + 0x34], eax
cmp dword [esi + 0x78], ecx
jg 0x4c7231
push 0
push eax
push dword [esp + 0x28]
mov edx, 5
mov ecx, esi
call fcn.00497c60
add esp, 0xc
jmp 0x4c7267
mov edx, dword [esp + 0xc]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx]
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x34]
mov dword [eax + ecx*4], 5
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov ecx, dword [esi + 0x74]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x34], ecx
cmp byte [eax + 0x57], 0
je 0x4c7281
mov eax, 0x5d4b70
jmp 0x4c7299
lea eax, [ecx - 1]
mov ecx, dword [esp + 0x30]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [edx]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x34]
cmp dword [ebp + 8], 0
mov dword [eax + 8], ecx
jge 0x4c72f0
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4c72c2
push 0
push ebx
push dword [esp + 0x30]
mov edx, 0x90
mov ecx, esi
call fcn.00497c60
add esp, 0xc
jmp 0x4c72f0
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx]
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x90
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esi + 0x74]
cmp dword [esi + 0x78], edx
jg 0x4c7314
push ebx
push dword [esp + 0x2c]
mov edx, 0x70
mov ecx, esi
push dword [esp + 0x24]
call fcn.00497c60
add esp, 0xc
mov edx, eax
jmp 0x4c734a
mov edi, dword [esp + 0x1c]
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x28]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0x70
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi]
cmp byte [ecx + 0x57], 0
je 0x4c7369
push dword [esp + 0x24]
mov edx, 0xfffffff7
call fcn.00498770
mov ebx, dword [esp + 0x10]
add esp, 4
jmp 0x4c73a7
test edx, edx
jns 0x4c7371
mov edx, dword [esi + 0x74]
dec edx
mov ebx, dword [esp + 0xc]
lea ecx, [edx + edx*4]
mov eax, dword [ebx]
cmp byte [eax + ecx*4 + 1], 0
lea ecx, [eax + ecx*4]
je 0x4c7398
push 0xfffffffffffffff7
push dword [esp + 0x28]
mov edx, ecx
mov ecx, esi
call fcn.004989c0
add esp, 8
jmp 0x4c73a7
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4c73a7
mov dword [ecx + 0x10], eax
mov byte [ecx + 1], 0xf7
mov eax, dword [esi + 0x74]
test eax, eax
jle 0x4c73c9
cmp dword [ebp + 8], 0
mov ecx, 0x11
mov edx, 1
cmovge edx, ecx
lea ecx, [eax + eax*4]
mov eax, dword [ebx]
mov word [eax + ecx*4 - 0x12], dx
mov edx, dword [esi + 0x74]
mov dword [esp + 0x24], edx
cmp dword [esi + 0x78], edx
jg 0x4c73f2
push 0
push 0
push dword [esp + 0x18]
mov edx, 0x24
mov ecx, esi
call fcn.00497c60
add esp, 0xc
mov dword [esp + 0x24], eax
jmp 0x4c7424
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx]
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x24
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x36], 0
je 0x4c7557
mov edx, dword [esi + 0x74]
mov dword [esp + 0x30], edx
cmp dword [esi + 0x78], edx
jg 0x4c745b
push 0
push 1
push 0
mov edx, 0xb
mov ecx, esi
call fcn.00497c60
mov edx, eax
add esp, 0xc
mov dword [esp + 0x30], edx
jmp 0x4c7491
mov edi, dword [esp + 0x2c]
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x28], ecx
movzx eax, word [eax + 0x32]
mov dword [esp + 0x34], eax
cmp dword [esi + 0x78], ecx
jg 0x4c74c5
push dword [esp + 0x14]
mov ecx, esi
push edx
push dword [esp + 0x18]
mov edx, 0x83
call fcn.00497c60
add esp, 0xc
mov ecx, eax
jmp 0x4c74fb
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx]
mov ebx, dword [esp + 0x10]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0xc]
mov dword [eax + ecx*4], 0x83
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x28]
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
jne 0x4c7515
mov eax, dword [ebx]
lea ecx, [ecx + ecx*4]
mov edx, dword [esp + 0x34]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edx
push dword [esp + 0x18]
mov edx, 2
mov ecx, edi
call fcn.004ca010
mov eax, dword [esi]
add esp, 4
mov edx, dword [esi + 0x74]
cmp byte [eax + 0x57], 0
je 0x4c753d
mov eax, 0x5d4b70
mov dword [eax + 8], edx
jmp 0x4c756c
mov ecx, dword [esp + 0x30]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [ebx]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x4c756c
mov eax, dword [edi + 0x74]
mov ecx, edi
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov eax, dword [esi + 0x74]
mov dword [esp + 0x28], eax
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4c7595
push dword [esp + 0x1c]
mov edx, 0x84
mov ecx, esi
push dword [esp + 0x18]
push dword [esp + 0x18]
call fcn.00497c60
mov edx, dword [esp + 0x28]
add esp, 0xc
jmp 0x4c75c7
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x84
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x18]
test dword [eax + 0x38], 0x200
jne 0x4c7624
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4c75f2
push 0
push 0
push edx
mov edx, 0x88
mov ecx, esi
call fcn.00497c60
add esp, 0xc
jmp 0x4c7624
mov edi, dword [esp + 0x2c]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx]
mov dword [eax + ecx*4], 0x88
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4c764b
push 0
push dword [esp + 0x18]
mov edx, 0x89
mov ecx, esi
push dword [esp + 0x24]
call fcn.00497c60
mov edx, dword [esp + 0x20]
add esp, 0xc
jmp 0x4c767d
mov edx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x89
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x74]
test eax, eax
jle 0x4c7697
lea ecx, [eax + eax*4]
mov edi, 0x10
mov eax, dword [ebx]
mov word [eax + ecx*4 - 0x12], di
mov edi, dword [esp + 0x2c]
test edx, edx
je 0x4c76af
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x4c76af
movzx eax, al
mov dword [edi + eax*4 + 0x98], edx
inc byte [edi + 0x13]
mov ecx, dword [esi + 0x74]
mov edi, dword [esp + 0x10]
cmp dword [esi + 0x78], ecx
jg 0x4c76d3
push 0
push dword [esp + 0x2c]
mov edx, 3
mov ecx, esi
push edi
call fcn.00497c60
add esp, 0xc
jmp 0x4c7701
mov edx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx]
mov dword [eax + ecx*4], 3
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov edx, dword [esi + 0x74]
cmp byte [eax + 0x57], 0
je 0x4c7713
mov eax, 0x5d4b70
jmp 0x4c7727
mov ecx, dword [esp + 0x24]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [ebx]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4c774b
push 0
push 0
push dword [esp + 0x28]
mov edx, 0x79
mov ecx, esi
call fcn.00497c60
add esp, 0xc
jmp 0x4c777d
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx]
mov dword [eax + ecx*4], 0x79
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4c779e
push 0
push 0
push dword [esp + 0x24]
mov edx, 0x79
mov ecx, esi
call fcn.00497c60
add esp, 0xc
jmp 0x4c77d0
mov edx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx]
mov dword [eax + ecx*4], 0x79
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4c77f3
push 0
push 0
push edi
mov edx, 0x79
mov ecx, esi
call fcn.00497c60
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx]
mov dword [eax + ecx*4], 0x79
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret