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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5eff83
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x64c874]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push esi
push edi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov dword [esp + 0x28], ecx
mov ecx, dword [ebp + 8]
lea edi, [esp + 0x8c]
call fcn.004a1410
xor ebx, ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0x20], ebx
call fcn.005d95d0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
mov dword [esp + 0x40], eax
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0xb0]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
lea esi, [esp + 0x48]
lea edi, [esp + 0x8c]
mov byte [ecx + 4], bl
call fcn.0040b390
mov ebx, edi
call fcn.0049fae0
add esp, 0x1c
call fcn.005d9640
mov dword [esp + 0x1c], eax
mov ecx, 2
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
mov edx, dword [edx + 0x14]
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x24]
push eax
call edx
test al, al
jne 0x4c7cfa
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
push edx
mov edx, esi
push edx
call eax
test al, al
je 0x4c7e36
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x90]
push edx
call fcn.0049fe30
add esp, 8
mov edi, dword [esp + 0x28]
mov ecx, dword [edi + 0x64]
push edi
call fcn.00533ba0
mov byte [esp + 0x17], 1
call fcn.004b98d0
mov dword [esp + 0x30], eax
mov byte [eax + 0x29], 1
mov eax, dword [esp + 0x30]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x30]
mov dword [eax], eax
mov eax, dword [esp + 0x30]
mov dword [eax + 8], eax
mov dword [esp + 0x34], 0
mov byte [esp + 0xb8], 1
mov esi, dword [edi + 0x30]
test esi, esi
jne 0x4c7d5c
mov esi, dword [edi + 0x34]
mov edi, dword [esi + 4]
cmp edi, dword [esi + 8]
jbe 0x4c7d69
call fcn.005b8b18
mov ebx, dword [esi + 8]
cmp dword [esi + 4], ebx
mov dword [esp + 0x18], ebx
jbe 0x4c7d80
call fcn.005b8b18
lea ebx, [ebx]
cmp edi, ebx
je 0x4c7e6a
cmp edi, dword [esi + 8]
jb 0x4c7d92
call fcn.005b8b18
lea edx, [esp + 0x64]
push edx
mov ebx, esi
call fcn.004ae920
push eax
lea eax, [esp + 0x4c]
push eax
mov byte [esp + 0xc0], 2
call fcn.004a0440
add esp, 8
mov byte [esp + 0xb8], 4
cmp dword [esp + 0x7c], 0x10
jb 0x4c7dd0
mov ecx, dword [esp + 0x68]
push ecx
call fcn.0059b877
add esp, 4
mov edx, dword [esp + 0x30]
xor eax, eax
mov dword [esp + 0x78], eax
mov byte [esp + 0x68], al
mov eax, dword [edx]
push eax
lea ecx, [esp + 0x30]
push ecx
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x4c]
push ecx
lea ebx, [esp + 0x3c]
mov dword [esp + 0x8c], 0xf
call fcn.004ce510
mov byte [esp + 0xb8], 1
cmp dword [esp + 0x60], 0x10
jb 0x4c7e20
mov edx, dword [esp + 0x4c]
push edx
call fcn.0059b877
add esp, 4
cmp edi, dword [esi + 8]
jb 0x4c7e2a
call fcn.005b8b18
mov ebx, dword [esp + 0x18]
add edi, 0x20
jmp 0x4c7d80
mov eax, dword [esp + 0x20]
neg eax
sbb eax, eax
test eax, fcn.00489120
je 0x4c7d0f
cmp dword [esp + 0xa4], 0x10
jb 0x4c7e63
mov ecx, dword [esp + 0x90]
push ecx
call fcn.0059b877
add esp, 4
xor al, al
jmp 0x4c80c0
mov eax, dword [esp + 0x30]
mov edi, dword [eax]
lea esi, [esp + 0x2c]
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x44], eax
test esi, esi
je 0x4c7e8c
lea eax, [esp + 0x2c]
cmp esi, eax
je 0x4c7e91
call fcn.005b8b18
cmp edi, dword [esp + 0x44]
je 0x4c8075
test esi, esi
jne 0x4c7ea4
call fcn.005b8b18
cmp edi, dword [esi + 4]
jne 0x4c7eae
call fcn.005b8b18
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x64]
lea ebx, [edi + 0xc]
push edx
add ecx, 0x48
mov edx, ebx
call fcn.004a0a90
add esp, 4
mov byte [esp + 0xb8], 5
cmp edi, dword [esi + 4]
jne 0x4c7ed9
call fcn.005b8b18
lea eax, [esp + 0x48]
push eax
mov edx, ebx
lea ecx, [esp + 0x90]
call fcn.004a0a90
add esp, 4
lea esi, [esp + 0x20]
lea edx, [esp + 0x48]
lea ecx, [esp + 0x64]
mov byte [esp + 0xb8], 6
call fcn.0049fd00
mov ecx, dword [esp + 0x20]
neg ecx
sbb ecx, ecx
test ecx, fcn.00489120
je 0x4c7f5a
call fcn.005d9640
mov dword [esp + 0x1c], eax
mov ecx, 2
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
mov edx, dword [edx + 0x14]
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x24]
push eax
call edx
test al, al
jne 0x4c7f5a
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
push edx
mov edx, esi
push edx
call eax
test al, al
je 0x4c7fb8
mov esi, 0x10
cmp dword [esp + 0x60], esi
jb 0x4c7f72
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.0059b877
add esp, 4
mov byte [esp + 0xb8], 1
cmp dword [esp + 0x7c], esi
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], 0
mov byte [esp + 0x4c], 0
jb 0x4c7fa2
mov edx, dword [esp + 0x68]
push edx
call fcn.0059b877
add esp, 4
lea esi, [esp + 0x38]
call fcn.004f19c0
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
jmp 0x4c7e80
xor edi, edi
mov dword [esp + 0x18], edi
call fcn.005d95d0
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x6c]
push edx
call fcn.004a00a0
mov eax, dword [esp + 0x24]
add esp, 0xc
neg eax
sbb eax, eax
test eax, fcn.00489120
je 0x4c8016
mov esi, dword [esp + 0x28]
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [esi + 0xc]
call fcn.0040b390
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esi + 4], edx
mov dword [esi + 8], eax
mov byte [esp + 0x17], 0
jmp 0x4c8028
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x68]
push edx
call fcn.004a1190
add esp, 8
mov esi, 0x10
cmp dword [esp + 0x60], esi
jb 0x4c8040
mov eax, dword [esp + 0x4c]
push eax
call fcn.0059b877
add esp, 4
mov byte [esp + 0xb8], 1
cmp dword [esp + 0x7c], esi
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], edi
mov byte [esp + 0x4c], 0
jb 0x4c806c
mov ecx, dword [esp + 0x68]
push ecx
call fcn.0059b877
add esp, 4
cmp byte [esp + 0x17], 0
je 0x4c8092
jmp 0x4c807a
mov esi, 0x10
mov ecx, dword [esp + 0x28]
push 0xffffffffffffffff
push 0
lea edx, [esp + 0x94]
push edx
add ecx, 0x48
call fcn.0040b390
lea eax, [esp + 0x2c]
mov byte [esp + 0xb8], 0
call fcn.004905a0
cmp dword [esp + 0xa4], esi
jb 0x4c80bc
mov eax, dword [esp + 0x90]
push eax
call fcn.0059b877
add esp, 4
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.005b88a9
mov esp, ebp
pop ebp
ret 4