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

Disassembly:
sub esp, 0x8ec
mov eax, dword [0x459c80]
xor eax, esp
mov dword [esp + 0x8e8], eax
mov eax, dword [esp + 0x8f8]
and dword [esp + 0x10], 0
push ebx
mov ebx, dword [esp + 0x8f4]
push ebp
mov ebp, dword [esp + 0x8fc]
push esi
push edi
push ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x20], eax
call dword [0x45402c]
mov esi, eax
mov dword [esp + 0x28], 0x824
xor eax, eax
mov dword [esp + 0x18], esi
lea edi, [esp + 0x30]
stosd dword es:[edi], eax
pop ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
and dword [esp + 0x3c], 0
cmp dword [ebp + 8], 0
mov dword [esp + 0x40], 0xf
mov byte [esp + 0x2c], 0
je 0x439fb5
cmp byte [ebp + 0xe9], 0
jne 0x439fb5
sub esp, 0x18
lea esi, [ebp + 0x88]
push 6
pop ecx
mov edi, esp
push str.current__s_request_is_not_finished
rep movsd dword es:[edi], dword [esi]
push ebx
call dword [0x454070]
mov esi, dword [esp + 0x34]
add esp, 0x20
push 0
push 0x451860
push 2
push ebx
call dword [0x4540b0]
add esp, 0x10
lea ecx, [esp + 0x74]
push eax
call fcn.00438cfa
mov edi, dword [esp + 0x1c]
cmp byte [edi], 0x47
jne 0x43a16d
cmp byte [ebp + 0x64], 0
jne 0x43a16d
cmp esi, 2
jle 0x43a0fc
push 5
push 3
push ebx
call dword [0x4540b4]
push ebx
call dword [0x454040]
mov esi, dword [sym.wluart.exe_lua_next]
push 3
push ebx
call esi
add esp, 0x18
test eax, eax
je 0x43a0fc
mov edi, dword [sym.wluart.exe_lua_isstring]
cmp dword [esp + 0x3c], 0
mov eax, 0x451e60
mov edx, 0x44bbac
cmovne edx, eax
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x14], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43a03b
sub ecx, dword [esp + 0x14]
push ecx
push edx
lea ecx, [esp + 0x34]
call fcn.00439e09
push 0xfffffffffffffffe
push ebx
call edi
pop ecx
pop ecx
test eax, eax
je 0x43a067
push 0xffffffffffffffff
push ebx
call edi
pop ecx
pop ecx
test eax, eax
jne 0x43a075
push str.malformed_table_3__expecting_string_keys_and_values
push ebx
call dword [0x454070]
pop ecx
pop ecx
push 0
push 0xfffffffffffffffe
push ebx
call dword [0x453fd4]
mov edx, eax
add esp, 0xc
lea ecx, [edx + 1]
mov dword [esp + 0x14], ecx
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x43a08c
sub edx, dword [esp + 0x14]
lea ecx, [esp + 0x2c]
push edx
push eax
call fcn.00439e09
push 1
push 0x451da4
lea ecx, [esp + 0x34]
call fcn.00439e09
push 0
push 0xffffffffffffffff
push ebx
call dword [0x453fd4]
mov edx, eax
add esp, 0xc
lea ecx, [edx + 1]
mov dword [esp + 0x14], ecx
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x43a0c9
sub edx, dword [esp + 0x14]
lea ecx, [esp + 0x2c]
push edx
push eax
call fcn.00439e09
push 0xfffffffffffffffe
push ebx
call dword [0x453fd0]
push 3
push ebx
call esi
add esp, 0x10
test eax, eax
jne 0x43a020
mov edi, dword [esp + 0x1c]
cmp dword [esp + 0x40], 0xf
lea ecx, [esp + 0x24]
push 0x2000000
push ecx
lea ecx, [esp + 0xdc]
lea eax, [esp + 0x34]
cmova eax, dword [esp + 0x34]
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetCanonicalizeUrlA]
test eax, eax
jne 0x43a148
cmp dword [esp + 0x88], 0xf
lea eax, [esp + 0x74]
cmova eax, dword [esp + 0x74]
push eax
push str.failed_to_encode_URI__s
push ebx
call dword [0x454070]
add esp, 0xc
lea ecx, [esp + 0xd4]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43a152
sub ecx, edx
lea eax, [esp + 0xd4]
push ecx
push eax
lea ecx, [esp + 0x7c]
call fcn.00439e09
lea esi, [ebp + 0x88]
push edi
mov ecx, esi
call fcn.00439e62
xor eax, eax
lea ecx, [ebp + 0x4c]
push eax
push 0x44bba9
mov dword [ebp + 0xec], eax
mov byte [ebp + 0xe9], al
call fcn.00439e81
lea eax, [esp + 0x74]
push eax
lea eax, [ebp + 0xa0]
push eax
lea eax, [esp + 0x64]
push eax
call fcn.0043838d
add esp, 0xc
lea ecx, [ebp + 0xb8]
push eax
call fcn.00439dd0
lea ecx, [esp + 0x5c]
call fcn.00439d94
cmp dword [ebp + 8], 0
je 0x43a1d4
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [esi + 0x14], 0xf
jbe 0x43a1dc
mov esi, dword [esi]
cmp dword [esp + 0x88], 0xf
lea ecx, [esp + 0x74]
push ebp
cmova ecx, dword [esp + 0x78]
mov edx, 0x4c00000
cmp byte [ebp + 0x18], 0
mov eax, 0x4400000
cmovne eax, edx
push eax
xor eax, eax
push eax
push eax
push eax
push ecx
push esi
push dword [ebp + 0xc]
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [ebp + 8], eax
test eax, eax
je 0x43a523
and dword [esp + 0x14], 0
lea ecx, [esp + 0x44]
push str.content_type
call fcn.00438cfa
lea eax, [esp + 0x44]
mov dword [esp + 0x18], 1
lea esi, [ebp + 0x10138]
push eax
mov ecx, esi
call fcn.00438614
cmp eax, dword [esi]
jne 0x43a279
push str.Content_Type
lea ecx, [esp + 0x60]
call fcn.00438cfa
lea eax, [esp + 0x5c]
mov dword [esp + 0x18], 3
push eax
mov ecx, esi
call fcn.00438614
cmp eax, dword [esi]
jne 0x43a279
mov byte [esp + 0x13], 1
jmp 0x43a285
test byte [esp + 0x18], 2
mov byte [esp + 0x13], 0
je 0x43a28e
lea ecx, [esp + 0x5c]
call fcn.00439d94
lea ecx, [esp + 0x44]
call fcn.00439d94
cmp byte [esp + 0x13], 0
je 0x43a2b3
push 0xa0000000
push 0xffffffffffffffff
push str.Content_Type:_text_plain
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
mov eax, dword [esi]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
cmp byte [eax + 0xd], 0
jne 0x43a4a9
lea ebx, [ebp + 0xb8]
lea esi, [eax + 0x10]
push esi
lea ecx, [esp + 0x90]
call fcn.00438c78
lea eax, [esi + 0x18]
push eax
lea ecx, [esp + 0xa8]
call fcn.00438c78
cmp dword [esp + 0x9c], 0
je 0x43a472
push str.Cookie
lea ecx, [esp + 0x90]
call fcn.00439b77
test al, al
je 0x43a3f7
xor esi, esi
push esi
jmp 0x43a3d9
lea eax, [esp + 0x13]
push eax
mov eax, edi
lea ecx, [esp + 0x60]
sub eax, esi
push eax
push esi
lea eax, [esp + 0xb0]
push eax
call fcn.00438cac
push esi
push 0x451da4
lea ecx, [esp + 0xac]
call fcn.0043a59d
cmp dword [ebx + 0x14], 0xf
mov esi, ebx
mov dword [esp + 0x20], eax
jbe 0x43a356
mov esi, dword [ebx]
lea ecx, [esp + 0x13]
inc eax
push ecx
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x54]
call fcn.00438cac
lea eax, [esp + 0x13]
push eax
push dword [esp + 0x24]
lea eax, [esp + 0x64]
push 0
push eax
lea ecx, [esp + 0xcc]
call fcn.00438cac
cmp dword [esp + 0xd0], 0xf
lea ecx, [esp + 0xbc]
lea eax, [esp + 0x44]
cmova ecx, dword [esp + 0xbc]
cmp dword [esp + 0x58], 0xf
cmova eax, dword [esp + 0x44]
push eax
push ecx
push esi
call dword [sym.imp.WININET.dll_InternetSetCookieA]
lea ecx, [esp + 0xbc]
call fcn.00439d94
lea ecx, [esp + 0x44]
call fcn.00439d94
lea ecx, [esp + 0x5c]
lea esi, [edi + 1]
call fcn.00439d94
push esi
push 0x44db94
lea ecx, [esp + 0xac]
call fcn.0043a59d
mov edi, eax
cmp edi, 0xffffffff
jne 0x43a31a
jmp 0x43a472
push 0x451efc
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x64]
push eax
call fcn.004383d6
add esp, 0xc
lea ecx, [esp + 0xa4]
cmp dword [esp + 0xb8], 0xf
cmova ecx, dword [esp + 0xa4]
push dword [esp + 0xb4]
push ecx
mov ecx, eax
call fcn.00439e09
push eax
lea ecx, [esp + 0x48]
call fcn.00438c42
cmp dword [esp + 0x58], 0xf
lea eax, [esp + 0x44]
push 0xa0000000
cmova eax, dword [esp + 0x48]
push 0xffffffffffffffff
push eax
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
lea ecx, [esp + 0x44]
call fcn.00439d94
lea ecx, [esp + 0x5c]
call fcn.00439d94
lea ecx, [esp + 0xa4]
call fcn.00439d94
lea ecx, [esp + 0x8c]
call fcn.00439d94
lea ecx, [esp + 0x18]
call fcn.0043902d
mov eax, dword [esp + 0x18]
cmp byte [eax + 0xd], 0
je 0x43a2cb
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x1c]
push 0x439637
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetSetStatusCallback]
xor eax, eax
cmp byte [edi], 0x50
sete al
mov dword [ebp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 0x1012c], eax
lea eax, [esp + 0x14]
push eax
push ebp
call fcn.004393ed
cmp dword [esp + 0x1c], 0x3e5
pop ecx
pop ecx
jne 0x43a523
mov esi, dword [sym.wluart.exe_lua_pushvalue]
push 1
push ebx
call esi
push 1
push 0x439a94
push ebx
call dword [0x453fdc]
push 1
push str.Task
push ebx
call dword [0x454010]
push 0xffffffffffffffff
push ebx
call esi
xor eax, eax
push eax
push eax
push eax
push eax
push ebx
call dword [0x4540a0]
add esp, 0x3c
jmp 0x43a52e
push 0
push ebx
call dword [0x45404c]
pop ecx
pop ecx
lea ecx, [esp + 0x74]
call fcn.00439d94
lea ecx, [esp + 0x2c]
call fcn.00439d94
mov ecx, dword [esp + 0x8f8]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
inc eax
call fcn.00449662
add esp, 0x8ec
ret