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

Disassembly:
sub esp, 0x8ec
mov eax, dword [0x45a220]
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 [0x4556d4]
mov ebp, dword [sym.luart_static.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 0x44762a
cmp byte [edi + 0xe9], 0
jne 0x44762a
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 0x454648
push 2
push ebx
call dword [0x455760]
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 0x447662
sub ecx, edi
push ecx
push edx
lea ecx, [esp + 0x7c]
call fcn.00445470
mov edi, dword [esp + 0x20]
cmp byte [edi], 0x47
jne 0x44783b
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x64], 0
jne 0x44783b
cmp esi, 2
jle 0x4477c3
push 5
push 3
push ebx
call dword [0x455764]
push ebx
call dword [0x4556e8]
push 3
push ebx
call dword [0x455754]
add esp, 0x18
test eax, eax
je 0x4477c3
mov edi, dword [sym.luart_static.exe_lua_isstring]
mov ecx, 0x454c80
mov ebx, dword [sym.luart_static.exe_lua_tolstring]
nop dword [eax]
nop word [eax + eax]
cmp dword [esp + 0xcc], 0
mov edx, 0x44e968
cmovne edx, ecx
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4476f5
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0xc4]
call fcn.00447330
mov esi, dword [esp + 0x10]
push 0xfffffffffffffffe
push esi
call edi
add esp, 8
test eax, eax
je 0x447728
push 0xffffffffffffffff
push esi
call edi
add esp, 8
test eax, eax
jne 0x447733
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 0x447742
sub edx, esi
lea ecx, [esp + 0xbc]
push edx
push eax
call fcn.00447330
push 1
push 0x454bc4
lea ecx, [esp + 0xc4]
call fcn.00447330
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 0x447780
sub edx, esi
lea ecx, [esp + 0xbc]
push edx
push eax
call fcn.00447330
mov esi, dword [esp + 0x10]
push 0xfffffffffffffffe
push esi
call dword [0x455680]
push 3
push esi
call dword [0x455754]
add esp, 0x10
mov ecx, 0x454c80
test eax, eax
jne 0x4476e0
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 0x447814
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 0x447820
sub ecx, edx
lea eax, [esp + 0xd4]
push ecx
push eax
lea ecx, [esp + 0x7c]
call fcn.00447330
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x447840
mov ebp, dword [esp + 0x14]
sub ecx, edx
push ecx
push edi
lea esi, [ebp + 0x88]
mov ecx, esi
call fcn.00447480
push 0
push 0x44e8c9
lea ecx, [ebp + 0x4c]
mov dword [ebp + 0xec], 0
mov byte [ebp + 0xe9], 0
call fcn.00447480
mov edi, dword [ebp + 0xb0]
lea ecx, [ebp + 0xa0]
mov ebx, dword [esp + 0x84]
mov eax, accept
sub eax, edi
cmp eax, ebx
jb 0x448138
cmp dword [ecx + 0x14], 0x10
mov edx, ecx
jb 0x4478a8
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.00445910
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.00447330
mov ecx, dword [esp + 0x58]
cmp ecx, 0x10
jb 0x44791f
mov edx, dword [esp + 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x447915
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44810a
push ecx
push edx
call fcn.0044c648
add esp, 8
mov eax, dword [ebp + 8]
test eax, eax
je 0x44792d
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [esi + 0x14], 0x10
jb 0x447935
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 0x44807d
mov eax, dword [0x454ce0]
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.00445770
mov ebx, dword [esp + 0x34]
cmp byte [ebx + 0xd], 0
jne 0x4479f3
lea eax, [ebx + 0x10]
mov ecx, esi
push eax
lea eax, [esp + 0x48]
push eax
call fcn.00446250
test al, al
jne 0x4479f3
mov edi, dword [esi]
mov eax, 1
cmp ebx, edi
jne 0x447a6d
jmp 0x4479f5
mov edi, dword [esi]
mov eax, dword [0x454cf0]
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.00445770
mov ebx, dword [esp + 0x34]
cmp byte [ebx + 0xd], 0
jne 0x447dbc
lea eax, [ebx + 0x10]
mov ecx, esi
push eax
lea eax, [esp + 0x60]
push eax
call fcn.00446250
test al, al
jne 0x447dbc
cmp ebx, edi
je 0x447dbc
mov eax, 3
xor bl, bl
test al, 2
jne 0x447dbe
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 0x447ff8
nop
lea esi, [eax + 0x10]
push esi
lea ecx, [esp + 0x90]
call fcn.00445860
lea eax, [esi + 0x18]
push eax
lea ecx, [esp + 0xa8]
call fcn.00445860
mov ecx, dword [esp + 0x9c]
test ecx, ecx
je 0x447f38
mov edx, dword [esp + 0xa0]
lea eax, [esp + 0x8c]
mov esi, dword [esp + 0x8c]
cmp edx, 0x10
cmovae eax, esi
cmp ecx, 6
jne 0x447dfd
cmp dword [eax], 0x6b6f6f43
jne 0x447dfd
cmp word [eax + 4], 0x6569
jne 0x447dfd
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 0x447b75
lea eax, [ebx - 1]
cmp esi, eax
ja 0x447b75
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 0x447b71
nop word [eax + eax]
cmp byte [edi], 0x3b
je 0x447deb
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 0x447b50
mov edx, dword [esp + 0x1c]
or edi, 0xffffffff
cmp edi, 0xffffffff
je 0x447f41
mov dword [esp + 0x3c], 0
xorps xmm0, xmm0
mov dword [esp + 0x40], 0
movups xmmword [esp + 0x2c], xmm0
cmp ebx, esi
jb 0x44813d
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.00445470
cmp dword [esp + 0xb8], 0x10
lea ebp, [esp + 0xa4]
mov eax, dword [esp + 0xb4]
cmovae ebp, dword [esp + 0xa4]
cmp eax, 1
jb 0x447c31
dec eax
cmp esi, eax
ja 0x447c31
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 0x447c31
cmp byte [esi], 0x3d
je 0x447df6
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 0x447c10
or esi, 0xffffffff
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 0xcc], 0x10
lea ebx, [ecx + 0xb8]
jb 0x447c4d
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 0x44813d
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.00445470
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.00445470
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 0x447d2f
mov edx, dword [esp + 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x447d25
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44810a
push ecx
push edx
call fcn.0044c648
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 0x447d7a
mov edx, dword [esp + 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x447d70
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44810a
push ecx
push edx
call fcn.0044c648
add esp, 8
mov ecx, dword [esp + 0x40]
lea esi, [edi + 1]
cmp ecx, 0x10
jb 0x447b00
mov edx, dword [esp + 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x447dad
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44810a
push ecx
push edx
call fcn.0044c648
add esp, 8
jmp 0x447b00
mov bl, 1
lea ecx, [esp + 0x5c]
call fcn.00445d00
test bl, bl
mov ebx, dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
je 0x447a7d
push 0xa0000000
push 0xffffffffffffffff
push str.Content_Type:_text_plain
push dword [ebp + 8]
call ebx
jmp 0x447a7d
mov edx, dword [esp + 0x1c]
sub edi, ebp
jmp 0x447b78
sub esi, ebp
jmp 0x447c34
mov eax, accept
sub eax, ecx
cmp eax, 2
jb 0x448138
push 2
push 0x454d1c
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.00445910
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.00447330
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 0x447eed
mov edx, dword [esp + 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x447ee3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44810a
push ecx
push edx
call fcn.0044c648
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 0x447f38
mov edx, dword [esp + 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x447f2e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44810a
push ecx
push edx
call fcn.0044c648
add esp, 8
mov ecx, dword [esp + 0xa4]
jmp 0x447f49
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0xb8]
cmp eax, 0x10
jb 0x447f80
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x447f76
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44810a
push edx
push ecx
call fcn.0044c648
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 0x447fda
mov edx, dword [esp + 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x447fd0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44810a
push ecx
push edx
call fcn.0044c648
add esp, 8
lea ecx, [esp + 0x24]
call fcn.004461f0
mov eax, dword [esp + 0x24]
cmp byte [eax + 0xd], 0
jne 0x447ff8
mov ebx, dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
jmp 0x447a90
push 0x446980
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.00446600
add esp, 8
cmp dword [esp + 0x28], 0x3e5
jne 0x44807d
mov ebx, dword [esp + 0x10]
mov esi, dword [sym.luart_static.exe_lua_pushvalue]
push 1
push ebx
call esi
push 1
push 0x446fd0
push ebx
call dword [0x455744]
push 1
push str.Task
push ebx
call dword [0x4556c0]
push 0xffffffffffffffff
push ebx
call esi
push 0
push 0
push 0
push 0
push ebx
call dword [0x455750]
add esp, 0x3c
jmp 0x44808c
push 0
push dword [esp + 0x14]
call dword [0x4556f4]
add esp, 8
mov ecx, dword [esp + 0x88]
cmp ecx, 0x10
jb 0x4480c1
mov edx, dword [esp + 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4480b7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44810a
push ecx
push edx
call fcn.0044c648
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 0x44811a
mov edx, dword [esp + 0xbc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x448110
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x448110
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0044c648
add esp, 8
mov ecx, dword [esp + 0x8f8]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0044bf41
add esp, 0x8ec
ret
call fcn.004472c0
call fcn.004472d0
int3