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

Disassembly:
push ebp
mov edx, 0
mov ebp, esp
push edi
push esi
push ebx
mov ebx, ecx
sub esp, 0x5c
cmp byte [ecx + 0x98], 0
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 8]
mov dword [ecx + 0x74], 0
mov dword [ecx + 0x78], 0
mov dword [ecx + 0x84], 0
cmove eax, edx
mov dword [ecx + 0x68], edi
mov edi, dword [ebp + 0xc]
mov byte [ecx + 0xa8], al
mov eax, dword [ebp + 8]
mov dword [ecx + 0x6c], edi
mov dword [ecx + 0x70], eax
mov eax, dword [ecx + 0x80]
mov byte [eax], 0
mov eax, dword [ecx + 0x30]
mov edi, dword [ecx + 0x34]
mov ecx, dword [ecx + 0x38]
mov edx, dword [ebx + 0x44]
mov esi, dword [ebx + 0x4c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebx + 0x48]
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebx + 0x40]
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x3c], edx
mov edi, dword [ebx + 0x3c]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x28], ecx
lea ecx, [ebx + 0x28]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x40]
mov dword [esp + 4], eax
lea eax, [ebp - 0x30]
mov dword [esp], eax
call fcn.0053f660
mov eax, dword [ebx + 0x4c]
sub esp, 8
lea esi, [eax + 4]
lea eax, [edi + 4]
cmp esi, eax
jbe 0x4cf29c
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
mov dword [esp], eax
call sub.libstdc_6.dll_operator_delete_void_
add dword [ebp - 0x4c], 4
mov eax, dword [ebp - 0x4c]
cmp esi, eax
ja 0x4cf284
mov eax, dword [ebp - 0x58]
mov dword [ebx + 0x4c], edi
mov edx, dword [ebx + 8]
mov dword [ebx + 0x40], eax
mov eax, dword [ebp - 0x54]
mov dword [ebx + 0x44], eax
mov eax, dword [ebp - 0x50]
mov dword [ebx + 0x48], eax
mov eax, dword [ebx + 0x18]
jmp 0x4cf2c6
sub eax, 4
mov dword [ebx + 0x18], eax
cmp eax, edx
je 0x4cf300
cmp eax, dword [ebx + 0x1c]
jne 0x4cf2c0
mov dword [esp], eax
call sub.libstdc_6.dll_operator_delete_void_
mov eax, dword [ebx + 0x24]
lea edx, [eax - 4]
mov dword [ebx + 0x24], edx
mov eax, dword [eax - 4]
lea edx, [eax + 0x200]
mov dword [ebx + 0x1c], eax
add eax, 0x1fc
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x20], edx
mov edx, dword [ebx + 8]
cmp eax, edx
jne 0x4cf2ca
nop
mov eax, dword [ebp + 0x10]
mov ecx, ebx
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
mov dword [esp], eax
call fcn.00542350
mov ecx, ebx
sub esp, 4
call fcn.004ce750
mov byte [ebp - 0x4c], al
mov eax, dword [ebx + 0x18]
cmp eax, dword [ebx + 0x1c]
je 0x4cf44c
sub eax, 4
mov dword [ebx + 0x18], eax
lea eax, [ebp - 0x40]
mov ecx, ebx
mov dword [esp], eax
call fcn.004c6c60
sub esp, 4
cmp byte [ebx + 0x9e], 0
je 0x4cf356
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x4cf3f0
cmp byte [ebx + 0xa8], 0
je 0x4cf3b1
mov eax, dword [ebx + 0x84]
test eax, eax
je 0x4cf3b1
mov edx, dword [ebx + 0x80]
lea ecx, [ebp - 0x30]
lea edi, [ebp - 0x28]
mov dword [ebp - 0x30], edi
add eax, edx
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.004c5780
lea eax, [ebp - 0x30]
mov ecx, dword [ebp + 0x10]
sub esp, 8
mov dword [esp + 4], 2
mov dword [esp], eax
call fcn.004d7080
mov eax, dword [ebp - 0x30]
sub esp, 8
cmp eax, edi
je 0x4cf3b1
mov dword [esp], eax
call sub.libstdc_6.dll_operator_delete_void_
cmp byte [ebx + 0x9a], 0
movzx esi, byte [ebp - 0x4c]
jne 0x4cf3d0
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov ecx, dword [ebp + 0x10]
call fcn.004d6eb0
test al, al
je 0x4cf479
movzx esi, byte [ebp - 0x4c]
lea esp, [ebp - 0xc]
pop ebx
mov eax, esi
pop esi
pop edi
pop ebp
ret 0x10
lea ecx, [ebp - 0x30]
lea edi, [ebp - 0x28]
mov dword [esp + 4], 0xc889d6
mov dword [esp], str.Extra_non_whitespace_after_JSON_value.
mov dword [ebp - 0x30], edi
call fcn.004c5780
lea eax, [ebp - 0x40]
sub esp, 8
mov ecx, ebx
mov dword [esp + 8], 0
mov dword [esp + 4], eax
lea eax, [ebp - 0x30]
mov dword [esp], eax
call fcn.004cc420
mov eax, dword [ebp - 0x30]
sub esp, 0xc
cmp eax, edi
je 0x4cf43e
mov dword [esp], eax
call sub.libstdc_6.dll_operator_delete_void_
lea esp, [ebp - 0xc]
xor esi, esi
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov dword [esp], eax
call sub.libstdc_6.dll_operator_delete_void_
mov eax, dword [ebx + 0x24]
lea edx, [eax - 4]
mov dword [ebx + 0x24], edx
mov eax, dword [eax - 4]
lea edx, [eax + 0x200]
mov dword [ebx + 0x1c], eax
add eax, 0x1fc
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x20], edx
jmp 0x4cf332
mov ecx, dword [ebp + 0x10]
call fcn.004d6ec0
test al, al
mov esi, eax
jne 0x4cf3e0
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x30]
lea edi, [ebp - 0x28]
mov dword [esp + 4], 0xc88801
mov dword [esp], str.A_valid_JSON_document_must_be_either_an_array_or_an_object_value.
mov dword [ebp - 0x40], 0x10
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
call fcn.004c5780
lea eax, [ebp - 0x40]
sub esp, 8
mov ecx, ebx
mov dword [esp + 8], 0
mov dword [esp + 4], eax
lea eax, [ebp - 0x30]
mov dword [esp], eax
call fcn.004cc420
mov eax, dword [ebp - 0x30]
sub esp, 0xc
cmp eax, edi
je 0x4cf3be
mov dword [esp], eax
call sub.libstdc_6.dll_operator_delete_void_
jmp 0x4cf3be