Function at 0x10025860
Capabilities:
Check http status code
Link many functions at runtime
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100db45b
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x189c
call fcn.100806d0
mov eax, dword [0x10115770]
xor eax, esp
mov dword [esp + 0x1898], eax
push ebx
push esi
push edi
mov eax, dword [0x10115770]
xor eax, esp
push eax
lea eax, [esp + 0x18b0]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x20], eax
xor eax, eax
push 0x3fe
push eax
mov word [esp + 0xa4], ax
lea eax, [esp + 0xa6]
push eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x34], 0
call fcn.10068f30
add esp, 0xc
lea eax, [esp + 0x49c]
push 0x1400
push 0
push eax
call fcn.10068f30
add esp, 0xc
lea eax, [esp + 0x30]
push 0x38
push 0
push eax
call fcn.10068f30
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea eax, [esp + 0x14a8]
mov dword [esp + 0x6c], eax
add esp, 0xc
lea eax, [esp + 0x49c]
mov dword [esp + 0x2c], 0x3c
mov dword [esp + 0x3c], eax
lea eax, [esp + 0xc9c]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x9c]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x109c]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x89c]
mov dword [esp + 0x48], eax
mov eax, dword [0x1011abb8]
mov dword [esp + 0x4c], 0x200
mov dword [esp + 0x5c], 0x200
mov dword [esp + 0x34], 0x200
mov dword [esp + 0x54], 0x200
mov dword [esp + 0x40], 0x200
mov dword [esp + 0x64], 0x200
test eax, eax
jne 0x100259c4
call fcn.1002a680
push str.WinHttpCrackUrl
push dword [0x1011aa74]
call esi
mov dword [0x1011abb8], eax
test eax, eax
je 0x100259d0
lea ecx, [esp + 0x2c]
push ecx
push 0
push 0
push ebx
call eax
mov edx, dword [esp + 0x58]
xor eax, eax
mov dword [esp + 0x98], 7
mov dword [esp + 0x94], 0
mov word [esp + 0x84], ax
cmp word [edx], ax
jne 0x100259fd
xor ecx, ecx
jmp 0x10025a11
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10025a02
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x8c]
call fcn.1001ac60
mov dword [esp + 0x18b8], 0
mov edx, dword [esp + 0x60]
cmp word [edx], 0
jne 0x10025a38
xor ecx, ecx
jmp 0x10025a4f
mov ecx, edx
lea ebx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10025a40
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x8c]
call fcn.1001ab80
cmp dword [edi + 4], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jne 0x10025a80
sub esp, 0xc
call fcn.1002a8c0
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
je 0x10025e77
mov eax, dword [0x1011ab90]
test eax, eax
jne 0x10025aa4
call fcn.1002a680
push str.WinHttpSetStatusCallback
push dword [0x1011aa74]
call esi
mov dword [0x1011ab90], eax
test eax, eax
je 0x10025ab3
push 0
push 0xffffffffffffffff
push 0x100256e0
push dword [esp + 0x20]
call eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10025b1c
mov ecx, eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10025ac0
sub ecx, edx
sar ecx, 1
je 0x10025b1c
mov eax, dword [esp + 0x10]
mov dword [esp + 0x6c], eax
mov eax, dword [0x1011ab94]
mov dword [esp + 0x68], 3
mov dword [esp + 0x70], 0
test eax, eax
jne 0x10025b0d
call fcn.1002a680
push str.WinHttpSetOption
push dword [0x1011aa74]
call esi
mov dword [0x1011ab94], eax
test eax, eax
je 0x10025b1c
push 0xc
lea ecx, [esp + 0x6c]
push ecx
push 0x26
push dword [esp + 0x20]
call eax
cmp dword [edi + 8], 0
mov dword [esp + 0x78], 4
mov dword [esp + 0x7c], 0
mov dword [esp + 0x74], 0
jne 0x10025e77
movzx eax, word [esp + 0x44]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x18], eax
mov eax, dword [0x1011abb4]
test eax, eax
jne 0x10025b82
call fcn.1002a680
push str.WinHttpConnect
push dword [0x1011aa74]
call esi
mov dword [0x1011abb4], eax
test eax, eax
jne 0x10025b82
mov eax, dword [esp + 0x3c]
movzx esi, word [esp + 0x44]
mov dword [esp + 0x10], eax
jmp 0x10025bb2
push 0
push dword [esp + 0x14]
push dword [esp + 0x20]
push dword [esp + 0x20]
call eax
mov ecx, eax
mov dword [esp + 0x18], ecx
test ecx, ecx
jne 0x10025bf3
mov eax, dword [esp + 0x3c]
movzx esi, word [esp + 0x44]
mov dword [esp + 0x10], eax
mov eax, dword [0x1011abb4]
test eax, eax
jne 0x10025bda
call fcn.1002a680
push str.WinHttpConnect
push dword [0x1011aa74]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1011abb4], eax
test eax, eax
jne 0x10025bda
mov dword [esp + 0x18], eax
jmp 0x10025e77
push 0
push esi
push dword [esp + 0x18]
push dword [esp + 0x20]
call eax
mov dword [esp + 0x18], eax
test eax, eax
je 0x10025e77
cmp dword [esp + 0x98], 8
lea esi, [esp + 0x84]
mov eax, dword [0x1011abb0]
cmovae esi, dword [esp + 0x84]
test eax, eax
jne 0x10025c32
call fcn.1002a680
push str.WinHttpOpenRequest
push dword [0x1011aa74]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1011abb0], eax
test eax, eax
je 0x10025c57
push 0x100
push 0
push 0
push str.HTTP_1.1
push esi
mov esi, dword [esp + 0x2c]
push 0x101086b4
push esi
call eax
mov dword [esp + 0x10], eax
test eax, eax
jne 0x10025c8c
jmp 0x10025c5b
mov esi, dword [esp + 0x18]
cmp dword [esp + 0x98], 8
lea eax, [esp + 0x84]
mov ecx, esi
cmovae eax, dword [esp + 0x84]
sub esp, 0x10
push eax
call fcn.1002a720
add esp, 0x14
mov dword [esp + 0x10], eax
test eax, eax
je 0x10025e77
lea eax, [edi + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 0
push 0
call esi
push 0
push 0
push 0
push 0
mov dword [edi + 0x30], eax
call esi
push 0
push 0
push 0
push 0
mov dword [edi + 0x34], eax
call esi
mov edx, dword [edi + 0x30]
lea esi, [edi + 0x2c]
mov ecx, dword [esp + 0x10]
push esi
push eax
push dword [edi + 0x34]
mov dword [edi + 0x38], eax
call fcn.10025440
add esp, 0xc
test eax, eax
jne 0x10025e71
mov eax, dword [esi]
test eax, eax
je 0x10025e71
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x10]
push eax
call esi
lea eax, [edi + 0x3c]
push eax
call ebx
mov eax, dword [esp + 0x28]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
push eax
call esi
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x28]
push 4
push eax
mov edx, 0x2d
mov ecx, dword [ecx + 0x20]
call fcn.1002a980
add esp, 8
test eax, eax
je 0x10025e77
mov ecx, dword [esp + 0x28]
call fcn.10025540
mov ecx, dword [esp + 0x28]
sub esp, 0x10
mov esi, dword [ebp + 0x14]
mov edx, dword [esp + 0x30]
mov ecx, dword [ecx + 0x20]
push esi
call fcn.1002a770
add esp, 0x14
test eax, eax
jne 0x10025d87
mov ecx, dword [esp + 0x28]
sub esp, 0x10
mov edx, dword [esp + 0x30]
mov ecx, dword [ecx + 0x20]
push esi
call fcn.1002a770
add esp, 0x14
test eax, eax
jne 0x10025d87
mov eax, dword [esp + 0x28]
add eax, 4
jmp 0x10025e74
mov eax, dword [esp + 0x28]
add eax, 4
push eax
call ebx
mov eax, dword [edi + 0x30]
mov dword [esp + 0x18a0], eax
mov eax, dword [edi + 0x38]
push 0x1d4c0
mov dword [esp + 0x18a8], eax
lea eax, [esp + 0x18a4]
push 0
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
jne 0x10025e77
mov ecx, dword [esp + 0x28]
call fcn.10025540
mov ecx, dword [esp + 0x28]
xor eax, eax
push 0
mov edx, 0x20000013
cmp dword [ecx + 0x30], eax
mov dword [esp + 0x84], 0
sete al
mov dword [esp + 0x20], eax
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0x88]
push eax
push ecx
mov ecx, dword [ecx + 0x20]
call fcn.1002a7c0
mov eax, dword [esp + 0x90]
add esp, 0x10
cmp eax, 0xc8
je 0x10025e2e
cmp eax, 0xce
je 0x10025e2e
mov eax, dword [esp + 0x28]
mov dword [esp + 0x1c], 0
add eax, 4
jmp 0x10025e74
lea eax, [esp + 0x74]
mov dword [esp + 0x74], 0
push eax
lea eax, [esp + 0x7c]
mov edx, 0x20000005
push eax
lea eax, [esp + 0x84]
push eax
push ecx
mov ecx, dword [esp + 0x38]
mov ecx, dword [ecx + 0x20]
call fcn.1002a7c0
add esp, 0x10
test eax, eax
je 0x10025e68
mov eax, dword [esp + 0x7c]
mov dword [edi + 0x24], eax
mov eax, dword [esp + 0x28]
add eax, 4
jmp 0x10025e74
lea eax, [edi + 0x3c]
push eax
call ebx
lea esi, [edi + 0x3c]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 0x18]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x14]
push esi
mov dword [edi + 4], eax
call ebx
mov eax, dword [esp + 0x28]
test eax, eax
je 0x10025ece
mov dword [esp + 0x14], eax
cmp dword [esp + 0x14], 0
je 0x10025ec6
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x10025ec6
mov ecx, dword [esp + 0x14]
call fcn.10025570
mov ecx, dword [esp + 0x14]
call fcn.100253d0
mov dword [esp + 0x28], 0
cmp dword [esp + 0x98], 8
jb 0x10025ee7
push dword [esp + 0x84]
call fcn.1006269c
add esp, 4
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18b0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1898]
xor ecx, esp
call fcn.100626a1
mov esp, ebp
pop ebp
ret 0x10