Function at 0x4203a0
Capabilities:
Check for peb ntglobalflag flag
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50e650
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x554910]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push esi
push edi
mov eax, dword [0x554910]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push str.LDCurlDownloader::downloadMemory_start
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0xc]
push 0x93
push str.LDCurlDownloader::downloadMemory
mov dword [esp + 0x30], eax
call fcn.00431920
add esp, 0xc
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
call fcn.00496240
mov ebx, eax
mov dword [esp + 0x20], ebx
test ebx, ebx
jne 0x42043c
push str.curl_init_error
push 0xcb
push str.LDCurlDownloader::downloadMemory
call fcn.00431920
add esp, 0xc
xor al, al
jmp 0x420684
push 0x4202c0
push 0x4e2b
push ebx
call fcn.004962f0
lea eax, [esp + 0x64]
push eax
push 0x2711
push ebx
call fcn.004962f0
push 1
push 0x34
push ebx
call fcn.004962f0
push 0
push 0x40
push ebx
call fcn.004962f0
push 0
push 0x51
push ebx
call fcn.004962f0
push 1
push 0x4b
push ebx
call fcn.004962f0
add esp, 0x48
push 0x53c984
push 0
call fcn.004965b0
mov edi, dword [ebp + 0x10]
add esp, 8
mov edi, dword [edi]
mov esi, dword [edi]
cmp esi, edi
je 0x420508
mov ebx, eax
push 0xffffffffffffffff
lea eax, [esi + 8]
mov dword [esp + 0x78], 0xf
push 0
push eax
lea ecx, [esp + 0x6c]
mov dword [esp + 0x7c], 0
mov byte [esp + 0x6c], 0
call fcn.00404e50
cmp dword [esp + 0x74], 0x10
lea eax, [esp + 0x60]
cmovae eax, dword [esp + 0x60]
push eax
push ebx
call fcn.004965b0
add esp, 8
mov ebx, eax
cmp dword [esp + 0x74], 0x10
jb 0x4204f6
push dword [esp + 0x60]
call fcn.0047b130
add esp, 4
mov esi, dword [esi]
cmp esi, edi
jne 0x4204a3
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
push eax
push 0x2727
push ebx
call fcn.004962f0
push 0x1f40
push 0x9c
push ebx
call fcn.004962f0
push 0x1f40
push 0x9b
push ebx
call fcn.004962f0
push 1
push 0x63
push ebx
call fcn.004962f0
mov eax, dword [esp + 0x54]
add esp, 0x30
cmp dword [eax + 0x14], 0x10
jb 0x42054d
mov eax, dword [eax]
push eax
push 0x2712
push ebx
call fcn.004962f0
push ebx
mov dword [esp + 0x6c], 0
call fcn.004962e0
add esp, 0x10
test eax, eax
je 0x42063d
push eax
call fcn.00496dc0
mov edx, eax
mov dword [esp + 0x40], 0xf
add esp, 4
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
cmp byte [edx], 0
jne 0x42059b
xor ecx, ecx
jmp 0x4205a9
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4205a0
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x30]
call fcn.00405270
lea eax, [esp + 0x28]
mov dword [esp + 0x88], 0
push eax
lea eax, [esp + 0x44]
push eax
call fcn.00430a30
add esp, 8
mov byte [esp + 0x88], 1
cmp dword [eax + 0x14], 8
jb 0x4205e1
mov eax, dword [eax]
push eax
push str.curl_download_error__s
push 0xf0
push str.LDCurlDownloader::downloadMemory
call fcn.00431920
add esp, 0x10
cmp dword [esp + 0x54], 8
jb 0x42060c
push dword [esp + 0x40]
call fcn.0047b130
add esp, 4
xor eax, eax
mov dword [esp + 0x54], 7
cmp dword [esp + 0x3c], 0x10
mov dword [esp + 0x50], 0
mov word [esp + 0x40], ax
jb 0x420636
push dword [esp + 0x28]
call fcn.0047b130
add esp, 4
mov byte [esp + 0x17], 0
jmp 0x42066e
push dword [esp + 0x5c]
push str.curl_download_sucess__d
push 0xf4
push str.LDCurlDownloader::downloadMemory
call fcn.00431920
mov ecx, dword [esp + 0x2c]
add esp, 0x10
push dword [esp + 0x5c]
push dword [esp + 0x5c]
call fcn.00405270
mov byte [esp + 0x17], 1
push dword [esp + 0x58]
call fcn.004d309c
push ebx
call fcn.00496220
mov al, byte [esp + 0x1f]
add esp, 8
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.004d2694
mov esp, ebp
pop ebp
ret 0xc