Function at 0x10ee0b0
Capabilities:
Prepare http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x11410da
mov eax, dword fs:[0]
push eax
sub esp, 0x2fc
mov eax, dword [0x115f604]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x18]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push eax
mov esi, ecx
movzx ecx, word [ebp + 0x10]
push ecx
push edi
push ebx
mov dword [ebp - 0x154], eax
mov eax, dword [ebp + 0x14]
push eax
push 0x1041ca0
push 0x1041c60
mov dword [ebp - 0x15c], ecx
lea ecx, [ebp - 0x120]
push ecx
push 0x1041be8
lea edx, [ebp - 0x11c]
push 2
push edx
mov dword [ebp - 0x120], 0
call fcn.01075110
add esp, 0x2c
mov eax, dword [0x1161d94]
mov edx, dword [eax + 0xc]
mov ecx, 0x1161d94
mov dword [ebp - 4], 0
call edx
add eax, 0x10
mov dword [ebp - 0x13c], eax
mov eax, dword [0x1161d94]
mov edx, dword [eax + 0xc]
mov ecx, 0x1161d94
mov byte [ebp - 4], 1
call edx
add eax, 0x10
mov dword [ebp - 0x160], eax
mov eax, dword [0x1161d94]
mov edx, dword [eax + 0xc]
mov ecx, 0x1161d94
mov byte [ebp - 4], 2
mov dword [ebp - 0x164], 0
call edx
add eax, 0x10
mov dword [ebp - 0x150], eax
lea ecx, [ebp - 0x308]
mov byte [ebp - 4], 3
call fcn.010ae800
mov eax, dword [0x1161d94]
mov edx, dword [eax + 0xc]
mov ecx, 0x1161d94
mov byte [ebp - 4], 4
mov dword [ebp - 0x124], 0
call edx
add eax, 0x10
mov dword [ebp - 0x158], eax
mov eax, dword [0x1161d94]
mov edx, dword [eax + 0xc]
mov ecx, 0x1161d94
mov byte [ebp - 4], 5
call edx
add eax, 0x10
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], 0
test ebx, ebx
mov byte [ebp - 4], 7
jne 0x10ee2b9
add eax, 0xfffffff0
mov dword [ebp - 0x120], 0x8000ffff
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10ee224
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 4
call fcn.0109b310
lea ecx, [ebp - 0x308]
mov byte [ebp - 4], 3
call fcn.010aeb80
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 2
call fcn.0109c040
mov eax, dword [ebp - 0x160]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10ee277
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x13c]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10ee29d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x11c]
mov dword [ebp - 4], 0xffffffff
call fcn.01075230
mov eax, 0x8000ffff
jmp 0x10ee5b8
cmp word [ebp + 0x10], 0
mov dword [esi + 0x20], ebx
je 0x10ef08a
test edi, edi
je 0x10ef08a
cmp word [edi], 0
je 0x10ef08a
call fcn.010f91e0
cmp byte [eax + 0x11c], 0
mov dword [ebp - 0x128], eax
jne 0x10ee338
lea ecx, [ebp - 0x164]
push ecx
call sub.SensApi.dll_IsNetworkAlive
test eax, eax
jne 0x10ee338
call fcn.01127f00
test al, al
je 0x10ee31a
push 0x1041ba0
push 0x1041b28
push 1
call fcn.01128b70
add esp, 0xc
mov edx, dword [ebx]
mov eax, dword [edx + 0x20]
push 0x80048848
mov ecx, ebx
call eax
mov eax, 0x80048265
mov dword [ebp - 0x120], eax
jmp 0x10ee430
push 0
mov ecx, esi
call fcn.010ec910
cmp byte [esi + 0x14], 0
lea ecx, [ebp - 0x138]
je 0x10ee354
push 0x1041b10
jmp 0x10ee359
push 0x1041b00
call fcn.0107f660
push edi
lea ecx, [ebp - 0x138]
call fcn.0109f810
mov ecx, dword [ebp - 0x154]
push ecx
lea ecx, [ebp - 0x138]
call fcn.0109f810
call fcn.01127f00
test al, al
je 0x10ee3a0
mov edx, dword [ebp - 0x138]
push edx
push 0x1041ad8
push 0x1041a60
push 3
call fcn.01128b70
add esp, 0x10
call fcn.01127f00
test al, al
je 0x10ee3cc
mov eax, dword [ebp - 0x154]
mov ecx, dword [ebp - 0x15c]
push eax
push ecx
push edi
push 0x1041a18
push 0x10419a0
push 1
call fcn.01128b70
add esp, 0x18
mov ecx, dword [ebp - 0x128]
lea edx, [ebp - 0x308]
push edx
call fcn.0109f1a0
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x13c]
push eax
call fcn.010eccf0
test eax, eax
mov dword [ebp - 0x120], eax
jge 0x10ee5d6
call fcn.01127f00
test al, al
je 0x10ee422
mov ecx, dword [ebp - 0x120]
push ecx
push 0x1041958
push 0x10418e0
push 3
call fcn.01128b70
add esp, 0x10
mov eax, dword [ebp - 0x120]
test eax, eax
jge 0x10ee4db
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x10ee4c8
cmp dword [ecx + 8], 0
je 0x10ee4c8
mov ecx, dword [ebp - 0x15c]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x15c], esp
push 0x100356c
call fcn.0109f760
push ecx
mov ecx, esp
mov dword [ebp - 0x128], esp
push 0x100356c
mov byte [ebp - 4], 0xc
call fcn.0109f760
push ecx
mov ecx, esp
mov dword [ebp - 0x154], esp
push 0x1041868
mov byte [ebp - 4], 0xd
call fcn.0109f760
mov edx, dword [ebp - 0x120]
mov eax, dword [esi + 0x20]
push edx
mov byte [ebp - 4], 7
mov ecx, dword [eax + 8]
push 2
call fcn.010d5ad0
mov ecx, dword [esi + 0x20]
mov eax, dword [ecx + 8]
cmp byte [eax + 0x1c4], 0
je 0x10ee4c2
mov dword [eax + 0x70], 0x80048842
mov byte [eax + 0x1c4], 0
mov eax, dword [ebp - 0x120]
test eax, eax
jge 0x10ee4db
cmp dword [ebp - 0x124], 0
jl 0x10ee4db
mov dword [ebp - 0x124], eax
mov esi, dword [ebp - 0x134]
test esi, esi
mov byte [ebp - 4], 6
je 0x10ee501
lea edx, [esi + 4]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x10ee501
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
mov eax, dword [ebp - 0x138]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10ee527
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 4
call fcn.0109b310
lea ecx, [ebp - 0x308]
mov byte [ebp - 4], 3
call fcn.010aeb80
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 2
call fcn.0109c040
mov eax, dword [ebp - 0x160]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10ee57a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x13c]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10ee5a0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x11c]
mov dword [ebp - 4], 0xffffffff
call fcn.01075230
mov eax, dword [ebp - 0x124]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.010840d6
mov esp, ebp
pop ebp
ret 0x14
xor eax, eax
mov dword [ebp - 0x14c], 0x100abd8
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], eax
mov byte [ebp - 4], 8
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
lea edx, [ebp - 0x128]
push edx
push 1
push 8
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
je 0x10ee690
mov eax, dword [ebp - 0x14c]
mov edx, dword [eax + 4]
lea ecx, [ebp - 0x14c]
call edx
mov eax, dword [ebp - 0x128]
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x148], eax
xor eax, eax
push ecx
lea ecx, [ebp - 0x14c]
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x128], eax
call fcn.010e9460
test al, al
jne 0x10ee75b
call fcn.01071a70
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x124], 0x80048047
call fcn.01127f00
test al, al
je 0x10ee6ed
mov edx, dword [ebp - 0x120]
push edx
push 0x1041818
push 0x10417a0
jmp 0x10ee6e3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3f0
je 0x10ee701
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
test eax, eax
jg 0x10ee6ad
call edi
jmp 0x10ee6b9
call edi
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x124], 0x80048047
call fcn.01127f00
test al, al
je 0x10ee6ed
mov ecx, dword [ebp - 0x120]
push ecx
push 0x1041818
push 0x1041728
push 0
call fcn.01128b70
add esp, 0x10
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 7
call fcn.01097430
jmp 0x10ee422
mov ecx, dword [0x1162cd4]
lea edx, [ebp - 0x134]
push edx
lea eax, [ebp - 0x308]
push eax
lea edx, [ebp - 0x13c]
add ecx, 0x210
push edx
call fcn.010ede80
test eax, eax
mov dword [ebp - 0x120], eax
jge 0x10ee88a
mov dword [ebp - 0x124], 0x80048047
call fcn.01127f00
test al, al
je 0x10ee6ed
mov eax, dword [ebp - 0x120]
push eax
push 0x1040768
push 0x10416b0
jmp 0x10ee6e3
cmp dword [ebp - 0x130], 0x3e7
jne 0x10ee7d1
cmp dword [ebp - 0x12c], 0
jne 0x10ee7d1
mov ecx, dword [0x1162cd4]
lea eax, [ebp - 0x134]
push eax
lea edx, [ebp - 0x308]
push edx
lea eax, [ebp - 0x13c]
add ecx, 0x210
push eax
call fcn.010ede80
test eax, eax
mov dword [ebp - 0x120], eax
jge 0x10ee88a
mov dword [ebp - 0x124], 0x80048047
call fcn.01127f00
test al, al
je 0x10ee6ed
mov ecx, dword [ebp - 0x120]
push ecx
push 0x1040768
push 0x1041638
jmp 0x10ee6e3
lea edx, [ebp - 0x128]
push edx
lea ecx, [ebp - 0x14c]
call fcn.010d4270
test al, al
jne 0x10ee81f
call fcn.01071a70
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x124], 0x80048047
call fcn.01127f00
test al, al
je 0x10ee6ed
mov eax, dword [ebp - 0x120]
push eax
push 0x1041818
push 0x10415c0
jmp 0x10ee6e3
mov ecx, dword [0x1162cd4]
lea edx, [ebp - 0x134]
push edx
lea eax, [ebp - 0x308]
push eax
lea edx, [ebp - 0x13c]
push edx
mov edx, dword [ebp - 0x128]
lea eax, [ebp - 0x130]
push eax
add ecx, 0x210
push edx
call fcn.010edf30
test eax, eax
mov dword [ebp - 0x120], eax
jge 0x10ee88a
mov dword [ebp - 0x124], 0x80048047
call fcn.01127f00
test al, al
je 0x10ee6ed
mov eax, dword [ebp - 0x120]
push eax
push 0x1040768
push 0x1041548
jmp 0x10ee6e3
mov ecx, dword [esi + 0x20]
mov edx, dword [ecx + 8]
cmp byte [edx + 0x1c4], 0
je 0x10ee8b7
lea ecx, [ebp - 0x14c]
mov dword [ebp - 0x120], 0x80048842
mov byte [ebp - 4], 7
call fcn.01097430
jmp 0x10ee422
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x134]
mov edx, dword [ecx + 8]
push 0
push eax
push edi
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
test eax, eax
mov dword [esi + 4], eax
jne 0x10ee90d
call fcn.01071a70
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x124], 0x80048048
call fcn.01127f00
test al, al
je 0x10ee6ed
mov eax, dword [ebp - 0x120]
push eax
push 0x1041510
push 0x1041498
jmp 0x10ee6e3
mov ecx, dword [esi + 0x20]
mov edx, dword [ecx + 8]
cmp byte [edx + 0x1c4], 0
je 0x10ee93a
lea ecx, [ebp - 0x14c]
mov dword [ebp - 0x120], 0x80048842
mov byte [ebp - 4], 7
call fcn.01097430
jmp 0x10ee422
mov cl, byte [esi + 0x14]
mov edx, dword [ebp - 0x154]
neg cl
sbb ecx, ecx
and ecx, 0x800000
push ecx
push 0x1161254
xor edi, edi
push edi
push 0x1041484
push edx
push 0x1041478
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
cmp eax, edi
mov dword [esi + 8], eax
jne 0x10ee9a8
call fcn.01071a70
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x124], 0x80048049
call fcn.01127f00
test al, al
je 0x10ee6ed
mov eax, dword [ebp - 0x120]
push eax
push 0x1041438
push 0x10413c0
push edi
jmp 0x10ee6e5
mov dword [ebp - 0x174], 0x100abd8
mov dword [ebp - 0x170], edi
mov dword [ebp - 0x16c], edi
mov dword [ebp - 0x168], edi
mov dword [ebp - 0x130], edi
mov dword [ebp - 0x12c], edi
mov byte [ebp - 4], 0xa
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
lea ecx, [ebp - 0x128]
push ecx
push 1
push 8
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
je 0x10eea0f
mov edx, dword [ebp - 0x174]
mov eax, dword [edx + 4]
lea ecx, [ebp - 0x174]
call eax
mov ecx, dword [ebp - 0x128]
mov dword [ebp - 0x170], ecx
jmp 0x10eea28
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3f0
jne 0x10eea28
push edi
lea ecx, [ebp - 0x130]
call fcn.01096870
cmp dword [ebp - 0x2c8], 3
jne 0x10eea58
mov edx, dword [ebp - 0x2d0]
cmp dword [edx - 0xc], edi
je 0x10eea58
mov ecx, dword [esi + 8]
mov edx, dword [ebp - 0x134]
lea eax, [ebp - 0x308]
push eax
mov eax, dword [edx + 8]
push ecx
push eax
call fcn.01122cd0
jmp 0x10eea72
mov edx, dword [esi + 8]
mov eax, dword [ebp - 0x134]
lea ecx, [ebp - 0x138]
push ecx
mov ecx, dword [eax + 8]
push edx
push ecx
call fcn.01122bc0
cmp eax, edi
mov dword [ebp - 0x120], eax
jge 0x10eea9f
call fcn.01127f00
test al, al
je 0x10eea9f
mov edx, dword [ebp - 0x120]
push edx
push 0x1041320
push 0x10412a8
push edi
call fcn.01128b70
add esp, 0x10
cmp dword [ebp - 0x130], edi
je 0x10eeaaf
push edi
push edi
call dword [sym.imp.ADVAPI32.dll_SetThreadToken]
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 8
call fcn.01097430
mov eax, dword [ebp - 0x2fc]
mov ecx, dword [ebp - 0x300]
mov edx, dword [ebp - 0x304]
push eax
mov eax, dword [esi + 8]
push ecx
push edx
push edi
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
test eax, eax
jne 0x10eeb04
call fcn.01127f00
test al, al
je 0x10eeb04
call fcn.01071a70
push eax
push 0x10406a8
push 0x1041230
push edi
call fcn.01128b70
add esp, 0x10
cmp byte [esi + 0x14], 0
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
je 0x10eeb7e
mov edx, dword [esi + 8]
push 4
lea ecx, [ebp - 0x128]
push ecx
push 0x4f
push edx
mov dword [ebp - 0x128], 1
call edi
test eax, eax
jne 0x10eeb7e
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
test eax, eax
jg 0x10eeb3f
call edi
jmp 0x10eeb4b
call edi
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x124], 0x80048050
call fcn.01127f00
test al, al
je 0x10ee6ed
mov eax, dword [ebp - 0x120]
push eax
push 0x10411b8
push 0x1041140
jmp 0x10ee6e3
mov ecx, dword [esi + 8]
push ecx
mov ecx, esi
call fcn.010ece90
test eax, eax
mov dword [ebp - 0x120], eax
jge 0x10eebb6
call fcn.01127f00
test al, al
je 0x10ee6ed
mov edx, dword [ebp - 0x120]
push edx
push 0x10410f8
push 0x1041080
jmp 0x10ee6e3
mov ecx, dword [ebp - 0x2c4]
mov eax, dword [ecx - 0xc]
test eax, eax
jle 0x10eecf2
add eax, 1
push eax
mov eax, dword [esi + 8]
push ecx
push 0x1002
push eax
call edi
test eax, eax
jne 0x10eec2a
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
test eax, eax
jg 0x10eebeb
call edi
jmp 0x10eebf7
call edi
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x124], 0x80048050
call fcn.01127f00
test al, al
je 0x10ee6ed
mov ecx, dword [ebp - 0x120]
push ecx
push 0x1040fe0
push 0x1040f68
jmp 0x10ee6e3
mov edx, dword [ebp - 0x2c0]
cmp dword [edx - 0xc], 0
jle 0x10eec86
mov ecx, dword [0x1162cd4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov eax, dword [eax]
lea ecx, [ebp - 0x150]
push ecx
lea edx, [ebp - 0x2c0]
push edx
push eax
call fcn.010b66b0
test eax, eax
mov dword [ebp - 0x120], eax
jge 0x10eec86
call fcn.01127f00
test al, al
je 0x10ee6ed
mov eax, dword [ebp - 0x120]
push eax
push 0x1040f08
push 0x1040e90
jmp 0x10ee6e3
mov eax, dword [ebp - 0x150]
mov ecx, dword [eax - 0xc]
add ecx, 1
push ecx
mov ecx, dword [esi + 8]
push eax
push 0x1003
push ecx
call edi
test eax, eax
jne 0x10eecf2
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
test eax, eax
jg 0x10eecb3
call edi
jmp 0x10eecbf
call edi
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x124], 0x80048050
call fcn.01127f00
test al, al
je 0x10ee6ed
mov edx, dword [ebp - 0x120]
push edx
push 0x1040df0
push 0x1040d78
jmp 0x10ee6e3
cmp byte [esi + 0x14], 0
je 0x10eed70
mov eax, dword [ebx]
mov edx, dword [eax + 0x28]
mov ecx, ebx
call edx
cmp eax, 1
jne 0x10eed70
mov ecx, dword [esi + 8]
push 4
mov dword [ebp - 0x128], eax
lea eax, [ebp - 0x128]
push eax
push 0x4d
push ecx
call edi
test eax, eax
jne 0x10eed70
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
test eax, eax
jg 0x10eed31
call edi
jmp 0x10eed3d
call edi
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x124], 0x80048050
call fcn.01127f00
test al, al
je 0x10ee6ed
mov edx, dword [ebp - 0x120]
push edx
push 0x1040cd0
push 0x1040c58
jmp 0x10ee6e3
xor eax, eax
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x130], 0x100c630
mov eax, dword [ebx]
mov edx, dword [eax + 0x24]
lea ecx, [ebp - 0x130]
push ecx
mov ecx, ebx
mov byte [ebp - 4], 0xb
call edx
test eax, eax
mov dword [ebp - 0x120], eax
jge 0x10eedf9
call fcn.01127f00
test al, al
je 0x10eedca
mov eax, dword [ebp - 0x120]
push eax
push 0x1040c18
push 0x1040ba0
push 3
call fcn.01128b70
add esp, 0x10
mov ecx, dword [ebp - 0x120]
mov dword [ebp - 0x124], ecx
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 8
call fcn.0109b4c0
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 7
call fcn.01097430
jmp 0x10ee422
jne 0x10eee2f
mov eax, dword [ebp - 0x12c]
test eax, eax
je 0x10eee2f
mov edx, dword [esi + 8]
push 0x14
push eax
push 0x2f
push edx
call edi
test eax, eax
jne 0x10eee9c
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
test eax, eax
jg 0x10eef1a
call edi
jmp 0x10eef26
mov eax, dword [esi + 8]
push 0
push 0
push 0x2f
push eax
call edi
test eax, eax
jne 0x10eee9c
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
test eax, eax
jg 0x10eee4f
call edi
jmp 0x10eee5b
call edi
and eax, 0xffff
or eax, 0x80070000
cmp eax, 0x80070057
jne 0x10eee18
call fcn.01127f00
test al, al
je 0x10eee9c
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
test eax, eax
jg 0x10eee7b
call edi
jmp 0x10eee87
call edi
and eax, 0xffff
or eax, 0x80070000
push eax
push 0x1040ab8
push 0x1040a40
push 0
call fcn.01128b70
add esp, 0x10
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 8
call fcn.0109b4c0
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 7
call fcn.01097430
mov edx, dword [ebx]
mov eax, dword [edx + 0x20]
xor edi, edi
push edi
mov ecx, ebx
call eax
mov dword [esi + 0xc], edi
mov edx, dword [ebx]
mov edx, dword [edx + 0xc]
lea eax, [ebp - 0x158]
push eax
mov ecx, ebx
call edx
cmp eax, edi
mov dword [ebp - 0x120], eax
jge 0x10eef7d
call fcn.01127f00
test al, al
je 0x10eef0b
mov eax, dword [ebp - 0x120]
push eax
push 0x10409f8
push 0x1040980
push 3
call fcn.01128b70
add esp, 0x10
mov dword [ebp - 0x124], 0x80048202
jmp 0x10ee422
call edi
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x124], 0x80048050
call fcn.01127f00
test al, al
je 0x10eef5a
mov ecx, dword [ebp - 0x120]
push ecx
push 0x10408d0
push 0x1040858
push 0
call fcn.01128b70
add esp, 0x10
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 8
call fcn.0109b4c0
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 7
call fcn.01097430
jmp 0x10ee422
mov eax, dword [esi + 0x18]
cmp eax, edi
mov dword [esi + 0x1c], edi
je 0x10eef8a
mov byte [eax], 0
mov ecx, dword [esi + 0x20]
mov edx, dword [ecx + 8]
cmp byte [edx + 0x1c4], 0
je 0x10eefa9
mov eax, 0x80048842
mov dword [ebp - 0x120], eax
jmp 0x10ee430
mov ecx, dword [ebp - 0x158]
mov eax, dword [ecx - 0xc]
push edi
push eax
push eax
mov eax, dword [esi + 8]
push ecx
push edi
push 0x100356c
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
cmp eax, edi
jne 0x10ef057
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp ebx, edi
jg 0x10eefe2
mov dword [ebp - 0x120], ebx
jmp 0x10eeff6
mov ecx, ebx
and ecx, 0xffff
or ecx, 0x80070000
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x124], 0x80048051
call fcn.01127f00
test al, al
je 0x10ef023
mov edx, dword [ebp - 0x120]
push edx
push 0x1040818
push 0x10407a0
push edi
call fcn.01128b70
add esp, 0x10
cmp ebx, 0x2f8f
jne 0x10ef045
mov eax, dword [esi + 0x20]
mov eax, dword [eax + 8]
cmp eax, edi
je 0x10ee422
mov dword [eax + 0x70], 0x800488eb
jmp 0x10ee422
mov ecx, dword [esi + 0x20]
mov eax, dword [ecx + 8]
mov dword [eax + 0x70], 0x80048820
jmp 0x10ee422
mov edx, dword [esi + 0x20]
mov eax, dword [edx + 8]
cmp byte [eax + 0x1c4], 0
je 0x10ef076
mov eax, 0x80048842
mov dword [ebp - 0x120], eax
jmp 0x10ee430
mov ecx, esi
call fcn.010ed520
mov dword [ebp - 0x120], eax
cmp eax, edi
jmp 0x10ee42a
mov eax, 0x8004805e
mov dword [ebp - 0x120], eax
jmp 0x10ee430