Function at 0x4477e0
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 [0x4556b4]
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 0x44789a
cmp byte [edi + 0xe9], 0
jne 0x44789a
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 0x454630
push 2
push ebx
call dword [0x455740]
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 0x4478d2
sub ecx, edi
push ecx
push edx
lea ecx, [esp + 0x7c]
call fcn.004456f0
mov edi, dword [esp + 0x20]
cmp byte [edi], 0x47
jne 0x447aab
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x64], 0
jne 0x447aab
cmp esi, 2
jle 0x447a33
push 5
push 3
push ebx
call dword [0x455744]
push ebx
call dword [0x4556c8]
push 3
push ebx
call dword [0x455734]
add esp, 0x18
test eax, eax
je 0x447a33
mov edi, dword [sym.luart_static.exe_lua_isstring]
mov ecx, 0x454c58
mov ebx, dword [sym.luart_static.exe_lua_tolstring]
nop dword [eax]
nop word [eax + eax]
cmp dword [esp + 0xcc], 0
mov edx, 0x44e9b8
cmovne edx, ecx
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x447965
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0xc4]
call fcn.004475a0
mov esi, dword [esp + 0x10]
push 0xfffffffffffffffe
push esi
call edi
add esp, 8
test eax, eax
je 0x447998
push 0xffffffffffffffff
push esi
call edi
add esp, 8
test eax, eax
jne 0x4479a3
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 0x4479b2
sub edx, esi
lea ecx, [esp + 0xbc]
push edx
push eax
call fcn.004475a0
push 1
push 0x454b9c
lea ecx, [esp + 0xc4]
call fcn.004475a0
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 0x4479f0
sub edx, esi
lea ecx, [esp + 0xbc]
push edx
push eax
call fcn.004475a0
mov esi, dword [esp + 0x10]
push 0xfffffffffffffffe
push esi
call dword [0x455660]
push 3
push esi
call dword [0x455734]
add esp, 0x10
mov ecx, 0x454c58
test eax, eax
jne 0x447950
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 0x447a84
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 0x447a90
sub ecx, edx
lea eax, [esp + 0xd4]
push ecx
push eax
lea ecx, [esp + 0x7c]
call fcn.004475a0
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x447ab0
mov ebp, dword [esp + 0x14]
sub ecx, edx
push ecx
push edi
lea esi, [ebp + 0x88]
mov ecx, esi
call fcn.004476f0
push 0
push 0x44e919
lea ecx, [ebp + 0x4c]
mov dword [ebp + 0xec], 0
mov byte [ebp + 0xe9], 0
call fcn.004476f0
mov edi, dword [ebp + 0xb0]
lea ecx, [ebp + 0xa0]
mov ebx, dword [esp + 0x84]
mov eax, bind
sub eax, edi
cmp eax, ebx
jb 0x4483a8
cmp dword [ecx + 0x14], 0x10
mov edx, ecx
jb 0x447b18
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.00445b90
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.004475a0
mov ecx, dword [esp + 0x58]
cmp ecx, 0x10
jb 0x447b8f
mov edx, dword [esp + 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x447b85
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44837a
push ecx
push edx
call fcn.0044c8b8
add esp, 8
mov eax, dword [ebp + 8]
test eax, eax
je 0x447b9d
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [esi + 0x14], 0x10
jb 0x447ba5
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 0x4482ed
mov eax, dword [0x454cb8]
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.004459f0
mov ebx, dword [esp + 0x34]
cmp byte [ebx + 0xd], 0
jne 0x447c63
lea eax, [ebx + 0x10]
mov ecx, esi
push eax
lea eax, [esp + 0x48]
push eax
call fcn.004464d0
test al, al
jne 0x447c63
mov edi, dword [esi]
mov eax, 1
cmp ebx, edi
jne 0x447cdd
jmp 0x447c65
mov edi, dword [esi]
mov eax, dword [0x454cc8]
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.004459f0
mov ebx, dword [esp + 0x34]
cmp byte [ebx + 0xd], 0
jne 0x44802c
lea eax, [ebx + 0x10]
mov ecx, esi
push eax
lea eax, [esp + 0x60]
push eax
call fcn.004464d0
test al, al
jne 0x44802c
cmp ebx, edi
je 0x44802c
mov eax, 3
xor bl, bl
test al, 2
jne 0x44802e
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 0x448268
nop
lea esi, [eax + 0x10]
push esi
lea ecx, [esp + 0x90]
call fcn.00445ae0
lea eax, [esi + 0x18]
push eax
lea ecx, [esp + 0xa8]
call fcn.00445ae0
mov ecx, dword [esp + 0x9c]
test ecx, ecx
je 0x4481a8
mov edx, dword [esp + 0xa0]
lea eax, [esp + 0x8c]
mov esi, dword [esp + 0x8c]
cmp edx, 0x10
cmovae eax, esi
cmp ecx, 6
jne 0x44806d
cmp dword [eax], 0x6b6f6f43
jne 0x44806d
cmp word [eax + 4], 0x6569
jne 0x44806d
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 0x447de5
lea eax, [ebx - 1]
cmp esi, eax
ja 0x447de5
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 0x447de1
nop word [eax + eax]
cmp byte [edi], 0x3b
je 0x44805b
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 0x447dc0
mov edx, dword [esp + 0x1c]
or edi, 0xffffffff
cmp edi, 0xffffffff
je 0x4481b1
mov dword [esp + 0x3c], 0
xorps xmm0, xmm0
mov dword [esp + 0x40], 0
movups xmmword [esp + 0x2c], xmm0
cmp ebx, esi
jb 0x4483ad
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.004456f0
cmp dword [esp + 0xb8], 0x10
lea ebp, [esp + 0xa4]
mov eax, dword [esp + 0xb4]
cmovae ebp, dword [esp + 0xa4]
cmp eax, 1
jb 0x447ea1
dec eax
cmp esi, eax
ja 0x447ea1
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 0x447ea1
cmp byte [esi], 0x3d
je 0x448066
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 0x447e80
or esi, 0xffffffff
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 0xcc], 0x10
lea ebx, [ecx + 0xb8]
jb 0x447ebd
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 0x4483ad
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.004456f0
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.004456f0
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 0x447f9f
mov edx, dword [esp + 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x447f95
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44837a
push ecx
push edx
call fcn.0044c8b8
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 0x447fea
mov edx, dword [esp + 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x447fe0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44837a
push ecx
push edx
call fcn.0044c8b8
add esp, 8
mov ecx, dword [esp + 0x40]
lea esi, [edi + 1]
cmp ecx, 0x10
jb 0x447d70
mov edx, dword [esp + 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x44801d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44837a
push ecx
push edx
call fcn.0044c8b8
add esp, 8
jmp 0x447d70
mov bl, 1
lea ecx, [esp + 0x5c]
call fcn.00445f80
test bl, bl
mov ebx, dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
je 0x447ced
push 0xa0000000
push 0xffffffffffffffff
push str.Content_Type:_text_plain
push dword [ebp + 8]
call ebx
jmp 0x447ced
mov edx, dword [esp + 0x1c]
sub edi, ebp
jmp 0x447de8
sub esi, ebp
jmp 0x447ea4
mov eax, bind
sub eax, ecx
cmp eax, 2
jb 0x4483a8
push 2
push 0x454cf4
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.00445b90
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.004475a0
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 0x44815d
mov edx, dword [esp + 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x448153
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44837a
push ecx
push edx
call fcn.0044c8b8
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 0x4481a8
mov edx, dword [esp + 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x44819e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44837a
push ecx
push edx
call fcn.0044c8b8
add esp, 8
mov ecx, dword [esp + 0xa4]
jmp 0x4481b9
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0xb8]
cmp eax, 0x10
jb 0x4481f0
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x4481e6
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44837a
push edx
push ecx
call fcn.0044c8b8
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 0x44824a
mov edx, dword [esp + 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x448240
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44837a
push ecx
push edx
call fcn.0044c8b8
add esp, 8
lea ecx, [esp + 0x24]
call fcn.00446470
mov eax, dword [esp + 0x24]
cmp byte [eax + 0xd], 0
jne 0x448268
mov ebx, dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
jmp 0x447d00
push 0x446c00
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.00446880
add esp, 8
cmp dword [esp + 0x28], 0x3e5
jne 0x4482ed
mov ebx, dword [esp + 0x10]
mov esi, dword [sym.luart_static.exe_lua_pushvalue]
push 1
push ebx
call esi
push 1
push 0x447240
push ebx
call dword [0x455724]
push 1
push str.Task
push ebx
call dword [0x4556a0]
push 0xffffffffffffffff
push ebx
call esi
push 0
push 0
push 0
push 0
push ebx
call dword [0x455730]
add esp, 0x3c
jmp 0x4482fc
push 0
push dword [esp + 0x14]
call dword [0x4556d4]
add esp, 8
mov ecx, dword [esp + 0x88]
cmp ecx, 0x10
jb 0x448331
mov edx, dword [esp + 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x448327
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44837a
push ecx
push edx
call fcn.0044c8b8
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 0x44838a
mov edx, dword [esp + 0xbc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x448380
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x448380
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0044c8b8
add esp, 8
mov ecx, dword [esp + 0x8f8]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0044c1b1
add esp, 0x8ec
ret
call fcn.00447530
call fcn.00447540
int3