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

Disassembly:
push ebp
mov edx, 0
mov ebp, esp
push edi
push esi
mov esi, ecx
push ebx
sub esp, 0x7c
mov eax, dword [ebp + 0x14]
cmp byte [ecx + 0x98], 0
mov dword [esi + 0x74], 0
mov ecx, dword [ebp + 8]
mov dword [esi + 0x78], 0
mov dword [esi + 0x84], 0
cmove eax, edx
mov dword [esi + 0x68], ecx
mov ecx, dword [ebp + 0xc]
mov byte [esi + 0xa8], al
mov eax, dword [ebp + 8]
mov dword [esi + 0x6c], ecx
mov dword [esi + 0x70], eax
mov eax, dword [esi + 0x80]
mov byte [eax], 0
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x40]
mov dword [ebp - 0x5c], eax
mov eax, dword [esi + 0x34]
mov dword [ebp - 0x50], ecx
mov ecx, dword [esi + 0x44]
mov dword [ebp - 0x68], eax
mov eax, dword [esi + 0x38]
mov dword [ebp - 0x64], ecx
mov ecx, dword [esi + 0x4c]
mov dword [ebp - 0x54], eax
mov eax, dword [esi + 0x3c]
lea edi, [eax + 4]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x60], ecx
cmp ecx, edi
jbe 0x42030f
mov dword [ebp - 0x6c], edi
mov eax, edi
mov dword [ebp - 0x70], esi
mov esi, dword [ebp - 0x60]
lea esi, [esi]
mov edi, dword [eax]
mov dword [ebp - 0x4c], eax
lea ebx, [edi + 0x1e0]
lea esi, [esi]
nop
mov eax, dword [edi + 0xc]
lea edx, [edi + 0x14]
cmp eax, edx
je 0x4204c8
mov ecx, dword [edi + 0x14]
mov dword [esp], eax
add edi, 0x28
lea edx, [ecx + 1]
mov dword [esp + 4], edx
call fcn.004f09f0
cmp edi, ebx
jne 0x4202d8
mov eax, dword [ebp - 0x4c]
add eax, 4
cmp esi, eax
ja 0x4202c8
mov edi, dword [ebp - 0x6c]
mov esi, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x60]
cmp dword [ebp - 0x58], ecx
je 0x4205c2
mov eax, dword [ebp - 0x5c]
mov ebx, eax
cmp dword [ebp - 0x54], eax
je 0x420350
lea esi, [esi]
mov eax, dword [ebx + 0xc]
lea edx, [ebx + 0x14]
cmp eax, edx
je 0x4204f0
mov ecx, dword [ebx + 0x14]
mov dword [esp], eax
add ebx, 0x28
lea edx, [ecx + 1]
mov dword [esp + 4], edx
call fcn.004f09f0
cmp dword [ebp - 0x54], ebx
jne 0x420328
mov ecx, dword [ebp - 0x64]
mov ebx, ecx
cmp dword [ebp - 0x50], ecx
je 0x420388
lea esi, [esi]
mov eax, dword [ebx + 0xc]
lea edx, [ebx + 0x14]
cmp eax, edx
je 0x420508
mov ecx, dword [ebx + 0x14]
mov dword [esp], eax
add ebx, 0x28
lea edx, [ecx + 1]
mov dword [esp + 4], edx
call fcn.004f09f0
cmp dword [ebp - 0x50], ebx
jne 0x420360
mov eax, dword [esi + 0x4c]
lea ebx, [eax + 4]
cmp ebx, edi
jbe 0x4203b1
lea esi, [esi]
mov dword [esp + 4], 0x1e0
mov eax, dword [edi]
add edi, 4
mov dword [esp], eax
call fcn.004f09f0
cmp ebx, edi
ja 0x420398
mov eax, dword [ebp - 0x5c]
mov edx, dword [esi + 8]
mov dword [esi + 0x40], eax
mov eax, dword [ebp - 0x68]
mov dword [esi + 0x44], eax
mov eax, dword [ebp - 0x54]
mov dword [esi + 0x48], eax
mov eax, dword [ebp - 0x58]
mov dword [esi + 0x4c], eax
mov eax, dword [esi + 0x18]
cmp eax, edx
je 0x4203f5
mov ecx, dword [esi + 0x1c]
lea esi, [esi]
lea esi, [esi]
cmp ecx, eax
je 0x420520
mov edx, dword [esi + 8]
sub eax, 4
mov dword [esi + 0x18], eax
cmp eax, edx
jne 0x4203e0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 0x20]
sub eax, 4
cmp edx, eax
je 0x420570
mov eax, dword [ebp + 0x10]
add edx, 4
mov dword [edx - 4], eax
mov dword [esi + 0x18], edx
cmp byte [esi + 0xa1], 0
je 0x42042f
mov edx, dword [esi + 0x68]
mov eax, dword [esi + 0x6c]
sub eax, edx
cmp eax, 2
jg 0x420585
mov ecx, esi
call fcn.0041f3e0
mov edi, eax
mov eax, dword [esi + 0x18]
cmp eax, dword [esi + 0x1c]
je 0x420705
sub eax, 4
mov dword [esi + 0x18], eax
cmp byte [esi + 0x98], 0
lea ebx, [ebp - 0x3c]
je 0x4205b0
lea esi, [esi]
mov dword [esp], ebx
mov ecx, esi
call fcn.00410530
sub esp, 4
cmp dword [ebp - 0x3c], 0xf
je 0x420460
cmp byte [esi + 0x9e], 0
je 0x420487
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x42066f
cmp byte [esi + 0xa8], 0
je 0x42049e
mov eax, dword [esi + 0x84]
test eax, eax
jne 0x42060f
cmp byte [esi + 0x9a], 0
je 0x4204b9
mov eax, dword [ebp + 0x10]
movzx eax, byte [eax + 8]
sub eax, 6
cmp al, 1
ja 0x4206c6
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
add edi, 0x28
cmp edi, ebx
jne 0x4202d8
mov eax, dword [ebp - 0x4c]
add eax, 4
cmp esi, eax
ja 0x4202c8
jmp 0x420309
add ebx, 0x28
cmp dword [ebp - 0x54], ebx
jne 0x420328
jmp 0x420350
add ebx, 0x28
cmp dword [ebp - 0x50], ebx
jne 0x420360
jmp 0x420388
mov dword [esp], ecx
mov dword [esp + 4], 0x200
call fcn.004f09f0
mov eax, dword [esi + 0x24]
mov ecx, dword [eax - 4]
lea edx, [eax - 4]
mov dword [esi + 0x24], edx
lea eax, [ecx + 0x200]
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], eax
lea eax, [ecx + 0x1fc]
mov dword [esi + 0x18], eax
cmp dword [esi + 8], eax
jne 0x4203e0
mov edx, eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 0x20]
sub eax, 4
cmp edx, eax
jne 0x420409
lea eax, [ebp - 0x30]
mov ecx, esi
mov dword [esp], eax
call fcn.004baf70
sub esp, 4
jmp 0x420415
cmp byte [edx], 0xef
jne 0x42042f
cmp byte [edx + 1], 0xbb
jne 0x42042f
cmp byte [edx + 2], 0xbf
jne 0x42042f
add edx, 3
mov dword [esi + 0x68], edx
mov dword [esi + 0x70], edx
jmp 0x42042f
mov dword [esp], ebx
mov ecx, esi
call fcn.00410530
sub esp, 4
jmp 0x420473
mov ebx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x50]
cmp ebx, eax
je 0x420388
mov eax, dword [ebx + 0xc]
lea edx, [ebx + 0x14]
cmp eax, edx
je 0x420602
mov ecx, dword [ebx + 0x14]
mov dword [esp], eax
add ebx, 0x28
lea edx, [ecx + 1]
mov dword [esp + 4], edx
call fcn.004f09f0
cmp dword [ebp - 0x50], ebx
je 0x420388
mov eax, dword [ebx + 0xc]
lea edx, [ebx + 0x14]
cmp eax, edx
jne 0x4205da
add ebx, 0x28
cmp dword [ebp - 0x50], ebx
jne 0x4205d0
jmp 0x420388
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x30], ecx
mov ecx, dword [esi + 0x80]
add eax, ecx
mov dword [esp], ecx
mov ecx, edx
mov dword [esp + 4], eax
call fcn.00407730
lea edx, [ebp - 0x30]
mov ecx, dword [ebp + 0x10]
sub esp, 8
mov dword [esp + 4], 2
mov dword [esp], edx
call fcn.0040f980
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x28]
sub esp, 8
cmp eax, ecx
je 0x42049e
mov ecx, dword [ebp - 0x28]
mov dword [esp], eax
lea edx, [ecx + 1]
mov dword [esp + 4], edx
call fcn.004f09f0
jmp 0x42049e
mov dword [esp], str.Extra_non_whitespace_after_JSON_value.
lea edi, [ebp - 0x30]
mov ecx, edi
call fcn.00407f80
mov ecx, esi
sub esp, 4
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov dword [esp], edi
call fcn.0041d3d0
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x28]
sub esp, 0xc
cmp edx, eax
je 0x4206b8
mov eax, dword [ebp - 0x28]
mov dword [esp], edx
add eax, 1
mov dword [esp + 4], eax
call fcn.004f09f0
lea esp, [ebp - 0xc]
xor edi, edi
pop ebx
mov eax, edi
pop esi
pop edi
pop ebp
ret 0x10
mov eax, dword [ebp + 8]
mov dword [esp], str.A_valid_JSON_document_must_be_either_an_array_or_an_object_value.
lea edi, [ebp - 0x30]
mov ecx, edi
mov dword [ebp - 0x3c], 0x10
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
call fcn.00407f80
mov ecx, esi
sub esp, 4
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov dword [esp], edi
call fcn.0041d3d0
jmp 0x420699
mov dword [esp], eax
mov dword [esp + 4], 0x200
call fcn.004f09f0
mov eax, dword [esi + 0x24]
lea edx, [eax - 4]
mov eax, dword [eax - 4]
mov dword [esi + 0x24], edx
mov dword [esi + 0x1c], eax
lea edx, [eax + 0x200]
add eax, 0x1fc
mov dword [esi + 0x20], edx
mov dword [esi + 0x18], eax
jmp 0x42044a