Function at 0x49e740
Capabilities:
Create http request

Disassembly:
push 0xffffffffffffffff
push 0x4ea839
mov eax, dword fs:[0]
push eax
sub esp, 0x1d4
mov eax, dword [0x50e74c]
xor eax, esp
mov dword [esp + 0x1d0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50e74c]
xor eax, esp
push eax
lea eax, [esp + 0x1e8]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [esp + 0x1fc]
mov ebx, dword [esp + 0x204]
mov esi, dword [esp + 0x200]
mov dword [esp + 0x14], ebx
mov byte [edi + 0x110], 0
cmp edi, eax
je 0x49e7ab
push 0xffffffffffffffff
push 0
push eax
call fcn.00403000
lea ecx, [edi + 0x18]
cmp ecx, esi
je 0x49e7bc
push 0xffffffffffffffff
push 0
push esi
call fcn.00403000
push ecx
mov ecx, edi
call fcn.0049dbb0
test al, al
je 0x49f156
push 0
lea ecx, [esp + 0x148]
call fcn.0049a970
mov dword [esp + 0x1f0], 0
lea eax, [esp + 0x144]
push eax
push ecx
mov ecx, edi
call fcn.0049de50
test al, al
jne 0x49e800
xor bl, bl
jmp 0x49f110
mov ecx, edi
call fcn.0049e490
xorps xmm0, xmm0
mov byte [ebx], 0
movq qword [esp + 0x6c], xmm0
mov dword [esp + 0x6c], vtable.RC::RCInternetHandle.0
mov dword [esp + 0x70], 0
mov byte [esp + 0x1f0], 1
push 0
push 0
push 0
push 0
push 0
mov dword [esp + 0x80], vtable.RC::RCInternetSession.0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esp + 0x70], eax
mov byte [esp + 0x1f0], 2
lea eax, [esp + 0x74]
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionW]
push 4
push eax
push 2
push dword [esp + 0x7c]
mov dword [esp + 0x84], 0xbb8
call esi
push 4
lea eax, [esp + 0x78]
mov dword [esp + 0x78], 5
push eax
push 3
push dword [esp + 0x7c]
call esi
mov eax, dword [esp + 0x70]
xorps xmm0, xmm0
movq qword [esp + 0x78], xmm0
mov dword [esp + 0x80], 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov byte [esp + 0x1f0], 3
xor eax, eax
push 0xffffffffffffffff
push eax
mov word [esp + 0xec], ax
lea ecx, [esp + 0xec]
lea eax, [edi + 0xc8]
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], 0
push eax
mov dword [esp + 0x104], 7
mov dword [esp + 0x100], 0
call fcn.00403000
mov byte [esp + 0x1f0], 4
sub esp, 0xc
lea eax, [esp + 0xf0]
lea ecx, [esp + 0x84]
push eax
call fcn.004a5810
test al, al
jne 0x49e936
xor bl, bl
jmp 0x49f07b
xorps xmm0, xmm0
mov dword [esp + 0x68], 0
movq qword [esp + 0x60], xmm0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov byte [esp + 0x1f0], 5
xor eax, eax
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xc8], 7
mov dword [esp + 0xc4], 0
mov word [esp + 0xb4], ax
mov byte [esp + 0x1f0], 6
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], eax
mov byte [esp + 0x48], al
mov byte [esp + 0x1f0], 7
lea eax, [esp + 0xcc]
push eax
mov ecx, edi
call fcn.004a0fa0
mov byte [esp + 0x1f0], 8
lea ecx, [esp + 0x48]
push eax
call fcn.00492050
mov byte [esp + 0x1f0], 7
cmp dword [esp + 0xe0], 0x10
jb 0x49ea07
push dword [esp + 0xcc]
call fcn.004c4eaa
add esp, 4
push 1
push 0x500080
lea ecx, [esp + 0x50]
mov dword [esp + 0xe8], 0xf
mov dword [esp + 0xe4], 0
mov byte [esp + 0xd4], 0
call fcn.00482160
push 0xb
push str.action_type
lea ecx, [esp + 0x50]
call fcn.00482160
push 1
push 0x4fd1ec
lea ecx, [esp + 0x50]
call fcn.00482160
push 5
push str.login
lea ecx, [esp + 0x50]
call fcn.00482160
cmp dword [esp + 0x5c], 0x10
lea eax, [esp + 0x48]
lea esi, [edi + 0xe0]
cmovae eax, dword [esp + 0x48]
cmp dword [esi + 0x14], 8
jb 0x49ea83
mov ecx, dword [esi]
jmp 0x49ea85
mov ecx, esi
lea edx, [esp + 0x60]
push edx
lea edx, [esp + 0xb8]
push edx
push dword [esp + 0x60]
push eax
push ecx
lea ecx, [esp + 0x8c]
call fcn.004a5870
test al, al
je 0x49efc7
mov edx, 0x4fe32c
lea ecx, [esp + 0xb4]
call fcn.004869c0
test al, al
jne 0x49efc7
xor eax, eax
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x98], 7
mov dword [esp + 0x94], 0
mov word [esp + 0x84], ax
mov byte [esp + 0x1f0], 9
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb0], 7
mov dword [esp + 0xac], eax
mov word [esp + 0x9c], ax
mov byte [esp + 0x1f0], 0xa
mov eax, 0x2aaaaaab
mov ecx, dword [esp + 0x64]
mov ebp, dword [esp + 0x60]
sub ecx, ebp
imul ecx
sar edx, 3
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
je 0x49ebab
lea esi, [ebp + 0x18]
mov edx, str.dict
lea ecx, [esi - 0x18]
call fcn.00486bc0
test al, al
je 0x49eb73
lea eax, [esp + 0x9c]
cmp eax, esi
je 0x49eb9b
mov ecx, eax
jmp 0x49eb91
mov edx, str.tgid
lea ecx, [esi - 0x18]
call fcn.00486bc0
test al, al
je 0x49eb9b
lea eax, [esp + 0x84]
cmp eax, esi
je 0x49eb9b
mov ecx, eax
push 0xffffffffffffffff
push 0
push esi
call fcn.00403000
add esi, 0x30
dec ebx
jne 0x49eb53
mov ebp, dword [esp + 0x60]
lea esi, [edi + 0xe0]
cmp dword [esp + 0xac], 0
je 0x49ef41
cmp dword [esp + 0x94], 0
je 0x49ef41
push dword [esp + 0x14]
mov edx, dword [esp + 0x68]
push ecx
mov ecx, ebp
call fcn.004a4860
add esp, 8
mov dword [esp + 0x64], ebp
lea eax, [esp + 0x84]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.004a4620
mov byte [esp + 0x1f0], 0xb
lea ecx, [esp + 0x60]
push eax
call fcn.004a4260
mov byte [esp + 0x1f0], 0xa
lea ecx, [esp + 0x18]
call fcn.0049f180
lea eax, [esp + 0xcc]
mov ecx, edi
push eax
call fcn.004a0fa0
mov byte [esp + 0x1f0], 0xc
lea ecx, [esp + 0x48]
push eax
call fcn.00492050
mov byte [esp + 0x1f0], 0xa
lea ecx, [esp + 0xcc]
call fcn.004029c0
push 0x500080
lea ecx, [esp + 0x4c]
call fcn.004a4220
push str.action_type
lea ecx, [esp + 0x4c]
call fcn.004a4220
push 0x4fd1ec
lea ecx, [esp + 0x4c]
call fcn.004a4220
push str.logout
lea ecx, [esp + 0x4c]
call fcn.004a4220
lea eax, [esp + 0x84]
mov ecx, edi
push eax
lea eax, [esp + 0xa0]
push eax
lea eax, [esp + 0x134]
push eax
call fcn.004a0410
mov byte [esp + 0x1f0], 0xd
lea ecx, [esp + 0x48]
push 0x500080
call fcn.004a4220
push str.value2
lea ecx, [esp + 0x4c]
call fcn.004a4220
push 0x4fd1ec
lea ecx, [esp + 0x4c]
call fcn.004a4220
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x134]
push eax
lea ecx, [esp + 0x54]
call fcn.004820b0
lea eax, [esp + 0x84]
mov ecx, edi
push eax
lea eax, [esp + 0xa0]
push eax
lea eax, [esp + 0x104]
push eax
call fcn.004a0830
mov byte [esp + 0x1f0], 0xe
cmp dword [esp + 0x10c], 0
je 0x49ed56
push 0x500080
lea ecx, [esp + 0x4c]
call fcn.004a4220
push str.value3
lea ecx, [esp + 0x4c]
call fcn.004a4220
push 0x4fd1ec
lea ecx, [esp + 0x4c]
call fcn.004a4220
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x104]
push eax
lea ecx, [esp + 0x54]
call fcn.004820b0
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0xa0]
push eax
push ecx
lea eax, [esp + 0x120]
mov ecx, edi
push eax
call fcn.0049f5c0
mov byte [esp + 0x1f0], 0xf
lea ecx, [esp + 0x48]
push 0x500080
call fcn.004a4220
push str.value
lea ecx, [esp + 0x4c]
call fcn.004a4220
push 0x4fd1ec
lea ecx, [esp + 0x4c]
call fcn.004a4220
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x11c]
push eax
lea ecx, [esp + 0x54]
call fcn.004820b0
call fcn.0049c320
mov ebx, eax
cmp dword [ebx + 0xe8], 0
je 0x49ee94
cmp dword [ebx + 0x100], 0
je 0x49ee94
lea eax, [ebx + 0xf0]
push eax
lea eax, [esp + 0x88]
push eax
lea eax, [esp + 0xa4]
push eax
lea eax, [esp + 0xd8]
push eax
call fcn.004a0d40
mov byte [esp + 0x1f0], 0x10
cmp dword [esp + 0xdc], 0
je 0x49ee80
push 0x500080
lea ecx, [esp + 0x4c]
call fcn.004a4220
push 0
lea edx, [ebx + 0xd8]
lea ecx, [esp + 0x1c]
call fcn.00497e80
add esp, 4
mov byte [esp + 0x1f0], 0x11
lea ecx, [esp + 0x48]
push 0xffffffffffffffff
push 0
push eax
call fcn.004820b0
mov byte [esp + 0x1f0], 0x10
lea ecx, [esp + 0x18]
call fcn.004029c0
push 0x4fd1ec
lea ecx, [esp + 0x4c]
call fcn.004a4220
push 0xffffffffffffffff
push 0
lea eax, [esp + 0xd4]
push eax
lea ecx, [esp + 0x54]
call fcn.004820b0
mov byte [esp + 0x1f0], 0xf
lea ecx, [esp + 0xcc]
call fcn.004029c0
cmp dword [esp + 0x5c], 0x10
lea eax, [esp + 0x48]
cmovae eax, dword [esp + 0x48]
cmp dword [esi + 0x14], 8
jb 0x49eeaa
mov esi, dword [esi]
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esp + 0xb8]
push ecx
push dword [esp + 0x60]
lea ecx, [esp + 0x84]
push eax
push esi
call fcn.004a5870
test al, al
je 0x49ef01
mov edx, 0x4fe32c
lea ecx, [esp + 0xb4]
call fcn.004869c0
test al, al
jne 0x49ef01
mov eax, dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x148]
mov byte [eax], 1
call fcn.0049adc0
mov ecx, edi
call fcn.0049f220
mov bl, 1
jmp 0x49ef03
xor bl, bl
mov byte [esp + 0x1f0], 0xe
lea ecx, [esp + 0x114]
call fcn.004029c0
mov byte [esp + 0x1f0], 0xd
lea ecx, [esp + 0xfc]
call fcn.004029c0
mov byte [esp + 0x1f0], 0xa
lea ecx, [esp + 0x12c]
call fcn.004029c0
jmp 0x49ef43
xor bl, bl
mov byte [esp + 0x1f0], 9
cmp dword [esp + 0xb0], 8
jb 0x49ef64
push dword [esp + 0x9c]
call fcn.004c4eaa
add esp, 4
xor eax, eax
mov dword [esp + 0xb0], 7
mov dword [esp + 0xac], 0
mov word [esp + 0x9c], ax
mov byte [esp + 0x1f0], 7
cmp dword [esp + 0x98], 8
jb 0x49efa5
push dword [esp + 0x84]
call fcn.004c4eaa
add esp, 4
xor eax, eax
mov dword [esp + 0x98], 7
mov dword [esp + 0x94], 0
mov word [esp + 0x84], ax
jmp 0x49efc9
xor bl, bl
mov byte [esp + 0x1f0], 6
cmp dword [esp + 0x5c], 0x10
jb 0x49efe4
push dword [esp + 0x48]
call fcn.004c4eaa
add esp, 4
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], 0
mov byte [esp + 0x48], 0
mov byte [esp + 0x1f0], 5
cmp dword [esp + 0xc8], 8
jb 0x49f01a
push dword [esp + 0xb4]
call fcn.004c4eaa
add esp, 4
xor eax, eax
mov dword [esp + 0xc8], 7
mov dword [esp + 0xc4], 0
mov word [esp + 0xb4], ax
mov byte [esp + 0x1f0], 4
mov esi, dword [esp + 0x60]
test esi, esi
je 0x49f07b
push dword [esp + 0x14]
mov edx, dword [esp + 0x68]
push ecx
mov ecx, esi
call fcn.004a4860
push esi
call fcn.004c4eaa
add esp, 0xc
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov byte [esp + 0x1f0], 3
cmp dword [esp + 0xf8], 8
jb 0x49f09c
push dword [esp + 0xe4]
call fcn.004c4eaa
add esp, 4
xor eax, eax
mov dword [esp + 0xf8], 7
mov dword [esp + 0xf4], 0
mov word [esp + 0xe4], ax
mov byte [esp + 0x1f0], 2
mov eax, dword [esp + 0x7c]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
test eax, eax
je 0x49f0dd
push eax
call esi
mov dword [esp + 0x7c], 0
mov byte [esp + 0x1f0], 0
mov dword [esp + 0x6c], vtable.RC::RCInternetSession.0
mov byte [esp + 0x1f0], 0
mov eax, dword [esp + 0x70]
mov dword [esp + 0x6c], vtable.RC::RCInternetHandle.0
test eax, eax
je 0x49f110
push eax
call esi
mov dword [esp + 0x70], 0
mov dword [esp + 0x1f0], 0xffffffff
cmp dword [esp + 0x1dc], 8
jb 0x49f134
push dword [esp + 0x1c8]
call fcn.004c4eaa
add esp, 4
xor eax, eax
mov dword [esp + 0x1dc], 7
mov word [esp + 0x1c8], ax
mov al, bl
mov dword [esp + 0x1d8], 0
mov ecx, dword [esp + 0x1e8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1d0]
xor ecx, esp
call fcn.004c4eaf
add esp, 0x1e0
ret 0x10