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

Disassembly:
push ebp
mov eax, 0xffffff9a
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
xor edi, edi
mov esi, dword [ebp + 8]
test esi, esi
je 0x4c6acb
mov edx, dword [esi + 0x2c]
test edx, edx
je 0x4c6acb
mov dword [esi + 0x34], 0
cmp dword [esi + 0x80], 8
je 0x4c6ae7
mov edx, dword [esi + 0x6c]
test edx, edx
setne dl
test edi, edi
sete al
and eax, 0xff
test edx, eax
jne 0x4c6bc2
cmp dword [esi + 0x80], 8
je 0x4c6bd8
mov eax, dword [esi + 0x84]
test eax, eax
je 0x4c6ad3
mov eax, dword [esi + 0x74]
mov ecx, dword [esi + 0x44]
mov ebx, dword [esi + 0x40a4]
add eax, 0x10
mov edx, dword [ebp + 0x10]
add ebx, ecx
push 4
call fcn.004c5ef0
mov eax, dword [esi + 0x74]
mov edx, ebx
add eax, 0x14
push 4
call fcn.004c5ef0
pop eax
cmp dword [esi + 0x5c], 1
pop edx
je 0x4c6c60
mov eax, dword [esi + 0x74]
mov edx, dword [ebp + 0xc]
add eax, 0x18
push 4
call fcn.004c5ef0
pop eax
test edi, edi
je 0x4c6ba6
sub esp, 0xc
mov eax, dword [esi + 0x74]
push eax
call fcn.0058e9d0
add esp, 0x10
test edi, edi
je 0x4c6b50
mov eax, dword [esi + 0x40b0]
mov dword [esi + 0x2c], 0
inc eax
mov dword [esi + 0x40b0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esi + 0x408c]
mov dword [ebp + 0x10], eax
mov eax, dword [esi + 0x38]
mov dword [ebp + 0xc], eax
jmp 0x4c6a4f
mov eax, dword [esi + 0x84]
test eax, eax
jne 0x4c6a1a
lea eax, [esi + 0x30]
mov dword [ebp - 0x14], eax
jmp 0x4c6b2a
mov ebx, dword [esi + 0x44]
push eax
push eax
mov eax, dword [ebp - 0x14]
push 4
push eax
call fcn.005745a0
mov edx, dword [esi + 0x44]
mov edi, eax
sub edx, ebx
mov eax, dword [esi + 0x6c]
add edx, eax
add esp, 0x10
mov dword [esi + 0x6c], edx
test edi, edi
jne 0x4c6c78
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x4c6b00
mov eax, esi
call fcn.004c67e0
lea eax, [esi + 0x88]
mov dword [esi + 0x40], 0x4000
mov dword [esi + 0x3c], eax
jmp 0x4c6b00
push eax
push eax
or edi, 0xffffffff
mov eax, dword [esi + 0x20]
push eax
mov eax, dword [esi + 0x1c]
push eax
call dword [esi + 0xc]
push 0
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x70]
add eax, 0xe
push eax
mov eax, dword [esi + 0x20]
push eax
mov eax, dword [esi + 0x1c]
push eax
call dword [esi + 0x10]
add esp, 0x20
test eax, eax
je 0x4c6c03
mov eax, dword [ebp - 0x10]
push 0
push eax
mov eax, dword [esi + 0x20]
push eax
mov eax, dword [esi + 0x1c]
push eax
call dword [esi + 0x10]
add esp, 0x10
test eax, eax
je 0x4c6ab5
or edi, 0xffffffff
jmp 0x4c6ab5
sub esp, 0xc
mov edx, dword [esi + 0x74]
mov ecx, dword [esi + 0x78]
lea eax, [esi + 0x24]
push ecx
call fcn.004c5dc0
add esp, 0x10
mov edi, eax
jmp 0x4c6a9e
mov eax, esi
call fcn.004c67e0
inc eax
jne 0x4c6a34
or edi, 0xffffffff
jmp 0x4c6a34
mov ebx, dword [esi + 0x84]
test ebx, ebx
jne 0x4c6a4f
sub esp, 0xc
lea eax, [esi + 0x30]
push eax
call fcn.00574170
add esp, 0x10
mov edi, eax
mov dword [esi + 0x68], 0
jmp 0x4c6a41
push edi
push edi
mov ecx, dword [ebp + 0x10]
mov edx, dword [esi + 0x20]
mov eax, esi
push 4
push ecx
call fcn.004c5e90
add esp, 0x10
mov edi, eax
test eax, eax
jne 0x4c6b82
push edx
push edx
mov eax, esi
mov edx, dword [esi + 0x20]
push 4
push ebx
call fcn.004c5e90
add esp, 0x10
mov edi, eax
test eax, eax
jne 0x4c6b82
push eax
push eax
mov eax, dword [ebp + 0xc]
mov edx, dword [esi + 0x20]
push 4
push eax
mov eax, esi
call fcn.004c5e90
add esp, 0x10
mov edi, eax
jmp 0x4c6b82
mov eax, dword [esi + 0x74]
mov edx, 1
add eax, 0x24
push 2
call fcn.004c5ef0
pop eax
jmp 0x4c6a85
cmp edi, 1
setne al
and eax, 0xff
neg eax
and edi, eax
jmp 0x4c6a1d