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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5edd49
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x64c874]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push esi
push edi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x64]
push esi
mov dword [esp + 0x18], esi
call fcn.00533ba0
call fcn.004b98d0
mov dword [esp + 0x28], eax
mov byte [eax + 0x29], 1
mov eax, dword [esp + 0x28]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x28]
mov dword [eax], eax
mov eax, dword [esp + 0x28]
xor ebx, ebx
mov dword [eax + 8], eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0xd0], ebx
mov eax, dword [esi + 0x30]
cmp eax, ebx
jne 0x4c6cb7
mov eax, dword [esi + 0x34]
mov edi, dword [eax + 4]
cmp edi, dword [eax + 8]
mov dword [esp + 0x10], eax
jbe 0x4c6cc8
call fcn.005b8b18
mov eax, dword [esi + 0x30]
cmp eax, ebx
mov dword [esp + 0x1c], edi
je 0x4c6cdb
mov ebx, eax
mov dword [esp + 0x20], ebx
jmp 0x4c6ce4
mov ecx, dword [esi + 0x34]
mov dword [esp + 0x20], ecx
mov ebx, ecx
mov eax, dword [ebx + 8]
cmp dword [ebx + 4], eax
mov dword [esp + 0x3c], eax
jbe 0x4c6cf5
call fcn.005b8b18
cmp dword [esp + 0x10], ebx
je 0x4c6d00
call fcn.005b8b18
cmp edi, dword [esp + 0x3c]
je 0x4c6ef1
mov edx, dword [esp + 0x10]
cmp edi, dword [edx + 8]
jb 0x4c6d18
call fcn.005b8b18
lea eax, [esp + 0xa4]
push eax
mov ecx, esi
call fcn.004c5080
mov ebx, eax
call fcn.004ae920
lea ecx, [esp + 0x88]
add esi, 0x48
push ecx
lea edx, [esp + 0xa8]
mov ecx, esi
mov byte [esp + 0xd4], 1
call fcn.004a0a90
add esp, 4
lea edx, [esp + 0xa4]
push edx
lea eax, [esp + 0x70]
push eax
mov byte [esp + 0xd8], 2
call fcn.004a0850
add esp, 8
mov byte [esp + 0xd0], 3
jmp 0x4c6d80
cmp dword [esp + 0x80], 0
je 0x4c6e34
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x70]
mov ecx, esi
call fcn.004a0a90
add esp, 4
push eax
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0xdc], 4
call fcn.004ce3b0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ebx, dword [eax + 8]
mov edi, 0x10
mov byte [esp + 0xd0], 3
cmp dword [esp + 0x5c], edi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
jb 0x4c6de9
mov eax, dword [esp + 0x48]
push eax
call fcn.0059b877
add esp, 4
lea ecx, [esp + 0x6c]
push ecx
lea edx, [esp + 0x48]
push edx
call fcn.004a0850
add esp, 8
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0xdc], 5
call fcn.0040b390
mov byte [esp + 0xd0], 3
cmp dword [esp + 0x5c], edi
jb 0x4c6e2c
mov eax, dword [esp + 0x48]
push eax
call fcn.0059b877
add esp, 4
test bl, bl
jne 0x4c6d80
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x88]
push ecx
call fcn.004c6b90
mov esi, 0x10
cmp dword [esp + 0x84], esi
jb 0x4c6e60
mov edx, dword [esp + 0x70]
push edx
call fcn.0059b877
add esp, 4
xor ebx, ebx
cmp dword [esp + 0xa0], esi
mov edi, 0xf
mov dword [esp + 0x84], edi
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
jb 0x4c6e92
mov eax, dword [esp + 0x8c]
push eax
call fcn.0059b877
add esp, 4
mov byte [esp + 0xd0], 0
cmp dword [esp + 0xbc], esi
mov dword [esp + 0xa0], edi
mov dword [esp + 0x9c], ebx
mov byte [esp + 0x8c], 0
jb 0x4c6ec9
mov ecx, dword [esp + 0xa8]
push ecx
call fcn.0059b877
add esp, 4
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
cmp eax, dword [edx + 8]
jb 0x4c6edb
call fcn.005b8b18
add dword [esp + 0x1c], 0x20
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
jmp 0x4c6cf5
mov ebx, dword [esp + 0x28]
mov ecx, dword [ebx]
lea edi, [esp + 0x24]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x40], ecx
nop
test edi, edi
je 0x4c6f1c
lea edx, [esp + 0x24]
cmp edi, edx
je 0x4c6f21
call fcn.005b8b18
cmp ebx, dword [esp + 0x40]
je 0x4c6f77
lea esi, [esp + 0x18]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ebx
call fcn.004cfd40
mov edi, dword [esp + 0x18]
test edi, edi
jne 0x4c6f45
call fcn.005b8b18
mov esi, dword [esp + 0x1c]
cmp esi, dword [edi + 4]
jne 0x4c6f53
call fcn.005b8b18
add esi, 0xc
push esi
mov esi, dword [esp + 0x18]
call fcn.004c6b90
lea esi, [esp + 0x34]
call fcn.004cfd40
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x14]
jmp 0x4c6f10
mov eax, dword [esi + 4]
neg eax
sbb eax, eax
test eax, fcn.00489120
mov dword [esp + 0xd0], 0xffffffff
lea eax, [esp + 0x24]
je 0x4c6f9d
call fcn.004905a0
mov al, 1
jmp 0x4c6fa4
call fcn.004905a0
xor al, al
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.005b88a9
mov esp, ebp
pop ebp
ret