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

Disassembly:
sub esp, 0x8ec
mov eax, dword [0x470d00]
xor eax, esp
mov dword [esp + 0x8e8], eax
mov ecx, dword [esp + 0x8f8]
push ebx
mov ebx, dword [esp + 0x8f4]
push ebp
push esi
push edi
mov edi, dword [esp + 0x904]
push ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], 0
call dword [0x46a5a8]
mov ebp, dword [sym.wluart.exe_luaL_error]
xorps xmm0, xmm0
add esp, 4
mov dword [esp + 0xcc], 0
cmp dword [edi + 8], 0
mov esi, eax
movups xmmword [esp + 0xbc], xmm0
mov dword [esp + 0xd0], 0xf
mov byte [esp + 0xbc], 0
mov dword [esp + 0x18], 0x824
je 0x447b2a
cmp byte [edi + 0xe9], 0
jne 0x447b2a
movups xmm0, xmmword [edi + 0x88]
sub esp, 0x18
mov eax, esp
push str.current__s_request_is_not_finished
movups xmmword [eax], xmm0
push ebx
movq xmm0, qword [edi + 0x98]
movq qword [eax + 0x10], xmm0
call ebp
add esp, 0x20
push 0
push 0x467910
push 2
push ebx
call dword [0x46a62c]
mov edx, eax
mov dword [esp + 0x94], 0
mov ecx, edx
mov dword [esp + 0x98], 0
xorps xmm0, xmm0
add esp, 0x10
movups xmmword [esp + 0x74], xmm0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x447b62
sub ecx, edi
push ecx
push edx
lea ecx, [esp + 0x7c]
call fcn.00445980
mov edi, dword [esp + 0x20]
cmp byte [edi], 0x47
jne 0x447d3b
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x64], 0
jne 0x447d3b
cmp esi, 2
jle 0x447cc3
push 5
push 3
push ebx
call dword [0x46a630]
push ebx
call dword [0x46a5bc]
push 3
push ebx
call dword [0x46a620]
add esp, 0x18
test eax, eax
je 0x447cc3
mov edi, dword [sym.wluart.exe_lua_isstring]
mov ecx, 0x467f20
mov ebx, dword [sym.wluart.exe_lua_tolstring]
nop dword [eax]
nop word [eax + eax]
cmp dword [esp + 0xcc], 0
mov edx, 0x461c98
cmovne edx, ecx
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x447bf5
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0xc4]
call fcn.00447830
mov esi, dword [esp + 0x10]
push 0xfffffffffffffffe
push esi
call edi
add esp, 8
test eax, eax
je 0x447c28
push 0xffffffffffffffff
push esi
call edi
add esp, 8
test eax, eax
jne 0x447c33
push str.malformed_table_3__expecting_string_keys_and_values
push esi
call ebp
add esp, 8
push 0
push 0xfffffffffffffffe
push esi
call ebx
mov edx, eax
add esp, 0xc
lea esi, [edx + 1]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x447c42
sub edx, esi
lea ecx, [esp + 0xbc]
push edx
push eax
call fcn.00447830
push 1
push 0x467e64
lea ecx, [esp + 0xc4]
call fcn.00447830
push 0
push 0xffffffffffffffff
push dword [esp + 0x18]
call ebx
mov edx, eax
add esp, 0xc
lea esi, [edx + 1]
nop
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x447c80
sub edx, esi
lea ecx, [esp + 0xbc]
push edx
push eax
call fcn.00447830
mov esi, dword [esp + 0x10]
push 0xfffffffffffffffe
push esi
call dword [0x46a548]
push 3
push esi
call dword [0x46a620]
add esp, 0x10
mov ecx, 0x467f20
test eax, eax
jne 0x447be0
mov edi, dword [esp + 0x20]
mov ebx, esi
cmp dword [esp + 0xd0], 0x10
lea ecx, [esp + 0x18]
push 0x2000000
push ecx
lea ecx, [esp + 0xdc]
lea eax, [esp + 0xc4]
cmovae eax, dword [esp + 0xc4]
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetCanonicalizeUrlA]
test eax, eax
jne 0x447d14
cmp dword [esp + 0x88], 0x10
lea eax, [esp + 0x74]
cmovae eax, dword [esp + 0x74]
push eax
push str.failed_to_encode_URI__s
push ebx
call ebp
add esp, 0xc
lea ecx, [esp + 0xd4]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x447d20
sub ecx, edx
lea eax, [esp + 0xd4]
push ecx
push eax
lea ecx, [esp + 0x7c]
call fcn.00447830
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x447d40
mov ebp, dword [esp + 0x14]
sub ecx, edx
push ecx
push edi
lea esi, [ebp + 0x88]
mov ecx, esi
call fcn.00447980
push 0
push 0x461bd9
lea ecx, [ebp + 0x4c]
mov dword [ebp + 0xec], 0
mov byte [ebp + 0xe9], 0
call fcn.00447980
mov edi, dword [ebp + 0xb0]
lea ecx, [ebp + 0xa0]
mov ebx, dword [esp + 0x84]
mov eax, closesocket
sub eax, edi
cmp eax, ebx
jb 0x448638
cmp dword [ecx + 0x14], 0x10
mov edx, ecx
jb 0x447da8
mov edx, dword [ecx]
cmp dword [esp + 0x88], 0x10
lea eax, [esp + 0x74]
push ebx
cmovae eax, dword [esp + 0x78]
push eax
push edi
push edx
push ecx
push dword [esp + 0x2c]
lea ecx, [esp + 0x5c]
call fcn.00445e20
cmp dword [esp + 0x58], 0x10
lea eax, [esp + 0x44]
push dword [esp + 0x54]
cmovae eax, dword [esp + 0x48]
lea ecx, [ebp + 0xb8]
push eax
call fcn.00447830
mov ecx, dword [esp + 0x58]
cmp ecx, 0x10
jb 0x447e1f
mov edx, dword [esp + 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x447e15
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44860a
push ecx
push edx
call fcn.0045fe68
add esp, 8
mov eax, dword [ebp + 8]
test eax, eax
je 0x447e2d
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [esi + 0x14], 0x10
jb 0x447e35
mov esi, dword [esi]
cmp dword [esp + 0x88], 0x10
lea ecx, [esp + 0x74]
push ebp
cmovae ecx, dword [esp + 0x78]
mov edx, 0x4c00000
cmp byte [ebp + 0x18], 0
mov eax, 0x4400000
cmovne eax, edx
push eax
push 0
push 0
push 0
push ecx
push esi
push dword [ebp + 0xc]
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [ebp + 8], eax
test eax, eax
je 0x44857d
mov eax, dword [0x467f80]
lea esi, [ebp + 0x10138]
xorps xmm0, xmm0
mov dword [esp + 0x28], 0
movups xmmword [esp + 0x44], xmm0
mov ecx, esi
mov dword [esp + 0x4c], eax
movq xmm0, qword [str.content_type]
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x30]
mov dword [esp + 0x58], 0xc
push eax
mov dword [esp + 0x60], 0xf
movq qword [esp + 0x4c], xmm0
mov byte [esp + 0x58], 0
call fcn.00445c80
mov ebx, dword [esp + 0x34]
cmp byte [ebx + 0xd], 0
jne 0x447ef3
lea eax, [ebx + 0x10]
mov ecx, esi
push eax
lea eax, [esp + 0x48]
push eax
call fcn.00446760
test al, al
jne 0x447ef3
mov edi, dword [esi]
mov eax, 1
cmp ebx, edi
jne 0x447f6d
jmp 0x447ef5
mov edi, dword [esi]
mov eax, dword [0x467f90]
xorps xmm0, xmm0
movups xmmword [esp + 0x5c], xmm0
mov ecx, esi
mov dword [esp + 0x64], eax
movq xmm0, qword [str.Content_Type]
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x30]
mov dword [esp + 0x70], 0xc
push eax
mov dword [esp + 0x78], 0xf
movq qword [esp + 0x64], xmm0
mov byte [esp + 0x70], 0
call fcn.00445c80
mov ebx, dword [esp + 0x34]
cmp byte [ebx + 0xd], 0
jne 0x4482bc
lea eax, [ebx + 0x10]
mov ecx, esi
push eax
lea eax, [esp + 0x60]
push eax
call fcn.00446760
test al, al
jne 0x4482bc
cmp ebx, edi
je 0x4482bc
mov eax, 3
xor bl, bl
test al, 2
jne 0x4482be
mov ebx, dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
mov eax, dword [esi]
mov eax, dword [eax]
mov dword [esp + 0x24], eax
cmp byte [eax + 0xd], 0
jne 0x4484f8
nop
lea esi, [eax + 0x10]
push esi
lea ecx, [esp + 0x90]
call fcn.00445d70
lea eax, [esi + 0x18]
push eax
lea ecx, [esp + 0xa8]
call fcn.00445d70
mov ecx, dword [esp + 0x9c]
test ecx, ecx
je 0x448438
mov edx, dword [esp + 0xa0]
lea eax, [esp + 0x8c]
mov esi, dword [esp + 0x8c]
cmp edx, 0x10
cmovae eax, esi
cmp ecx, 6
jne 0x4482fd
cmp dword [eax], 0x6b6f6f43
jne 0x4482fd
cmp word [eax + 4], 0x6569
jne 0x4482fd
xor esi, esi
nop dword [eax]
cmp dword [esp + 0xb8], 0x10
lea ebp, [esp + 0xa4]
mov edx, dword [esp + 0xa4]
mov ebx, dword [esp + 0xb4]
cmovae ebp, edx
mov dword [esp + 0x1c], edx
cmp ebx, 1
jb 0x448075
lea eax, [ebx - 1]
cmp esi, eax
ja 0x448075
inc eax
lea ecx, [esi + ebp]
add eax, ebp
sub eax, ecx
push eax
push 0x3b
push ecx
call sub.VCRUNTIME140.dll_memchr
mov edi, eax
add esp, 0xc
test edi, edi
je 0x448071
nop word [eax + eax]
cmp byte [edi], 0x3b
je 0x4482eb
inc edi
lea eax, [ebx + ebp]
sub eax, edi
push eax
push 0x3b
push edi
call sub.VCRUNTIME140.dll_memchr
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x448050
mov edx, dword [esp + 0x1c]
or edi, 0xffffffff
cmp edi, 0xffffffff
je 0x448441
mov dword [esp + 0x3c], 0
xorps xmm0, xmm0
mov dword [esp + 0x40], 0
movups xmmword [esp + 0x2c], xmm0
cmp ebx, esi
jb 0x44863d
mov ecx, edi
lea eax, [esp + 0xa4]
sub ecx, esi
sub ebx, esi
cmp ebx, ecx
cmovb ecx, ebx
cmp dword [esp + 0xb8], 0x10
push ecx
cmovae eax, edx
lea ecx, [esp + 0x30]
add eax, esi
push eax
call fcn.00445980
cmp dword [esp + 0xb8], 0x10
lea ebp, [esp + 0xa4]
mov eax, dword [esp + 0xb4]
cmovae ebp, dword [esp + 0xa4]
cmp eax, 1
jb 0x448131
dec eax
cmp esi, eax
ja 0x448131
lea ebx, [eax + ebp]
lea ecx, [esi + ebp]
lea eax, [ebx + 1]
sub eax, ecx
push eax
push 0x3d
push ecx
call sub.VCRUNTIME140.dll_memchr
mov esi, eax
add esp, 0xc
test esi, esi
je 0x448131
cmp byte [esi], 0x3d
je 0x4482f6
inc esi
lea eax, [ebx + 1]
sub eax, esi
push eax
push 0x3d
push esi
call sub.VCRUNTIME140.dll_memchr
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x448110
or esi, 0xffffffff
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 0xcc], 0x10
lea ebx, [ecx + 0xb8]
jb 0x44814d
mov ebx, dword [ecx + 0xb8]
mov eax, dword [esp + 0x3c]
lea edx, [esi + 1]
mov dword [esp + 0x54], 0
xorps xmm0, xmm0
mov dword [esp + 0x58], 0
movups xmmword [esp + 0x44], xmm0
cmp eax, edx
jb 0x44863d
sub eax, edx
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [esp + 0x40], 0x10
lea eax, [esp + 0x2c]
cmovae eax, dword [esp + 0x2c]
push ecx
add eax, edx
lea ecx, [esp + 0x48]
push eax
call fcn.00445980
cmp dword [esp + 0x3c], esi
lea eax, [esp + 0x2c]
xorps xmm0, xmm0
mov dword [esp + 0x6c], 0
cmovb esi, dword [esp + 0x3c]
lea ecx, [esp + 0x5c]
cmp dword [esp + 0x40], 0x10
push esi
cmovae eax, dword [esp + 0x30]
push eax
movups xmmword [esp + 0x64], xmm0
mov dword [esp + 0x78], 0
call fcn.00445980
cmp dword [esp + 0x70], 0x10
lea ecx, [esp + 0x5c]
lea eax, [esp + 0x44]
cmovae ecx, dword [esp + 0x5c]
cmp dword [esp + 0x58], 0x10
cmovae eax, dword [esp + 0x44]
push eax
push ecx
push ebx
call dword [sym.imp.WININET.dll_InternetSetCookieA]
mov ecx, dword [esp + 0x70]
cmp ecx, 0x10
jb 0x44822f
mov edx, dword [esp + 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x448225
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44860a
push ecx
push edx
call fcn.0045fe68
add esp, 8
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0xf
mov byte [esp + 0x5c], 0
cmp ecx, 0x10
jb 0x44827a
mov edx, dword [esp + 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x448270
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44860a
push ecx
push edx
call fcn.0045fe68
add esp, 8
mov ecx, dword [esp + 0x40]
lea esi, [edi + 1]
cmp ecx, 0x10
jb 0x448000
mov edx, dword [esp + 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4482ad
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44860a
push ecx
push edx
call fcn.0045fe68
add esp, 8
jmp 0x448000
mov bl, 1
lea ecx, [esp + 0x5c]
call fcn.00446210
test bl, bl
mov ebx, dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
je 0x447f7d
push 0xa0000000
push 0xffffffffffffffff
push str.Content_Type:_text_plain
push dword [ebp + 8]
call ebx
jmp 0x447f7d
mov edx, dword [esp + 0x1c]
sub edi, ebp
jmp 0x448078
sub esi, ebp
jmp 0x448134
mov eax, closesocket
sub eax, ecx
cmp eax, 2
jb 0x448638
push 2
push 0x467fbc
cmp edx, 0x10
lea eax, [esp + 0x94]
push ecx
cmovae eax, esi
lea ecx, [esp + 0x50]
push eax
lea eax, [esp + 0x9c]
push eax
push dword [esp + 0x2c]
call fcn.00445e20
cmp dword [esp + 0xb8], 0x10
lea eax, [esp + 0xa4]
push dword [esp + 0xb4]
cmovae eax, dword [esp + 0xa8]
lea ecx, [esp + 0x48]
push eax
call fcn.00447830
mov dword [esp + 0x3c], 0
xorps xmm0, xmm0
movups xmmword [esp + 0x2c], xmm0
mov dword [esp + 0x40], 0
movups xmm0, xmmword [eax]
push 0xa0000000
push 0xffffffffffffffff
movups xmmword [esp + 0x34], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esp + 0x44], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [esp + 0x34]
cmp dword [esp + 0x48], 0x10
cmovae eax, dword [esp + 0x34]
push eax
push dword [ebp + 8]
call ebx
mov ecx, dword [esp + 0x40]
cmp ecx, 0x10
jb 0x4483ed
mov edx, dword [esp + 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4483e3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44860a
push ecx
push edx
call fcn.0045fe68
add esp, 8
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0xf
mov byte [esp + 0x2c], 0
cmp ecx, 0x10
jb 0x448438
mov edx, dword [esp + 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x44842e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44860a
push ecx
push edx
call fcn.0045fe68
add esp, 8
mov ecx, dword [esp + 0xa4]
jmp 0x448449
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0xb8]
cmp eax, 0x10
jb 0x448480
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x448476
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44860a
push edx
push ecx
call fcn.0045fe68
add esp, 8
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0xf
mov byte [esp + 0xa4], 0
cmp ecx, 0x10
jb 0x4484da
mov edx, dword [esp + 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4484d0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44860a
push ecx
push edx
call fcn.0045fe68
add esp, 8
lea ecx, [esp + 0x24]
call fcn.00446700
mov eax, dword [esp + 0x24]
cmp byte [eax + 0xd], 0
jne 0x4484f8
mov ebx, dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
jmp 0x447f90
push 0x446e90
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetSetStatusCallback]
mov ecx, dword [esp + 0x20]
xor eax, eax
cmp byte [ecx], 0x50
sete al
mov dword [ebp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 0x1012c], eax
lea eax, [esp + 0x28]
push eax
push ebp
call fcn.00446b10
add esp, 8
cmp dword [esp + 0x28], 0x3e5
jne 0x44857d
mov ebx, dword [esp + 0x10]
mov esi, dword [sym.wluart.exe_lua_pushvalue]
push 1
push ebx
call esi
push 1
push 0x4474d0
push ebx
call dword [0x46a554]
push 1
push str.Task
push ebx
call dword [0x46a58c]
push 0xffffffffffffffff
push ebx
call esi
push 0
push 0
push 0
push 0
push ebx
call dword [0x46a61c]
add esp, 0x3c
jmp 0x44858c
push 0
push dword [esp + 0x14]
call dword [0x46a5c8]
add esp, 8
mov ecx, dword [esp + 0x88]
cmp ecx, 0x10
jb 0x4485c1
mov edx, dword [esp + 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4485b7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44860a
push ecx
push edx
call fcn.0045fe68
add esp, 8
mov ecx, dword [esp + 0xd0]
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0xf
mov byte [esp + 0x74], 0
cmp ecx, 0x10
jb 0x44861a
mov edx, dword [esp + 0xbc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x448610
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x448610
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0045fe68
add esp, 8
mov ecx, dword [esp + 0x8f8]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0045f6d1
add esp, 0x8ec
ret
call fcn.004477c0
call fcn.004477d0
int3