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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x80
mov edi, dword [esp + 0xa0]
mov eax, dword [esp + 0xa4]
mov esi, ecx
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], eax
xor eax, eax
cmp eax, dword [edx + 0xc]
jo 0x4c3162
mov eax, dword [edx + 0x18]
mov edi, edx
neg eax
jo 0x4c3162
mov ebx, dword [edi + 0x14]
mov dword [esp + 0x60], esi
test ebx, ebx
js 0x4c33f2
mov esi, dword [edi + 0x10]
je 0x4c317e
movzx eax, byte [0x6019e5]
xor ecx, ecx
mov edx, ebx
call fcn.00499510
test eax, eax
je 0x4c33f2
mov ebp, eax
jmp 0x4c3183
mov dword [esp], 0
mov dword [esp + 4], 1
mov dword [esp + 8], 0
jmp 0x4c32d2
mov ebp, 1
push ebx
push esi
push ebp
call fcn.004ef180
add esp, 0xc
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebx
mov dword [esp + 0xc], ebx
mov ebx, dword [edi + 0x20]
test ebx, ebx
js 0x4c33f2
mov esi, dword [edi + 0x1c]
je 0x4c31c6
movzx eax, byte [0x6019e5]
xor ecx, ecx
mov edx, ebx
call fcn.00499510
test eax, eax
je 0x4c33f2
mov ebp, eax
jmp 0x4c31cb
mov ebp, 1
push ebx
push esi
push ebp
call fcn.004ef180
add esp, 0xc
lea eax, [esp + 0xc]
mov edx, esp
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0x5e44ec
mov dword [esp + 0x34], 2
mov dword [esp + 0x40], 0
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp], ebx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0x40c140
mov dword [esp + 0x20], edx
lea ecx, [esp + 0x74]
lea edx, [esp + 0x30]
mov dword [esp + 0x24], 0x40c140
mov dword [esp + 0x3c], 2
call fcn.0040c360
cmp dword [esp], 0
je 0x4c324c
push dword [esp + 4]
push 0
push dword [0x6019d8]
call dword [sym.imp.kernel32.dll_HeapFree]
cmp dword [esp + 0xc], 0
je 0x4c3265
push dword [esp + 0x10]
push 0
push dword [0x6019d8]
call dword [sym.imp.kernel32.dll_HeapFree]
mov ebp, dword [esp + 0x78]
mov esi, dword [esp + 0x74]
lea ebx, [esp + 0x18]
mov ecx, ebx
mov edx, ebp
push dword [esp + 0x7c]
call fcn.004c34b0
add esp, 4
test esi, esi
je 0x4c3294
push ebp
push 0
push dword [0x6019d8]
call dword [sym.imp.kernel32.dll_HeapFree]
cmp byte [edi + 0x28], 0
mov esi, dword [esp + 0x60]
je 0x4c33a3
mov dword [esp], 0
mov dword [esp + 4], 1
mov dword [esp + 8], 0
cmp dword [esp + 0x18], 0
je 0x4c32d2
push dword [esp + 0x1c]
push 0
push dword [0x6019d8]
call dword [sym.imp.kernel32.dll_HeapFree]
mov ecx, dword [esp + 0x94]
mov eax, dword [esp + 0x98]
lea edx, [esp + 0x9c]
mov dword [esp + 0x18], 0x5e46b4
mov dword [esp + 0x1c], 7
mov dword [esp + 0x28], 0
mov dword [esp + 0x6c], ecx
mov dword [esp + 0xc], ecx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x70], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0x34], 0x489eb0
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], 0x413fc0
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0x64]
mov dword [esp + 0x44], 0x489eb0
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], 0x413fc0
mov edx, esp
mov dword [esp + 0x50], ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x54], 0x489eb0
mov dword [esp + 0x58], edx
lea edx, [esp + 0x18]
mov dword [esp + 0x5c], 0x40c140
mov dword [esp + 0x20], ecx
mov ecx, esi
mov dword [esp + 0x24], 6
call fcn.0040c360
cmp dword [esp], 0
je 0x4c3398
push dword [esp + 4]
push 0
push dword [0x6019d8]
call dword [sym.imp.kernel32.dll_HeapFree]
add esp, 0x80
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [esp + 0xc]
mov ecx, esp
lea edx, [esp + 0x30]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x30], 0x5e465c
mov dword [esp + 0x34], 2
mov dword [esp + 0x40], 0
mov dword [esp + 0x10], 0x40c140
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 1
call fcn.0040c360
cmp dword [esp + 0x18], 0
jne 0x4c32c0
jmp 0x4c32d2
ud2