Function at 0x10010220
Capabilities:
Create http request

Disassembly:
push 0xffffffffffffffff
push 0x10045e1b
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x10054020]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10054020]
xor eax, esp
push eax
lea eax, [esp + 0x230]
mov dword fs:[0], eax
mov eax, dword [esp + 0x244]
mov ebp, dword [esp + 0x240]
push eax
mov esi, ecx
xor ebx, ebx
push ebp
mov dword [esp + 0x48], esi
mov dword [ebp + 0xec], ebx
call fcn.1000f940
test al, al
je 0x10010bbc
push 0x40
lea ecx, [esp + 0x1e0]
push ebx
push ecx
mov dword [esp + 0x1c8], ebx
mov dword [esp + 0x1cc], ebx
mov dword [esp + 0x1d0], ebx
mov dword [esp + 0x1d4], ebx
mov dword [esp + 0x1d8], ebx
mov dword [esp + 0x1dc], ebx
mov dword [esp + 0x1e0], ebx
mov dword [esp + 0x1e4], ebx
call sub.MSVCR80.dll_memset
add esp, 0xc
lea edi, [esp + 0x124]
mov dword [esp + 0x21c], ebx
mov dword [esp + 0x220], ebx
mov dword [esp + 0x224], ebx
mov dword [esp + 0x228], ebx
call fcn.1001e1b0
mov eax, dword [esp + 0x244]
mov edx, edi
push edx
push eax
push ebp
lea ecx, [esp + 0x1c8]
mov dword [esp + 0x244], ebx
call fcn.1000fbe0
test al, al
je 0x10010ba5
push ebp
call fcn.1000ff40
push ebx
push ebx
push ebx
push ebx
push ebx
mov byte [esi], bl
mov dword [esp + 0x2c], vtable.RC::RCInternetSession.0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov esi, eax
mov dword [esp + 0x1c], esi
mov edi, dword [sym.imp.WININET.dll_InternetSetOptionW]
push 4
lea ecx, [esp + 0x18]
push ecx
push 2
push esi
mov dword [esp + 0x24], 0xbb8
call edi
push 4
lea edx, [esp + 0x18]
push edx
push 3
push esi
mov dword [esp + 0x24], 5
call edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
lea ecx, [esp + 0xb4]
mov byte [esp + 0x238], 2
call fcn.1000e6a0
lea edi, [esp + 0xb4]
lea esi, [esp + 0x20]
mov byte [esp + 0x238], 3
call fcn.10002c20
test al, al
jne 0x100103ea
cmp dword [esp + 0x244], ebx
jne 0x100103c0
lea ecx, [esp + 0x124]
call fcn.100217b0
cmp dword [esp + 0xcc], 8
jb 0x100103da
mov eax, dword [esp + 0xb8]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0xcc], 7
jmp 0x10010b7a
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0xe8], 7
mov dword [esp + 0xe4], ebx
mov word [esp + 0xd4], bx
mov dword [esp + 0xb0], 0xf
mov dword [esp + 0xac], ebx
mov byte [esp + 0x9c], bl
push ebp
lea edi, [esp + 0x48]
mov byte [esp + 0x23c], 6
call fcn.10012400
or edi, 0xffffffff
push edi
push ebx
push eax
lea ecx, [esp + 0xa4]
mov byte [esp + 0x244], 7
call fcn.10003890
mov esi, 0x10
mov byte [esp + 0x238], 6
cmp dword [esp + 0x5c], esi
jb 0x10010475
mov ecx, dword [esp + 0x48]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
push 1
push 0x10048614
lea eax, [esp + 0xa0]
call fcn.10003b50
push 0xb
push str.action_type
lea eax, [esp + 0xa0]
call fcn.10003b50
push 1
push 0x10048624
lea eax, [esp + 0xa0]
call fcn.10003b50
push 5
push str.login
lea eax, [esp + 0xa0]
call fcn.10003b50
cmp dword [esp + 0xb0], esi
mov ecx, dword [esp + 0x9c]
jae 0x100104d8
lea ecx, [esp + 0x9c]
mov eax, dword [esp + 0xac]
lea edx, [esp + 0x2c]
push edx
push eax
lea edx, [esp + 0x28]
push edx
lea edx, [esp + 0xdc]
call fcn.10002c80
test al, al
jne 0x10010560
cmp dword [esp + 0x244], ebx
jne 0x1001050f
lea ecx, [esp + 0x124]
call fcn.100217b0
lea ecx, [esp + 0x98]
call fcn.10003510
lea ecx, [esp + 0xd0]
call fcn.10001f30
lea esi, [esp + 0x2c]
call fcn.1000ab00
lea ecx, [esp + 0xb4]
call fcn.10001f30
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x1001054b
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea ecx, [esp + 0x18]
call fcn.10004870
mov dword [esp + 0x238], edi
jmp 0x10010bb0
mov esi, 0x100480d4
lea ecx, [esp + 0xd0]
call fcn.10009860
test al, al
jne 0x100104fa
mov edi, 7
mov dword [esp + 0x104], edi
mov dword [esp + 0x100], ebx
mov word [esp + 0xf0], bx
mov dword [esp + 0x120], edi
mov dword [esp + 0x11c], ebx
mov word [esp + 0x10c], bx
xor esi, esi
mov byte [esp + 0x238], 9
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x1001064b
mov ecx, dword [esp + 0x34]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jae 0x1001064b
mov edi, esi
lea esi, [esp + 0x2c]
call fcn.100036d0
mov esi, eax
mov eax, dword [esi + 0x14]
push str.dict
mov edi, 4
mov ecx, esi
mov dword [esp + 0x40], esi
call fcn.100098d0
test eax, eax
jne 0x10010612
lea eax, [esi + 0x1c]
lea ecx, [esp + 0x108]
jmp 0x10010630
mov edi, dword [esp + 0x3c]
mov esi, str.tgid
mov ecx, edi
call fcn.10009890
test al, al
je 0x10010638
lea eax, [edi + 0x1c]
lea ecx, [esp + 0xec]
push 0xffffffffffffffff
push ebx
call fcn.100020a0
add dword [esp + 0x14], 1
mov esi, dword [esp + 0x14]
mov edi, 7
jmp 0x100105b4
cmp dword [esp + 0x11c], ebx
je 0x10010a8c
cmp dword [esp + 0x100], ebx
je 0x10010a8c
lea ebx, [esp + 0x2c]
call fcn.100037c0
mov edx, str.tgid
lea eax, [esp + 0x44]
call fcn.10001ec0
lea eax, [esp + 0xec]
push eax
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x68]
push edx
mov byte [esp + 0x244], 0xa
call fcn.10003810
push eax
mov esi, ebx
mov byte [esp + 0x23c], 0xb
call fcn.10003710
lea esi, [esp + 0x60]
call fcn.10004640
mov bl, 9
lea ecx, [esp + 0x44]
mov byte [esp + 0x238], bl
call fcn.10001f30
push ebp
lea edi, [esp + 0x48]
call fcn.10012400
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0xa4]
mov byte [esp + 0x244], 0xc
call fcn.10003890
mov ecx, edi
mov byte [esp + 0x238], bl
call fcn.10003510
lea eax, [esp + 0x98]
push eax
mov edx, 0x10048614
call fcn.10003540
lea ecx, [esp + 0x98]
push ecx
mov edx, str.action_type
call fcn.10003540
lea edx, [esp + 0x98]
push edx
mov edx, 0x10048624
call fcn.10003540
lea eax, [esp + 0x98]
push eax
mov edx, str.logout
call fcn.10003540
lea ecx, [esp + 0x108]
push ecx
lea edx, [esp + 0x16c]
push edx
lea ecx, [esp + 0xf4]
mov edx, ebp
call fcn.10011850
lea eax, [esp + 0x98]
push eax
mov edx, 0x10048614
mov byte [esp + 0x23c], 0xd
call fcn.10003540
lea ecx, [esp + 0x98]
push ecx
mov edx, str.value2
call fcn.10003540
lea edx, [esp + 0x98]
push edx
mov edx, 0x10048624
call fcn.10003540
push 0
lea eax, [esp + 0x16c]
push eax
or eax, 0xffffffff
lea esi, [esp + 0xa0]
call fcn.10003a60
lea ecx, [esp + 0x108]
push ecx
lea edx, [esp + 0x188]
push edx
lea ecx, [esp + 0xf4]
mov edx, ebp
call fcn.10011b50
mov eax, esi
push eax
mov edx, 0x10048614
mov byte [esp + 0x23c], 0xe
call fcn.10003540
mov ecx, esi
push ecx
mov edx, str.value3
call fcn.10003540
mov edx, esi
push edx
mov edx, 0x10048624
call fcn.10003540
push 0
lea eax, [esp + 0x188]
push eax
or eax, 0xffffffff
call fcn.10003a60
mov ebx, dword [esp + 0x244]
lea ecx, [esp + 0x108]
push ecx
push ebx
push ebp
lea ecx, [esp + 0xf8]
lea edi, [esp + 0x1ac]
call fcn.10010e00
mov edx, esi
push edx
mov edx, 0x10048614
mov byte [esp + 0x23c], 0xf
call fcn.10003540
mov eax, esi
push eax
mov edx, str.value
call fcn.10003540
mov ecx, esi
push ecx
mov edx, 0x10048624
call fcn.10003540
mov edx, edi
push 0
or edi, 0xffffffff
push edx
mov eax, edi
call fcn.10003a60
lea eax, [esp + 0x14c]
push eax
call fcn.100123e0
mov byte [esp + 0x238], 0x10
cmp dword [esp + 0x160], 0
je 0x100108cc
mov ecx, esi
push ecx
mov edx, 0x10048614
call fcn.10003540
mov edx, esi
push edx
mov edx, str.ui_value
call fcn.10003540
mov eax, esi
push eax
mov edx, 0x10048624
call fcn.10003540
push 0
lea ecx, [esp + 0x150]
push ecx
mov eax, edi
call fcn.10003a60
cmp dword [esp + 0xb0], 0x10
mov ecx, dword [esp + 0x9c]
jae 0x100108e4
lea ecx, [esp + 0x9c]
mov eax, dword [esp + 0xac]
lea edx, [esp + 0x2c]
push edx
push eax
lea edx, [esp + 0x28]
push edx
lea edx, [esp + 0xdc]
call fcn.10002c80
test al, al
jne 0x1001099a
test ebx, ebx
jne 0x1001091a
lea ecx, [esp + 0x124]
call fcn.100217b0
lea ecx, [esp + 0x14c]
call fcn.10003510
lea ecx, [esp + 0x1a0]
call fcn.10003510
lea ecx, [esp + 0x184]
call fcn.10003510
lea ecx, [esp + 0x168]
call fcn.10003510
lea ecx, [esp + 0x108]
call fcn.10001f30
lea ecx, [esp + 0xec]
call fcn.10001f30
lea ecx, [esp + 0x98]
call fcn.10003510
lea ecx, [esp + 0xd0]
call fcn.10001f30
lea esi, [esp + 0x2c]
call fcn.1000ab00
lea ecx, [esp + 0xb4]
call fcn.10001f30
mov eax, dword [esp + 0x24]
test eax, eax
jmp 0x10010542
mov esi, 0x100480d4
lea ecx, [esp + 0xd0]
call fcn.10009860
test al, al
jne 0x1001090a
test ebx, ebx
jne 0x100109c3
lea ecx, [esp + 0x124]
call fcn.10021e30
cmp ebx, 2
mov eax, dword [esp + 0x40]
mov byte [eax], 1
je 0x100109dc
push ebx
lea esi, [esp + 0x1c0]
call fcn.100163d0
mov ecx, ebx
mov edx, ebp
call fcn.10010bf0
lea ecx, [esp + 0x14c]
call fcn.10003510
lea ecx, [esp + 0x1a0]
call fcn.10003510
lea ecx, [esp + 0x184]
call fcn.10003510
lea ecx, [esp + 0x168]
call fcn.10003510
lea ecx, [esp + 0x108]
call fcn.10001f30
lea ecx, [esp + 0xec]
call fcn.10001f30
lea ecx, [esp + 0x98]
call fcn.10003510
lea ecx, [esp + 0xd0]
call fcn.10001f30
lea esi, [esp + 0x2c]
call fcn.1000ab00
lea ecx, [esp + 0xb4]
call fcn.10001f30
mov eax, dword [esp + 0x24]
test eax, eax
je 0x10010a69
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea ecx, [esp + 0x18]
call fcn.10004870
lea ecx, [esp + 0x124]
mov dword [esp + 0x238], edi
call fcn.1001e2d0
mov al, 1
jmp 0x10010bbe
mov ebp, 8
cmp dword [esp + 0x120], ebp
jb 0x10010aaa
mov ecx, dword [esp + 0x10c]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x104], ebp
mov dword [esp + 0x120], edi
mov dword [esp + 0x11c], ebx
mov word [esp + 0x10c], bx
jb 0x10010ad9
mov edx, dword [esp + 0xf0]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0xb0], 0x10
mov dword [esp + 0x104], edi
mov dword [esp + 0x100], ebx
mov word [esp + 0xf0], bx
jb 0x10010b09
mov eax, dword [esp + 0x9c]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0xe8], ebp
mov dword [esp + 0xb0], 0xf
mov dword [esp + 0xac], ebx
mov byte [esp + 0x9c], bl
jb 0x10010b3b
mov ecx, dword [esp + 0xd4]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
lea esi, [esp + 0x2c]
mov dword [esp + 0xe8], edi
mov dword [esp + 0xe4], ebx
mov word [esp + 0xd4], bx
call fcn.1000ab00
cmp dword [esp + 0xcc], ebp
jb 0x10010b73
mov edx, dword [esp + 0xb8]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0xcc], edi
mov eax, dword [esp + 0x24]
cmp eax, ebx
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov word [esp + 0xb8], bx
mov dword [esp + 0xc8], ebx
je 0x10010b9a
push eax
call esi
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x10010ba5
push eax
call esi
mov dword [esp + 0x238], 0xffffffff
lea ecx, [esp + 0x124]
call fcn.1001e2d0
xor al, al
mov ecx, dword [esp + 0x230]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.1003ec9d
add esp, 0x228
ret 8