Function at 0x410360
Capabilities:
Connect to http server
Query remote server for available data
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1544
call fcn.00435d80
mov eax, dword [0x452504]
push ebx
mov ebx, ecx
mov dword [esp + 0x1544], eax
push esi
lea eax, [ebx + 0xbcf7]
lea edx, [esp + 0x234]
push edi
mov dword [esp + 0x10], ebx
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x410394
lea eax, [ebx + 0x8163]
lea edx, [esp + 0x28]
sub edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4103b0
lea eax, [ebx + 0xc52b]
lea edx, [esp + 0xd48]
sub edx, eax
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4103d0
xor eax, eax
lea esp, [esp]
mov cl, byte [esp + eax + 0x28]
mov byte [esp + eax + 0x130], cl
inc eax
test cl, cl
jne 0x4103e0
lea eax, [esp + 0x130]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x410400
sub eax, edx
mov edi, eax
xor esi, esi
test edi, edi
jle 0x41042e
movsx eax, byte [esp + esi + 0x130]
push eax
call fcn.00436e3a
add esp, 4
mov byte [esp + esi + 0x130], al
inc esi
cmp esi, edi
jl 0x410411
mov eax, dword [ebx + 0x1253c]
dec eax
cmp eax, 4
ja case.default.0x41043e
jmp dword [eax*4 + 0x4107a8]
mov ecx, dword [str.dev_kiwi.hangame.com]
mov edx, dword [0x447cbc]
mov eax, dword [0x447cc0]
mov dword [esp + 0x28], ecx
mov ecx, dword [0x447cc4]
mov dword [esp + 0x2c], edx
mov edx, dword [0x447cc8]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], eax
mov al, byte [0x447ccc]
lea ecx, [esp + 0xd48]
push ecx
mov dword [esp + 0x3c], edx
lea edx, [esp + 0x134]
push edx
mov byte [esp + 0x44], al
lea eax, [esp + 0x240]
push eax
push str.identifier_refresh.nhn_memberid_sgameid_sidentifier_s
lea ecx, [esp + 0x350]
push ecx
jmp 0x4105e9
mov edx, dword [str.dev_kiwi.hangame.com]
mov eax, dword [0x447cbc]
mov ecx, dword [0x447cc0]
mov dword [esp + 0x28], edx
mov edx, dword [0x447cc4]
mov dword [esp + 0x2c], eax
mov eax, dword [0x447cc8]
mov dword [esp + 0x30], ecx
mov cl, byte [0x447ccc]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
mov byte [esp + 0x3c], cl
jmp 0x410575
mov ecx, 5
mov esi, str.alpha_kiwi.hangame.com
lea edi, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0xd48]
push eax
lea ecx, [esp + 0x134]
push ecx
lea edx, [esp + 0x240]
movsw word es:[edi], word [esi]
push edx
push str.identifier_refresh.nhn_memberid_sgameid_sidentifier_s
lea eax, [esp + 0x350]
movsb byte es:[edi], byte [esi]
push eax
jmp 0x4105e9
mov ecx, 5
mov esi, str.alpha_kiwi.hangame.com
lea edi, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0xd48]
push ecx
lea edx, [esp + 0x134]
push edx
lea eax, [esp + 0x240]
movsw word es:[edi], word [esi]
push eax
push str.gstr_cocas_get.nhn_memberid_sgameid_sidentifier_s
lea ecx, [esp + 0x350]
movsb byte es:[edi], byte [esi]
push ecx
jmp 0x4105e9
mov ecx, 5
mov esi, str.alpha_kiwi.hangame.com
lea edi, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea edx, [esp + 0xd48]
push edx
lea eax, [esp + 0x134]
push eax
lea ecx, [esp + 0x240]
push ecx
push str.gstr_cocas_get.nhn_memberid_sgameid_sidentifier_s
jmp 0x4105e1
mov eax, dword [str.kiwi.hangame.com]
mov ecx, dword [0x447c1c]
mov edx, dword [0x447c20]
mov dword [esp + 0x28], eax
mov eax, dword [0x447c24]
mov dword [esp + 0x2c], ecx
mov cl, byte [0x447c28]
mov dword [esp + 0x30], edx
lea edx, [esp + 0xd48]
push edx
mov dword [esp + 0x38], eax
lea eax, [esp + 0x134]
mov byte [esp + 0x3c], cl
push eax
lea ecx, [esp + 0x240]
push ecx
push str.identifier_refresh.nhn_memberid_sgameid_sidentifier_s
lea edx, [esp + 0x350]
push edx
call fcn.004352bf
add esp, 0x14
call fcn.0041a4b0
mov esi, eax
test esi, esi
mov dword [esp + 0x14], esi
je 0x410675
push 4
lea eax, [esp + 0x24]
push eax
push 6
push esi
mov dword [esp + 0x30], 0x7530
call dword [sym.imp.WININET.dll_InternetSetOptionA]
push 0
push 0
push 3
push 0x44654a
push 0x44654a
push 0
lea ecx, [esp + 0x40]
push ecx
push esi
call dword [sym.imp.WININET.dll_InternetConnectA]
test eax, eax
mov dword [esp + 0x18], eax
je 0x410675
push 0
push 0
push 0
push 0
push 0
lea edx, [esp + 0x354]
push edx
push str.POST
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
push 0
push 0
push 0
mov esi, eax
push 0
push esi
mov dword [esp + 0x20], esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x41068a
xor eax, eax
mov ecx, dword [esp + 0x154c]
call fcn.00435083
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov byte [esp + 0x948], 0
mov ecx, 0xff
lea edi, [esp + 0x949]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [esp + 0x548], 0
xor eax, eax
mov ecx, 0xff
lea edi, [esp + 0x549]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
jmp 0x4106c6
mov esi, dword [esp + 0xc]
push 0
push 0
lea eax, [esp + 0x24]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x24]
push ecx
push edx
lea eax, [esp + 0x950]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
mov ebx, dword [esp + 0x24]
lea eax, [esp + 0x948]
mov byte [esp + ebx + 0x948], 0
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x410704
lea edi, [esp + 0x548]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x410717
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
test ebx, ebx
rep movsb byte es:[edi], byte [esi]
jne 0x4106c2
mov edi, 0x44654a
lea esi, [esp + 0x548]
mov ecx, 1
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x41076a
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x548]
add edx, 0xc52b
mov ecx, eax
sub edx, ecx
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x410760
mov edx, dword [esp + 0xc]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edx
call esi
mov eax, dword [esp + 0x18]
push eax
call esi
mov ecx, dword [esp + 0x14]
push ecx
call esi
mov ecx, dword [esp + 0x10]
call fcn.0040f620
mov ecx, dword [esp + 0x154c]
mov eax, 1
call fcn.00435083
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret