Function at 0x100f9b70
Capabilities:
Check http status code
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011e974
mov eax, dword fs:[0]
push eax
mov eax, 0x116c
mov dword fs:[0], esp
call fcn.100711a0
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x6c], edx
push edi
push eax
push eax
push eax
push eax
push eax
mov ebx, ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov esi, eax
mov dword [ebp - 0xa4], esi
push 4
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
mov edi, dword [sym.imp.WININET.dll_InternetSetOptionW]
push eax
push 2
push esi
mov dword [ebp - 0x14], 0x7d0
call edi
push 4
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 3
push eax
push 3
push esi
call edi
push ebx
lea ecx, [ebp - 0xa0]
call fcn.1001cdf0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0xa8], 0x101548f0
nop word [eax + eax]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
push 0x10
mov byte [ebp - 4], 3
call fcn.1006fcb6
mov edi, eax
add esp, 4
mov dword [ebp - 0x70], edi
mov ecx, dword [0x101548f0]
test ecx, ecx
je 0x100f9c52
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x10150e84
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 5
call fcn.1001cdf0
mov ebx, dword [ebp - 0x18]
mov eax, dword [0x101548f0]
or ebx, 2
test eax, eax
je 0x100f9c79
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x34]
or ebx, 1
lea eax, [ebp - 0xa0]
cmp dword [ebp - 0x20], 8
push 0x4200000
cmovae ecx, dword [ebp - 0x34]
cmp dword [ebp - 0x8c], 8
push ecx
cmovae eax, dword [ebp - 0xa0]
push ecx
push eax
push esi
mov ecx, edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.1010f1b0
mov ebx, eax
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], 0
push ebx
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 8
call fcn.1003a500
mov edx, dword [ebp - 0x38]
mov ecx, dword [eax]
mov dword [ebp - 0x38], ecx
mov dword [eax], edx
mov edi, dword [ebp - 0x68]
test edi, edi
je 0x100f9d0e
lea eax, [edi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x100f9d0e
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
lea eax, [edi + 8]
or edx, 0xffffffff
lock xadd dword [eax], edx
cmp edx, 1
jne 0x100f9d0e
mov eax, dword [edi]
mov ecx, edi
push edx
call dword [eax]
push ebx
push ebx
lea eax, [ebp - 0x3c]
push eax
call fcn.1001d2d0
mov eax, dword [ebp - 0x4c]
add esp, 0xc
mov ebx, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x48]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x38], edi
test edi, edi
je 0x100f9d64
lea eax, [edi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x100f9d64
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
lea eax, [edi + 8]
or edx, 0xffffffff
lock xadd dword [eax], edx
cmp edx, 1
jne 0x100f9d64
mov eax, dword [edi]
mov ecx, edi
push edx
call dword [eax]
mov dword [ebp - 4], 3
and dword [ebp - 0x18], 0xfffffffe
mov edx, dword [ebp - 0x20]
cmp edx, 8
jb 0x100f9da9
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100f9d9f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100fa3a3
push edx
push ecx
call fcn.1006fca3
add esp, 8
test ebx, ebx
je 0x100fa326
cmp dword [ebx], 0
jne 0x100f9dc6
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x100f9dc6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0x2c], eax
xor edi, edi
mov dword [ebp - 0x14], 4
mov dword [ebp - 0x1c], edi
mov eax, dword [ebx]
test eax, eax
je 0x100fa2fc
push edi
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
push 0x20000013
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov edi, dword [ebp - 0x1c]
cmp edi, 0xc8
je 0x100f9e18
cmp edi, 0x12e
je 0x100f9e18
cmp edi, 0x12d
je 0x100f9e18
cmp edi, 0x133
jne 0x100fa2fc
push 0x1048
lea eax, [ebp - 0x1174]
mov dword [ebp - 0x44], 0x1048
push 0
push eax
mov dword [ebp - 0x40], 0
call fcn.10074090
add esp, 0xc
cmp edi, 0x12e
je 0x100f9e54
cmp edi, 0x12d
je 0x100f9e54
cmp edi, 0x133
jne 0x100f9e72
mov eax, dword [ebx]
test eax, eax
je 0x100f9e72
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x1174]
push ecx
push 0x21
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
lea eax, [ebp - 0x1174]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x100f9eb7
lea ecx, [ebp - 0x1174]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100f9e90
sub ecx, edx
lea eax, [ebp - 0x1174]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xa0]
call fcn.1001a860
jmp 0x100f9c10
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x100f9ec4
mov eax, dword [ebp - 0x1c]
mov dword [ecx + 0x28], eax
mov edi, dword [ebp + 8]
cmp dword [edi + 0x10], 0
jne 0x100fa0e8
push 0x1048
lea eax, [ebp - 0x1174]
mov dword [ebp - 0x40], 0
push 0
push eax
mov dword [ebp - 0x44], 0x1048
call fcn.10074090
mov eax, dword [ebx]
add esp, 0xc
test eax, eax
je 0x100f9f13
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x1174]
push ecx
push 0x2f
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
xor eax, eax
mov dword [ebp - 0x54], 0
lea ecx, [ebp - 0x1174]
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100f9f30
sub ecx, edx
lea eax, [ebp - 0x1174]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x64]
call fcn.1001a860
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x34]
push 9
xor eax, eax
mov dword [ebp - 0x24], 0
push str.filename
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
call fcn.1001a860
push 0
lea edx, [ebp - 0x34]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x64]
call fcn.100d2410
mov byte [ebp - 4], 9
add esp, 4
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
cmp edx, 8
jb 0x100f9fce
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100f9fc1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100fa3a3
push edx
push ecx
call fcn.1006fca3
mov eax, dword [ebp - 0x18]
add esp, 8
cmp eax, 0xffffffff
je 0x100fa0aa
push eax
push 0x1013a2fc
lea ecx, [ebp - 0x64]
call fcn.1001dbb0
mov ecx, eax
mov dword [ebp - 0x14], ecx
cmp ecx, 0xffffffff
je 0x100fa05e
push str.filename
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x18]
sub ecx, eax
push str.filename
mov dword [ebp - 0x14], ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x14]
add eax, dword [ebp - 0x18]
push ecx
push eax
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x64]
call fcn.1001d9d0
push eax
mov ecx, edi
call fcn.1001df20
mov edx, dword [ebp - 0x20]
cmp edx, 8
jb 0x100fa07a
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100fa070
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100fa3a8
jmp 0x100fa070
push 0xffffffffffffffff
push str.filename
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, dword [ebp - 0x18]
jmp 0x100fa017
push edx
push ecx
call fcn.1006fca3
add esp, 8
mov edx, str.__t_n_
mov ecx, edi
call fcn.100d32a0
mov edx, str.__t_n_
mov ecx, edi
call fcn.100d31e0
cmp dword [edi + 0x10], 0
je 0x100fa0aa
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x10], 0
je 0x100fa0aa
mov edx, eax
mov ecx, edi
call fcn.100d2520
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x50]
cmp edx, 8
jb 0x100fa0e8
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100fa0de
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100fa3a8
push edx
push ecx
call fcn.1006fca3
add esp, 8
mov byte [ebp - 4], 2
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x100fa2b7
push ecx
lea ecx, [ebp - 0x12c]
call fcn.100fbf10
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0xa0]
cmp dword [ebp - 0x8c], 8
cmovae eax, dword [ebp - 0xa0]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.1001a4c0
lea ecx, [ebp - 0x12c]
call fcn.100fb8c0
test al, al
je 0x100fa19a
lea eax, [ebp - 0xf8]
push eax
lea ecx, [ebp - 0x34]
call fcn.1001cdf0
push ecx
push 0x1013b02c
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xc
call fcn.1001da20
cmp eax, 0xffffffff
jne 0x100fa168
lea eax, [ebp - 0x34]
mov ecx, edi
push eax
call fcn.1001cf90
jmp 0x100fa18e
push 0xffffffffffffffff
inc eax
lea ecx, [ebp - 0x34]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.1001d9d0
push eax
mov ecx, edi
call fcn.1001df20
lea ecx, [ebp - 0x88]
call fcn.1001a0c0
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xb
call fcn.1001a0c0
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x10], 0
je 0x100fa1c8
mov edx, eax
mov ecx, edi
call fcn.100d2520
test al, al
jne 0x100fa1c8
mov eax, dword [ebp + 0xc]
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x100fa1bd
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edi
call fcn.1001e7b0
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 2
call fcn.100fbdd0
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x100fa2b7
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xe
call fcn.100ec030
push 0x1013b030
lea ecx, [ebp - 0x88]
call fcn.1001a4c0
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0xf
push eax
lea edx, [ebp - 0x88]
lea ecx, [ebp - 0x34]
call fcn.100eba70
add esp, 4
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x88]
call fcn.1001a0c0
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x10], 0
je 0x100fa282
mov edx, eax
lea ecx, [ebp - 0x64]
call fcn.100d2520
test al, al
jne 0x100fa282
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x88]
call fcn.100e2dc0
add esp, 4
lea ecx, [ebp - 0x64]
push eax
call fcn.1001df20
lea ecx, [ebp - 0x88]
call fcn.1001a0c0
lea edx, [ebp - 0x64]
lea ecx, [ebp - 0x88]
call fcn.100e5030
push eax
mov ecx, edi
call fcn.1001df20
lea ecx, [ebp - 0x88]
call fcn.1001a0c0
lea ecx, [ebp - 0x64]
call fcn.1001a0c0
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.1001a0c0
mov edx, dword [ebp - 0x6c]
lea ecx, [ebp - 0xc0]
push edi
call fcn.100e6cb0
add esp, 4
mov ecx, dword [ebp - 0x6c]
mov byte [ebp - 4], 0x10
call fcn.100e4780
mov edi, dword [ebp + 0x14]
lea edx, [ebp - 0xc0]
push 0
push edi
push 0
mov ecx, ebx
call fcn.100f6400
add esp, 0xc
lea ecx, [ebp - 0xc0]
mov bl, al
call fcn.1001a0c0
jmp 0x100fa338
mov ebx, dword [ebp + 0x14]
test ebx, ebx
je 0x100fa319
mov dword [ebx + 0x28], edi
mov dword [ebx + 0x2c], edi
test edi, edi
jne 0x100fa31d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [ebp - 0x1c]
mov dword [ebx + 0x2c], eax
test edi, edi
je 0x100fa336
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x100fa336
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x100fa336
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0x2c], eax
xor bl, bl
mov edi, dword [ebp - 0x48]
test edi, edi
je 0x100fa36b
lea eax, [edi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x100fa36b
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
lea eax, [edi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x100fa36b
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax]
lea ecx, [ebp - 0xa0]
call fcn.1001a0c0
test esi, esi
je 0x100fa390
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov edi, eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.1007d9e8
call fcn.1007d9e8
int3