Function at 0x1027b91
Capabilities:
Resolve dns

Disassembly:
mov eax, 0x109707d
call fcn.01077478
mov eax, 0x14dc
call fcn.01077530
mov eax, dword [0x10a64dc]
push ebx
mov dword [ebp - 0x10], eax
mov eax, dword [0x10a6184]
mov dword [ebp - 0x1458], ecx
mov ecx, dword [ebp + 8]
mov ebx, 0x10a6184
cmp eax, ebx
push esi
push edi
mov dword [ebp - 0x1428], ecx
je 0x1027bef
test byte [eax + 0x1c], 1
je 0x1027bef
cmp byte [eax + 0x19], 5
jb 0x1027bef
push ecx
mov esi, 0x1004db0
push esi
push 0x15
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01009b3f
jmp 0x1027bf4
mov esi, 0x1004db0
xor eax, eax
mov dword [ebp - 0x143c], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x1438], eax
mov dword [ebp - 0x1434], eax
mov dword [ebp - 0x1454], eax
mov dword [ebp - 0x1420], eax
mov dword [ebp - 0x1430], eax
mov dword [ebp - 0x144c], eax
mov edi, 0x10a8b2c
push edi
lea ecx, [ebp - 0x142c]
call fcn.01020db5
push edi
lea ecx, [ebp - 0x1444]
call fcn.01020db5
lea eax, [ebp - 0x1470]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
xor eax, eax
mov dword [ebp - 0x1448], eax
mov dword [ebp - 0x1450], eax
mov dword [ebp - 0x1440], eax
mov dword [ebp - 0x1460], eax
mov eax, dword [ebp - 0x1458]
inc dword [eax + 8]
mov byte [ebp - 4], 9
call fcn.0102925b
test eax, eax
je 0x1028df3
call fcn.0102903b
test eax, eax
je 0x1028df3
mov edi, 0x10a7f9c
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x10a7fc8], 1
jne 0x1027cfc
mov eax, dword [0x10a6184]
cmp eax, ebx
je 0x1027cc6
test byte [eax + 0x1c], 8
je 0x1027cc6
cmp byte [eax + 0x19], 4
jb 0x1027cc6
push esi
push 0x18
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01009ab7
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x10a6184]
cmp eax, ebx
mov edi, 0x8007045b
je 0x1028e3f
test byte [eax + 0x1c], 1
je 0x1028e3f
cmp byte [eax + 0x19], 2
jb 0x1028e3f
push edi
push esi
push 0x19
jmp 0x1028e34
mov edi, dword [ebp - 0x1428]
mov eax, dword [edi]
lea ecx, [ebp - 0x1454]
push ecx
push 0x1008458
push edi
call dword [eax]
test eax, eax
mov dword [ebp - 0x1424], eax
jge 0x1027d4a
mov eax, dword [0x10a6184]
cmp eax, ebx
je 0x1028c2a
test byte [eax + 0x1c], 2
je 0x1028c2a
cmp byte [eax + 0x19], 2
jb 0x1028c2a
push dword [ebp - 0x1424]
push edi
push esi
push 0x1a
jmp 0x1027d97
mov eax, dword [ebp - 0x1454]
mov ecx, dword [eax]
lea edx, [ebp - 0x1430]
push edx
push eax
call dword [ecx + 0xc]
mov dword [ebp - 0x1424], eax
test eax, eax
mov eax, dword [0x10a6184]
jge 0x1027da7
cmp eax, ebx
je 0x1028c2a
test byte [eax + 0x1c], 2
je 0x1028c2a
cmp byte [eax + 0x19], 2
jb 0x1028c2a
push dword [ebp - 0x1424]
push dword [ebp - 0x1428]
push esi
push 0x1b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100ef6e
jmp 0x1028c2a
cmp eax, ebx
je 0x1027dd2
test byte [eax + 0x1c], 2
je 0x1027dd2
cmp byte [eax + 0x19], 4
jb 0x1027dd2
push dword [ebp - 0x1424]
push dword [ebp - 0x1430]
push edi
push esi
push 0x1c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102eef0
xor eax, eax
push 0xf
pop ecx
lea edi, [ebp - 0x14e8]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x210]
mov dword [ebp - 0x14d8], eax
xor eax, eax
cmp dword [ebp - 0x1430], eax
mov dword [ebp - 0x14e8], 0x3c
mov dword [ebp - 0x14d4], 0x100
je 0x1027e15
push dword [ebp - 0x1430]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
lea ecx, [ebp - 0x14e8]
push ecx
push 0x10000000
push eax
push dword [ebp - 0x1430]
call dword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
test eax, eax
jne 0x1027e7a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x10a6184]
cmp ecx, ebx
je 0x1028c2a
test byte [ecx + 0x1c], 2
je 0x1028c2a
cmp byte [ecx + 0x19], 2
jb 0x1028c2a
push eax
push dword [ebp - 0x1428]
push dword [ebp - 0x1430]
push esi
push 0x1d
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0107ebd6
jmp 0x1028c2a
cmp dword [ebp - 0x14dc], 1
mov eax, dword [0x10a6184]
je 0x1027ecf
cmp eax, ebx
mov ecx, 0x80070057
mov dword [ebp - 0x1424], ecx
je 0x1028c2a
test byte [eax + 0x1c], 2
je 0x1028c2a
cmp byte [eax + 0x19], 2
jb 0x1028c2a
push ecx
push dword [ebp - 0x1428]
push dword [ebp - 0x1430]
push esi
push 0x1e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0107ebd6
jmp 0x1028c2a
cmp eax, ebx
je 0x1027ef4
test byte [eax + 0x1c], 8
je 0x1027ef4
cmp byte [eax + 0x19], 4
jb 0x1027ef4
lea ecx, [ebp - 0x210]
push ecx
push esi
push 0x1f
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01009add
lea eax, [ebp - 0x1460]
push eax
push 0
push 0
lea eax, [ebp - 0x210]
push eax
call sub.WS2_32.dll_GetAddrInfoW
mov ebx, eax
test ebx, ebx
je 0x1027fc6
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push eax
mov dword [ebp - 0x1424], eax
call fcn.01009676
mov edi, eax
test edi, edi
mov eax, dword [0x10a6184]
mov ebx, 0x10a6184
jl 0x1027f7c
cmp eax, ebx
mov edi, 0x80004005
je 0x10280a0
test byte [eax + 0x1c], 2
je 0x1027f7c
cmp byte [eax + 0x19], 2
jb 0x1027f7c
push dword [ebp - 0x1424]
lea ecx, [ebp - 0x210]
push dword [ebp - 0x1428]
push dword [ebp - 0x1430]
push ecx
push esi
push 0x20
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01078077
mov eax, dword [0x10a6184]
cmp eax, ebx
je 0x10280a5
test byte [eax + 0x1c], 8
je 0x10280a5
movzx ecx, byte [eax + 0x19]
xor edx, edx
test edi, edi
setl dl
dec edx
and edx, 3
inc edx
inc edx
cmp ecx, edx
jl 0x10280a5
push dword [ebp - 0x1424]
push edi
push esi
push 0x21
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100ef6e
mov eax, dword [0x10a6184]
jmp 0x10280a5
lea ecx, [ebp - 0x141c]
call fcn.0102ed53
mov edi, dword [ebp - 0x1460]
test edi, edi
mov dword [ebp - 0x145c], 6
je 0x102800c
lea eax, [ebp - 0x145c]
push eax
lea eax, [ebp - 0x141c]
push eax
push dword [edi + 0x18]
call fcn.010251df
mov ebx, eax
test ebx, ebx
je 0x1028008
mov edi, dword [edi + 0x1c]
test edi, edi
jne 0x1027fe5
test edi, edi
jne 0x1028057
mov eax, dword [0x10a6184]
cmp eax, 0x10a6184
je 0x1028c2a
test byte [eax + 0x1c], 2
je 0x1028c2a
cmp byte [eax + 0x19], 2
jb 0x1028c2a
push ebx
push dword [ebp - 0x1428]
lea ecx, [ebp - 0x210]
push dword [ebp - 0x1430]
push ecx
push esi
push 0x22
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01078077
jmp 0x1028c2a
lea eax, [ebp - 0x142c]
push eax
lea ecx, [ebp - 0x141c]
call fcn.0102edbe
mov eax, dword [0x10a6184]
cmp eax, 0x10a6184
je 0x10280a0
test byte [eax + 0x1c], 8
je 0x10280a0
cmp byte [eax + 0x19], 4
jb 0x10280a0
push dword [ebp - 0x1428]
push dword [ebp - 0x142c]
push esi
push 0x23
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102008d
mov eax, dword [0x10a6184]
mov ebx, 0x10a6184
mov ecx, dword [ebp - 0x1458]
mov ecx, dword [ecx + 4]
test ecx, ecx
jne 0x10280f4
cmp eax, ebx
mov ecx, 0x80070015
mov dword [ebp - 0x1424], ecx
je 0x1028c2a
test byte [eax + 0x1c], 2
je 0x1028c2a
cmp byte [eax + 0x19], 2
jb 0x1028c2a
push ecx
push dword [ebp - 0x142c]
push dword [ebp - 0x1428]
push dword [ebp - 0x1430]
push esi
push 0x24
jmp 0x1028206
mov eax, dword [ecx]
lea edx, [ebp - 0x1438]
push edx
push 0
push ecx
call dword [eax + 0x20]
test eax, eax
mov dword [ebp - 0x1424], eax
jge 0x102814e
mov eax, dword [0x10a6184]
cmp eax, ebx
je 0x1028c2a
test byte [eax + 0x1c], 2
je 0x1028c2a
cmp byte [eax + 0x19], 2
jb 0x1028c2a
push dword [ebp - 0x1424]
push dword [ebp - 0x142c]
push dword [ebp - 0x1428]
push dword [ebp - 0x1430]
push esi
push 0x25
jmp 0x1028206
push dword [ebp - 0x142c]
lea ecx, [ebp - 0x144c]
call fcn.01024bf0
lea eax, [ebp - 0x144c]
push eax
lea ecx, [ebp - 0x1470]
call fcn.01009f96
mov eax, dword [ebp - 0x1438]
mov ecx, dword [eax]
lea edx, [ebp - 0x143c]
push edx
lea edx, [ebp - 0x1470]
push edx
push eax
call dword [ecx + 0x1c]
mov ecx, eax
cmp ecx, 0x80070490
mov dword [ebp - 0x1424], ecx
jne 0x1028287
mov eax, dword [ebp - 0x1458]
mov eax, dword [eax + 4]
push dword [ebp - 0x144c]
mov ecx, dword [eax]
push eax
xor edi, edi
mov dword [ebp - 0x1448], 1
call dword [ecx + 0x24]
test eax, eax
mov dword [ebp - 0x1424], eax
jge 0x1028216
mov eax, dword [0x10a6184]
cmp eax, ebx
je 0x1028c2a
test byte [eax + 0x1c], 2
je 0x1028c2a
cmp byte [eax + 0x19], 2
jb 0x1028c2a
push dword [ebp - 0x1424]
push dword [ebp - 0x142c]
push dword [ebp - 0x1428]
push dword [ebp - 0x1430]
push esi
push 0x26
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102475f
jmp 0x1028c2a
mov eax, dword [ebp - 0x1438]
mov ecx, dword [eax]
lea edx, [ebp - 0x143c]
push edx
lea edx, [ebp - 0x1470]
push edx
push eax
call dword [ecx + 0x1c]
test eax, eax
mov dword [ebp - 0x1424], eax
jge 0x1028299
mov eax, dword [0x10a6184]
cmp eax, ebx
je 0x1028c2a
test byte [eax + 0x1c], 2
je 0x1028c2a
cmp byte [eax + 0x19], 2
jb 0x1028c2a
push dword [ebp - 0x1424]
push dword [ebp - 0x142c]
push dword [ebp - 0x1428]
push dword [ebp - 0x1430]
push dword [ebp - 0x1438]
push dword [ebp - 0x142c]
push esi
push 0x27
jmp 0x1028c1f
test ecx, ecx
jl 0x1028be8
xor edi, edi
inc edi
and dword [ebp - 0x1448], 0
mov eax, dword [ebp - 0x143c]
mov ecx, dword [eax]
lea edx, [ebp - 0x1434]
push edx
push eax
call dword [ecx + 0x28]
test eax, eax
mov dword [ebp - 0x1424], eax
jge 0x102830e
mov eax, dword [0x10a6184]
cmp eax, ebx
je 0x1028c2a
test byte [eax + 0x1c], 2
je 0x1028c2a
cmp byte [eax + 0x19], 2
jb 0x1028c2a
push dword [ebp - 0x1424]
push dword [ebp - 0x142c]
push dword [ebp - 0x1428]
push dword [ebp - 0x1430]
push dword [ebp - 0x1438]
push dword [ebp - 0x143c]
push esi
push 0x29
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0103af28
jmp 0x1028c2a
cmp edi, 1
jne 0x1028402
and dword [ebp - 0x1424], 0
push dword [0x10a6298]
lea ecx, [ebp - 0x1424]
mov byte [ebp - 4], 0xa
call fcn.01024bf0
lea eax, [ebp - 0x1424]
push eax
lea ecx, [ebp - 0x1470]
call fcn.01009f96
push 0
lea eax, [ebp - 0x143c]
push eax
call fcn.01009812
mov eax, dword [ebp - 0x1438]
mov ecx, dword [eax]
lea edx, [ebp - 0x143c]
push edx
lea edx, [ebp - 0x1470]
push edx
push eax
call dword [ecx + 0x1c]
test eax, eax
mov edi, dword [ebp - 0x1424]
jl 0x10283f3
mov eax, dword [ebp - 0x1434]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x2c]
mov ecx, eax
test ecx, ecx
mov dword [ebp - 0x1424], ecx
jge 0x10283f3
cmp ecx, 0x80070490
je 0x10283f3
cmp ecx, 0x80070002
je 0x10283f3
mov eax, dword [0x10a6184]
cmp eax, ebx
je 0x10283e3
test byte [eax + 0x1c], 2
je 0x10283e3
cmp byte [eax + 0x19], 2
jb 0x10283e3
push ecx
push dword [ebp - 0x142c]
push dword [ebp - 0x1428]
push dword [ebp - 0x1430]
push dword [ebp - 0x1438]
push dword [ebp - 0x1434]
push edi
push esi
push 0x2a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01024934
push edi
mov byte [ebp - 4], 9
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x1028c2a
push edi
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 9
call edi
jmp 0x1028408
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x1428]
mov ecx, dword [eax]
lea edx, [ebp - 0x1420]
push edx
push eax
call dword [ecx + 0x30]
test eax, eax
mov dword [ebp - 0x1424], eax
jl 0x1028ba5
cmp dword [ebp - 0x1420], 0
je 0x1028b9b
push dword [ebp - 0x1420]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x1028b9b
push dword [ebp - 0x1420]
lea ecx, [ebp - 0x1444]
call fcn.0100a804
push dword [ebp - 0x1420]
push dword [ebp - 0x142c]
push dword [ebp - 0x1438]
call fcn.01026f9a
mov ecx, eax
test ecx, ecx
mov dword [ebp - 0x1424], ecx
jge 0x10284c6
mov eax, dword [0x10a6184]
cmp eax, ebx
je 0x1028c2a
test byte [eax + 0x1c], 2
je 0x1028c2a
cmp byte [eax + 0x19], 2
jb 0x1028c2a
push ecx
push dword [ebp - 0x142c]
push dword [ebp - 0x1428]
push dword [ebp - 0x1430]
push dword [ebp - 0x1438]
push dword [ebp - 0x1420]
push esi
push 0x2c
jmp 0x1028c1f
cmp ecx, 1
jne 0x102855f
mov eax, dword [ebp - 0x143c]
mov ecx, dword [eax]
push 3
push eax
call dword [ecx + 0x24]
mov eax, dword [0x10a6184]
cmp eax, ebx
je 0x1028511
test byte [eax + 0x1c], 2
je 0x1028511
cmp byte [eax + 0x19], 4
jb 0x1028511
push dword [ebp - 0x142c]
push dword [ebp - 0x1420]
push esi
push 0x2d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100efa0
mov eax, dword [0x10a6184]
cmp eax, ebx
mov ecx, 0x80070057
mov dword [ebp - 0x1424], ecx
je 0x1028c2a
test byte [eax + 0x1c], 2
je 0x1028c2a
cmp byte [eax + 0x19], 2
jb 0x1028c2a
push ecx
push dword [ebp - 0x142c]
push dword [ebp - 0x1428]
push dword [ebp - 0x1430]
push dword [ebp - 0x1438]
push dword [ebp - 0x1420]
push esi
push 0x2e
jmp 0x1028c1f
mov eax, dword [0x10a6184]
cmp eax, ebx
je 0x102858e
test byte [eax + 0x1c], 2
je 0x102858e
cmp byte [eax + 0x19], 4
jb 0x102858e
push dword [ebp - 0x142c]
push dword [ebp - 0x1420]
push esi
push 0x2f
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100efa0
push 1
push 0
push dword [0x10a6264]
lea ebx, [ebp - 0x1420]
push dword [ebp - 0x1434]
lea esi, [ebp - 0x1424]
call fcn.01026d5e
push dword [ebp - 0x1420]
call edi
mov eax, dword [ebp - 0x1428]
and dword [ebp - 0x1420], 0
mov ecx, dword [eax]
mov edx, ebx
push edx
push eax
call dword [ecx + 0x5c]
push 1
push 0
push dword [0x10a6280]
mov dword [ebp - 0x1424], eax
push dword [ebp - 0x1434]
call fcn.01026d5e
push dword [ebp - 0x1420]
call edi
mov eax, dword [ebp - 0x1428]
mov edx, ebx
xor esi, esi
push edx
mov dword [ebp - 0x1420], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
cmp eax, esi
mov dword [ebp - 0x1424], eax
jl 0x1028645
cmp dword [ebp - 0x1420], esi
je 0x1028645
push dword [ebp - 0x1420]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
cmp eax, esi
jbe 0x1028645
push 1
push esi
push dword [0x10a626c]
lea esi, [ebp - 0x1424]
push dword [ebp - 0x1434]
call fcn.01026d5e
xor esi, esi
push dword [ebp - 0x1420]
call edi
mov eax, dword [ebp - 0x1428]
lea edx, [ebp - 0x1420]
push edx
mov dword [ebp - 0x1420], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x48]
push 1
push esi
push dword [0x10a6274]
lea ebx, [ebp - 0x1420]
push dword [ebp - 0x1434]
lea esi, [ebp - 0x1424]
mov dword [ebp - 0x1424], eax
call fcn.01026d5e
push dword [ebp - 0x1420]
call edi
mov eax, dword [ebp - 0x1428]
and dword [ebp - 0x1420], 0
mov ecx, dword [eax]
mov edx, ebx
push edx
push eax
call dword [ecx + 0x4c]
push 1
push 0
push dword [0x10a6278]
mov dword [ebp - 0x1424], eax
push dword [ebp - 0x1434]
call fcn.01026d5e
push dword [ebp - 0x1420]
call edi
mov eax, dword [ebp - 0x1428]
and dword [ebp - 0x1420], 0
mov ecx, dword [eax]
mov edx, ebx
push edx
push eax
call dword [ecx + 0x50]
push 1
push 0
push dword [0x10a627c]
mov dword [ebp - 0x1424], eax
push dword [ebp - 0x1434]
call fcn.01026d5e
push dword [ebp - 0x1420]
call edi
mov eax, dword [ebp - 0x1428]
and dword [ebp - 0x1420], 0
mov ecx, dword [eax]
mov edx, ebx
push edx
push eax
call dword [ecx + 0x3c]
push 1
push 0
push dword [0x10a6284]
mov dword [ebp - 0x1424], eax
push dword [ebp - 0x1434]
call fcn.01026d5e
push dword [ebp - 0x1420]
call edi
mov eax, dword [ebp - 0x1428]
and dword [ebp - 0x1420], 0
mov ecx, dword [eax]
mov edx, ebx
push edx
push eax
call dword [ecx + 0x54]
push 1
push 0
push dword [0x10a6288]
mov dword [ebp - 0x1424], eax
push dword [ebp - 0x1434]
call fcn.01026d5e
push dword [ebp - 0x1420]
call edi
and dword [ebp - 0x1420], 0
mov eax, dword [ebp - 0x1428]
mov ecx, dword [eax]
mov edx, ebx
push edx
push eax
call dword [ecx + 0x44]
push 1
push 0
push dword [0x10a628c]
mov dword [ebp - 0x1424], eax
push dword [ebp - 0x1434]
call fcn.01026d5e
push dword [ebp - 0x1420]
call edi
mov eax, dword [ebp - 0x1428]
and dword [ebp - 0x1420], 0
mov ecx, dword [eax]
mov edx, ebx
push edx
push eax
call dword [ecx + 0x40]
push 1
push 0
push dword [0x10a6268]
mov dword [ebp - 0x1424], eax
push dword [ebp - 0x1434]
call fcn.01026d5e
and dword [ebp - 0x1424], 0
mov dword [ebp - 0x1440], 0x1004e80
mov dword [ebp - 0x1448], 0x1004dc0
push dword [ebp - 0x1448]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push eax
lea ecx, [ebp - 0x145c]
call fcn.0100ec90
mov esi, dword [ebp - 0x145c]
test esi, esi
mov byte [ebp - 4], 0xb
je 0x102882e
push esi
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
jne 0x1028834
push esi
jmp 0x102896e
push dword [ebp - 0x1420]
call edi
mov eax, dword [ebp - 0x1428]
and dword [ebp - 0x1420], 0
mov ecx, dword [eax]
lea edx, [ebp - 0x1420]
push edx
push 0x18
push 0x30
push 0x30
push esi
push eax
call dword [ecx + 0x60]
push esi
mov ebx, eax
call edi
and dword [ebp - 0x145c], 0
test ebx, ebx
jl 0x102895d
xor ebx, ebx
cmp dword [ebp - 0x1420], ebx
je 0x102895f
push dword [ebp - 0x1420]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
cmp eax, ebx
je 0x102895d
xor eax, eax
cmp dword [ebp - 0x1420], ebx
mov ecx, 0x400
lea edi, [ebp - 0x1412]
mov word [ebp - 0x1414], bx
rep stosd dword es:[edi], eax
push 0xf
pop ecx
lea edi, [ebp - 0x14ac]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x410]
mov dword [ebp - 0x149c], eax
lea eax, [ebp - 0x1414]
mov dword [ebp - 0x14ac], 0x3c
mov dword [ebp - 0x1480], eax
mov dword [ebp - 0x147c], 0x801
mov dword [ebp - 0x1498], 0x100
jne 0x10288f6
xor eax, eax
jmp 0x1028902
push dword [ebp - 0x1420]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
lea ecx, [ebp - 0x14ac]
push ecx
push 0x10000000
push eax
push dword [ebp - 0x1420]
call dword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
test eax, eax
jne 0x1028927
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x102894a
cmp dword [ebp - 0x14a0], 1
jne 0x102894a
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.msvcrt.dll_wcscmp]
test eax, eax
pop ecx
pop ecx
je 0x102899e
push ebx
mov byte [ebp - 4], 9
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x1028974
xor ebx, ebx
push dword [ebp - 0x1420]
call edi
mov dword [ebp - 0x1420], ebx
push ebx
mov byte [ebp - 4], 9
call edi
add dword [ebp - 0x1424], 0x20
add dword [ebp - 0x1448], 0x20
add dword [ebp - 0x1440], 0xa
cmp dword [ebp - 0x1424], 0xc0
jb 0x10287fd
jmp 0x1028aa9
push 0x14
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, ebx
pop ecx
je 0x10289bb
mov ecx, eax
call fcn.010266d8
mov esi, eax
mov dword [ebp - 0x1450], esi
jmp 0x10289c3
mov dword [ebp - 0x1450], ebx
mov esi, ebx
cmp esi, ebx
je 0x1028a9d
lea eax, [ebp - 0x1420]
push eax
lea ecx, [esi + 4]
call fcn.010260b5
mov eax, 0x104
push eax
lea ebx, [esi + 8]
push eax
mov ecx, ebx
call fcn.0100a53f
push eax
call fcn.01024507
test eax, eax
jne 0x1028a94
cmp dword [ebp - 0x1440], eax
je 0x1028a94
push 0xffffffffffffffff
mov ecx, ebx
call fcn.0100a2eb
lea eax, [ebp - 0x142c]
lea edi, [esi + 0xc]
push eax
mov ecx, edi
call fcn.0100a6f4
push dword [ebp - 0x1440]
mov ecx, edi
call fcn.01027388
push 0x10050e8
mov ecx, ebx
call fcn.0100a88e
push edi
mov ecx, ebx
call fcn.0102736c
lea eax, [ebp - 0x142c]
lea ecx, [esi + 0x10]
push eax
call fcn.0100a6f4
push dword [ebp - 0x1434]
push esi
call fcn.01009812
push 0x10a7fb8
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push 0x10
push esi
push 0x1026a7d
call dword [sym.imp.KERNEL32.dll_QueueUserWorkItem]
test eax, eax
je 0x1028a81
and dword [ebp - 0x1450], 0
jmp 0x1028a9d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x10a7fb8
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
jmp 0x1028a9d
push 0
mov ecx, ebx
call fcn.01009eb8
push 0
mov byte [ebp - 4], 9
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push 0xc
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
xor ebx, ebx
cmp eax, ebx
pop ecx
je 0x1028ac8
mov ecx, eax
call fcn.01026707
mov edi, eax
mov dword [ebp - 0x1440], edi
jmp 0x1028ad0
mov dword [ebp - 0x1440], ebx
mov edi, ebx
cmp edi, ebx
je 0x1028b85
mov eax, 0x104
push eax
lea esi, [edi + 8]
push eax
mov ecx, esi
call fcn.0100a53f
push eax
call fcn.01024507
test eax, eax
mov ecx, esi
jne 0x1028b7f
push 0xffffffffffffffff
call fcn.0100a2eb
push 0x10050e4
mov ecx, esi
call fcn.0100a88e
mov eax, dword [ebp - 0x142c]
push dword [eax - 0xc]
mov ecx, esi
push eax
call fcn.0100a74b
push 0x10050d8
mov ecx, esi
call fcn.0100a88e
lea eax, [ebp - 0x142c]
lea ecx, [edi + 4]
push eax
call fcn.0100a6f4
lea eax, [ebp - 0x1430]
push eax
mov ecx, edi
call fcn.010260b5
mov esi, 0x10a7fb8
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp dword [edi], ebx
je 0x1028b70
push 0x10
push edi
push 0x1026bee
call dword [sym.imp.KERNEL32.dll_QueueUserWorkItem]
test eax, eax
je 0x1028b70
mov dword [ebp - 0x1440], ebx
jmp 0x1028b85
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
jmp 0x1028b85
push ebx
call fcn.01009eb8
mov dword [ebp - 0x1448], ebx
mov dword [ebp - 0x1424], ebx
mov esi, 0x1004db0
jmp 0x1028c2a
mov dword [ebp - 0x1424], 0x80070057
mov eax, dword [0x10a6184]
cmp eax, ebx
je 0x1028c2a
test byte [eax + 0x1c], 2
je 0x1028c2a
cmp byte [eax + 0x19], 2
jb 0x1028c2a
push dword [ebp - 0x1424]
push dword [ebp - 0x142c]
push dword [ebp - 0x1428]
push dword [ebp - 0x1430]
push dword [ebp - 0x1438]
push esi
push 0x2b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0105bc6a
jmp 0x1028c2a
mov eax, dword [0x10a6184]
cmp eax, ebx
je 0x1028c2a
test byte [eax + 0x1c], 2
je 0x1028c2a
cmp byte [eax + 0x19], 2
jb 0x1028c2a
push ecx
push dword [ebp - 0x142c]
push dword [ebp - 0x1428]
push dword [ebp - 0x1430]
push dword [ebp - 0x1438]
push dword [ebp - 0x142c]
push esi
push 0x28
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01024822
mov eax, dword [ebp - 0x142c]
cmp dword [eax - 0xc], 0
je 0x1028cb2
mov ecx, dword [ebp - 0x1444]
cmp dword [ecx - 0xc], 0
je 0x1028cb2
mov ebx, 0x10a629c
push eax
mov ecx, ebx
call fcn.010268b3
test eax, eax
jne 0x1028cb2
push dword [ebp - 0x1444]
mov edi, 0x10a62fc
mov ecx, edi
call fcn.010268b3
test eax, eax
jne 0x1028cb2
mov eax, dword [ebp - 0x1428]
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
lea eax, [ebp - 0x1428]
push eax
push dword [ebp - 0x142c]
mov ecx, ebx
call fcn.01027aca
push dword [ebp - 0x142c]
mov ecx, edi
push dword [ebp - 0x1444]
call fcn.01027b0f
push dword [ebp - 0x1444]
mov ecx, 0x10a62cc
push dword [ebp - 0x142c]
call fcn.01027b0f
push 0x10a7f9c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 0x1460], 0
je 0x1028cd2
push dword [ebp - 0x1460]
call dword [sym.imp.WS2_32.dll_FreeAddrInfoW]
cmp dword [ebp - 0x1448], 1
jne 0x1028cf0
mov eax, dword [ebp - 0x1458]
mov eax, dword [eax + 4]
push dword [ebp - 0x144c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
mov ecx, dword [ebp - 0x1450]
test ecx, ecx
je 0x1028d01
push 1
call fcn.010268e1
mov ecx, dword [ebp - 0x1440]
test ecx, ecx
je 0x1028d12
push 1
call fcn.01026907
mov eax, dword [0x10a6184]
cmp eax, 0x10a6184
je 0x1028d51
test byte [eax + 0x1c], 1
je 0x1028d51
movzx ecx, byte [eax + 0x19]
xor edx, edx
cmp dword [ebp - 0x1424], edx
setl dl
dec edx
and edx, 3
inc edx
inc edx
cmp ecx, edx
jl 0x1028d51
push dword [ebp - 0x1424]
push esi
push 0x30
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01009b3f
lea eax, [ebp - 0x1470]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [ebp - 0x1444]
add ecx, 0xfffffff0
call fcn.01009cd1
mov ecx, dword [ebp - 0x142c]
add ecx, 0xfffffff0
call fcn.01009cd1
push dword [ebp - 0x144c]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
push dword [ebp - 0x1430]
call esi
push dword [ebp - 0x1420]
call esi
mov eax, dword [ebp - 0x1454]
test eax, eax
mov byte [ebp - 4], 2
je 0x1028dac
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1434]
test eax, eax
mov byte [ebp - 4], 1
je 0x1028dc0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1438]
test eax, eax
mov byte [ebp - 4], 0
je 0x1028dd4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x143c]
or dword [ebp - 4], 0xffffffff
test eax, eax
je 0x1028de8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1424]
jmp 0x1028ed4
mov eax, dword [0x10a6184]
cmp eax, ebx
mov edi, 0x8000ffff
je 0x1028e3f
test byte [eax + 0x1c], 8
je 0x1028e20
cmp byte [eax + 0x19], 2
jb 0x1028e20
push esi
push 0x16
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01009ab7
mov eax, dword [0x10a6184]
cmp eax, ebx
je 0x1028e3f
test byte [eax + 0x1c], 1
je 0x1028e3f
cmp byte [eax + 0x19], 2
jb 0x1028e3f
push edi
push esi
push 0x17
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01009b3f
lea eax, [ebp - 0x1470]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [ebp - 0x1444]
add ecx, 0xfffffff0
call fcn.01009cd1
mov ecx, dword [ebp - 0x142c]
add ecx, 0xfffffff0
call fcn.01009cd1
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push 0
call esi
push dword [ebp - 0x1430]
call esi
push dword [ebp - 0x1420]
call esi
mov eax, dword [ebp - 0x1454]
test eax, eax
mov byte [ebp - 4], 2
je 0x1028e96
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1434]
test eax, eax
mov byte [ebp - 4], 1
je 0x1028eaa
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1438]
test eax, eax
mov byte [ebp - 4], 0
je 0x1028ebe
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x143c]
or dword [ebp - 4], 0xffffffff
test eax, eax
je 0x1028ed2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.01076f63
leave
ret 4