Function at 0x402a20
Capabilities:
Send data
Send data on socket
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4398fd
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x449260]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
mov esi, ecx
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], edi
mov byte [ebp - 0x50], 0
push str.version
push esi
mov dword [ebp - 4], edi
call fcn.00422130
add esp, 8
test eax, eax
je 0x402aa9
cmp dword [0x44c078], 0x10
jb 0x402a94
mov eax, dword [0x44c064]
mov ebx, dword [0x44c074]
mov dword [ebp - 0x148], eax
jmp 0x4030d2
mov ebx, dword [0x44c074]
mov dword [ebp - 0x148], 0x44c064
jmp 0x4030d2
push str.getGameMetaData
push esi
call fcn.00422130
add esp, 8
test eax, eax
je 0x402af0
cmp dword [0x44c094], 0x10
jb 0x402adb
mov ecx, dword [0x44c080]
mov ebx, dword [0x44c090]
mov dword [ebp - 0x148], ecx
jmp 0x4030d2
mov ebx, dword [0x44c090]
mov dword [ebp - 0x148], 0x44c080
jmp 0x4030d2
push str.getLastChunkInfo
push esi
call fcn.00422130
add esp, 8
test eax, eax
je 0x402f22
mov edx, dword [0x44c0a4]
dec edx
mov dword [ebp - 0x148], edx
lea edx, [ebp - 0x148]
mov ebx, 0x44c09c
call fcn.00405770
mov edi, dword [eax + 4]
lea eax, [edi + 1]
push eax
call fcn.0042001a
add esp, 4
push edi
lea edx, [ebp - 0x148]
mov esi, eax
call fcn.00405770
mov ecx, dword [eax + 8]
push ecx
push esi
call fcn.00422f10
xor ebx, ebx
mov byte [esi + edi], bl
and dword [ebp - 0x15c], 0xfffffe00
add esp, 0xc
mov dword [ebp - 0x158], ebx
lea edx, [ebp - 0x144]
push edx
mov byte [ebp - 4], 2
call fcn.00415de0
mov byte [ebp - 4], 3
mov eax, esi
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], ebx
mov byte [ebp - 0x34], bl
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x402b88
sub eax, ecx
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.00411800
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 4
call fcn.004114a0
cmp dword [ebp - 0x100], 0x10
mov edx, dword [ebp - 0x114]
jae 0x402bc6
lea edx, [ebp - 0x114]
mov ecx, dword [ebp - 0x104]
lea eax, [ebp - 0x164]
add ecx, edx
push eax
lea ebx, [ebp - 0x144]
call fcn.00415ef0
mov bl, 3
mov byte [ebp - 4], bl
cmp dword [ebp - 0x20], 0x10
mov byte [ebp - 0x149], al
jb 0x402bfd
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.00420fa6
add esp, 4
cmp byte [ebp - 0x149], 0
je 0x402e93
cmp byte [0x44c0d8], 0
je 0x402c7f
mov edx, dword [ebp - 0x24]
and edx, 0xffffff01
or edx, 1
xor edi, edi
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x2c], 0x7148
push str.availableSince
lea eax, [ebp - 0x164]
push eax
mov byte [ebp - 4], 5
call fcn.00414500
mov esi, eax
lea eax, [ebp - 0x2c]
call fcn.00413e10
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00413d70
mov ecx, dword [ebp - 0x24]
and ecx, 0xffffff01
or ecx, 1
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x2c], 0x1f4
mov byte [ebp - 4], 6
push str.nextAvailableChunk
jmp 0x402e72
push str.startGameChunkId
lea eax, [ebp - 0x164]
push eax
mov dword [ebp - 0x148], 1
call fcn.00414500
mov ecx, eax
call fcn.00413f70
cmp dword [0x44c0b4], 0
mov edi, eax
je 0x402d1a
lea esp, [esp]
sub esp, 0x10
mov dword [ebp - 0x150], esp
mov eax, esp
push 0x44c0ac
push eax
call fcn.00406bf0
mov ebx, edi
call fcn.004028c0
add esp, 0x10
test al, al
jne 0x402ce0
cmp edi, 0x7d0
jge 0x402ce0
inc edi
jmp 0x402cb0
sub esp, 0x10
mov dword [ebp - 0x150], esp
mov eax, esp
push 0x44c0bc
push eax
call fcn.00406bf0
mov ebx, dword [ebp - 0x148]
call fcn.004028c0
add esp, 0x10
test al, al
jne 0x402d18
cmp edi, 0x3e8
jge 0x402d18
inc dword [ebp - 0x148]
jmp 0x402ce0
mov bl, 3
push str.19000
lea esi, [ebp - 0x2c]
call fcn.00413b40
push str.availableSince
lea ecx, [ebp - 0x164]
push ecx
mov byte [ebp - 4], 7
call fcn.00414500
mov esi, eax
lea eax, [ebp - 0x2c]
call fcn.00413e10
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00413d70
push str.11000
lea esi, [ebp - 0x2c]
call fcn.00413b40
push str.nextAvailableChunk
lea edx, [ebp - 0x164]
push edx
mov byte [ebp - 4], 8
call fcn.00414500
mov esi, eax
lea eax, [ebp - 0x2c]
call fcn.00413e10
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00413d70
mov eax, dword [ebp - 0x24]
and eax, 0xffffff01
or eax, 1
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x2c], edi
push str.chunkId
lea ecx, [ebp - 0x164]
push ecx
mov byte [ebp - 4], 9
call fcn.00414500
mov esi, eax
lea eax, [ebp - 0x2c]
call fcn.00413e10
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00413d70
mov edx, dword [ebp - 0x24]
and edx, 0xffffff01
or edx, 1
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x2c], edi
push str.nextChunkId
lea eax, [ebp - 0x164]
push eax
mov byte [ebp - 4], 0xa
call fcn.00414500
mov esi, eax
lea eax, [ebp - 0x2c]
call fcn.00413e10
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00413d70
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x148]
and ecx, 0xffffff01
or ecx, 1
xor edi, edi
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x2c], edx
push str.keyFrameId
lea eax, [ebp - 0x164]
push eax
mov byte [ebp - 4], 0xb
call fcn.00414500
mov esi, eax
lea eax, [ebp - 0x2c]
call fcn.00413e10
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00413d70
mov ecx, dword [ebp - 0x24]
and ecx, 0xffffff01
or ecx, 1
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x2c], edi
mov byte [ebp - 4], 0xc
push str.endGameChunkId
lea edx, [ebp - 0x164]
push edx
call fcn.00414500
mov esi, eax
lea eax, [ebp - 0x2c]
call fcn.00413e10
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00413d70
lea esi, [ebp - 0x88]
lea ecx, [ebp - 0x164]
call fcn.00414a10
mov edi, eax
lea esi, [ebp - 0x50]
mov byte [ebp - 4], 0xd
call fcn.00411050
mov esi, 0x10
cmp dword [ebp - 0x74], esi
jb 0x402ecb
mov eax, dword [ebp - 0x88]
push eax
call fcn.00420fa6
add esp, 4
cmp dword [ebp - 0x3c], esi
jb 0x402edb
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x148], ecx
jmp 0x402ee4
lea edx, [ebp - 0x50]
mov dword [ebp - 0x148], edx
mov ebx, dword [ebp - 0x40]
lea edi, [ebp - 0x144]
call fcn.00403330
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 0
call fcn.00413d70
mov eax, dword [ebp - 0x148]
push eax
call fcn.004210ca
add esp, 4
push 0x442d0c
call fcn.004210ca
add esp, 4
jmp 0x4030d2
push str.getGameDataChunk
push esi
call fcn.00422130
add esp, 8
test eax, eax
je 0x403017
mov dword [ebp - 0x198], edi
mov dword [ebp - 0x194], edi
mov dword [ebp - 0x190], edi
mov dword [ebp - 0x188], edi
mov dword [ebp - 0x184], edi
mov byte [ebp - 0x180], 0
mov dword [ebp - 0x17c], edi
mov dword [ebp - 0x178], edi
mov byte [ebp - 0x174], 0
mov dword [ebp - 0x170], edi
mov dword [ebp - 0x16c], edi
mov byte [ebp - 0x168], 0
lea ecx, [ebp - 0x28]
push ecx
mov ebx, str.getGameDataChunk___a_zA_Z0_9______0_9___token
mov byte [ebp - 4], 0xe
call fcn.00406150
mov eax, esi
mov byte [ebp - 4], 0xf
lea ecx, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x402fa0
sub eax, ecx
push esi
lea edx, [ebp - 0x19c]
push edx
add eax, esi
push eax
lea ecx, [ebp - 0x28]
mov edx, esi
call fcn.0040ae50
add esp, 0xc
mov edi, 2
lea esi, [ebp - 0x19c]
call fcn.00405ff0
lea esi, [ebp - 0xc0]
call fcn.00406020
mov edx, esi
mov ecx, 0x44c0ac
mov byte [ebp - 4], 0x10
call fcn.004057f0
mov ecx, dword [eax]
mov edx, dword [eax + 0xc]
mov ebx, dword [eax + 4]
mov esi, dword [eax + 8]
mov dword [ebp - 0x164], ecx
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x158], edx
call fcn.00411940
mov byte [ebp - 4], 0xe
jmp 0x4030b4
push str.getKeyFrame
push esi
call fcn.00422130
add esp, 8
test eax, eax
je 0x4032fd
lea eax, [ebp - 0x19c]
call fcn.00405fc0
lea ecx, [ebp - 0x28]
push ecx
mov ebx, str.getKeyFrame___a_zA_Z0_9______0_9___token
mov byte [ebp - 4], 0x11
call fcn.00406150
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x19c]
push eax
mov edx, esi
mov byte [ebp - 4], 0x12
call fcn.00409380
add esp, 8
mov edi, 2
lea esi, [ebp - 0x19c]
call fcn.00405ff0
lea esi, [ebp - 0xc0]
call fcn.00406020
mov edx, esi
mov ecx, 0x44c0bc
mov byte [ebp - 4], 0x13
call fcn.004057f0
mov ecx, dword [eax]
mov edx, dword [eax + 0xc]
mov ebx, dword [eax + 4]
mov esi, dword [eax + 8]
mov dword [ebp - 0x164], ecx
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x158], edx
call fcn.00411940
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x148], esi
call fcn.00406200
lea esi, [ebp - 0x19c]
mov byte [ebp - 4], 0
call fcn.004033a0
lea ecx, [ebp - 0x234]
push ecx
call fcn.004062c0
lea edx, [ebp - 0x234]
push str.HTTP_1.1_200_OK_nServer:_Apache_Coyote_1.1_nPragma:_No_cache_nCache_Control:_no_cache_nExpires:_Wed__31_Dec_1969_16:00:00_PST_nContent_Type:_application_json_nContent_Length:
push edx
mov byte [ebp - 4], 0x14
call fcn.004093b0
add esp, 8
push ebx
lea eax, [ebp - 0x234]
push eax
call fcn.00405390
lea ecx, [ebp - 0x234]
push str._nDate:_Mon__24_Oct_2011_00:00:00_GMT_nConnection:_close_n_n
push ecx
call fcn.004093b0
add esp, 8
lea esi, [ebp - 0xa4]
lea eax, [ebp - 0x234]
call fcn.004063a0
mov byte [ebp - 4], 0x15
mov eax, dword [eax + 0x10]
add eax, ebx
push eax
call fcn.0042001a
add esp, 4
mov byte [ebp - 4], 0x14
cmp dword [ebp - 0x90], 0x10
mov edi, eax
jb 0x403158
mov edx, dword [ebp - 0xa4]
push edx
call fcn.00420fa6
add esp, 4
lea esi, [ebp - 0x6c]
lea eax, [ebp - 0x234]
mov dword [ebp - 0x90], 0xf
mov dword [ebp - 0x94], 0
mov byte [ebp - 0xa4], 0
call fcn.004063a0
mov dword [ebp - 0x150], eax
lea esi, [ebp - 0x88]
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 0x16
call fcn.004063a0
mov ecx, dword [ebp - 0x150]
mov ecx, dword [ecx + 0x10]
mov esi, 0x10
cmp dword [eax + 0x14], esi
jb 0x4031b1
mov eax, dword [eax]
push ecx
push eax
push edi
call fcn.00422f10
add esp, 0xc
cmp dword [ebp - 0x74], esi
jb 0x4031d0
mov edx, dword [ebp - 0x88]
push edx
call fcn.00420fa6
add esp, 4
mov byte [ebp - 4], 0x14
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x88], 0
cmp dword [ebp - 0x58], esi
jb 0x4031fa
mov eax, dword [ebp - 0x6c]
push eax
call fcn.00420fa6
add esp, 4
lea esi, [ebp - 0x6c]
lea eax, [ebp - 0x234]
call fcn.004063a0
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 0x148]
push ebx
push ecx
add eax, edi
push eax
call fcn.00422f10
add esp, 0xc
cmp dword [ebp - 0x58], 0x10
jb 0x403230
mov edx, dword [ebp - 0x6c]
push edx
call fcn.00420fa6
add esp, 4
lea esi, [ebp - 0x6c]
lea eax, [ebp - 0x234]
call fcn.004063a0
mov eax, dword [eax + 0x10]
push 0
add eax, ebx
push eax
mov eax, dword [ebp + 8]
push edi
push eax
call dword [sym.imp.WS2_32.dll_send]
mov edi, 0x10
mov esi, eax
cmp dword [ebp - 0x58], edi
jb 0x403269
mov ecx, dword [ebp - 0x6c]
push ecx
call fcn.00420fa6
add esp, 4
test esi, esi
jle 0x40327d
push esi
push str.send_dataLen_:__d_r_n
call fcn.004210ca
add esp, 8
jmp 0x40328a
push str.send_err_____r_n
call fcn.004210ca
add esp, 4
mov eax, dword [ebp - 0x234]
mov ecx, dword [eax + 4]
lea edx, [ebp - 0x1e4]
mov dword [ebp - 0x150], edx
mov dword [ebp + ecx - method.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0x17
call fcn.004063c0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x234]
mov eax, dword [edx + 4]
lea ecx, [ebp - 0x1e4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
push ecx
mov dword [ebp - method.std::basic_ios_char__struct_std::char_traits_char__.virtual_0], vtable.std::ios_base.0
call fcn.00420150
add esp, 4
cmp dword [ebp - 0x3c], edi
jb 0x40330e
mov edx, dword [ebp - 0x50]
push edx
call fcn.00420fa6
add esp, 4
jmp 0x40330e
push esi
call fcn.004210ca
add esp, 4
lea ecx, [ebp - 0x50]
call fcn.00411940
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00420fb1
mov esp, ebp
pop ebp
ret 4