joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404a10
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x48
mov eax, dword [0x5de00c]
xor eax, esp
mov dword [esp + 0x44], eax
mov edx, dword [ebp + 8]
xorps xmm0, xmm0
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], ecx
mov ecx, edx
push esi
push edi
mov dword [esp + 0x14], eax
movaps xmmword [esp + 0x20], xmm0
lea esi, [ecx + 2]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404a51
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x28]
call fcn.00403d10
cmp dword [esp + 0x34], 8
lea esi, [esp + 0x20]
mov edi, dword [esp + 0x20]
mov edx, 0x811c9dc5
mov eax, dword [esp + 0x30]
cmovae esi, edi
xor ecx, ecx
add eax, eax
je 0x404aa5
mov edi, eax
nop dword [eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x404a90
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x20]
push edx
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00406250
mov esi, dword [eax + 4]
test esi, esi
jne 0x404ac7
mov eax, dword [esp + 0x10]
mov esi, dword [eax + 4]
mov eax, dword [esp + 0x34]
cmp eax, 8
jb 0x404b01
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x404af7
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x404af7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edi
call fcn.0052d747
add esp, 8
mov eax, dword [esp + 0x10]
cmp esi, dword [eax + 4]
je 0x404b3f
mov ecx, dword [esp + 0x14]
lea eax, [esi + 0x20]
cmp ecx, eax
je 0x404b27
cmp dword [eax + 0x14], 8
mov edx, dword [eax + 0x10]
jb 0x404b20
mov eax, dword [eax]
push edx
push eax
call fcn.004039f0
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0052d3c5
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esp + 0x4c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.0052d3c5
mov esp, ebp
pop ebp
ret 8
Function at 0x404b60
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x48
mov eax, dword [0x5de00c]
xor eax, esp
mov dword [esp + 0x44], eax
mov edx, dword [ebp + 8]
xorps xmm0, xmm0
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], ecx
mov ecx, edx
push esi
push edi
mov dword [esp + 0x14], eax
movaps xmmword [esp + 0x20], xmm0
lea esi, [ecx + 2]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404ba1
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x28]
call fcn.00403d10
cmp dword [esp + 0x34], 8
lea esi, [esp + 0x20]
mov edi, dword [esp + 0x20]
mov edx, 0x811c9dc5
mov eax, dword [esp + 0x30]
cmovae esi, edi
xor ecx, ecx
add eax, eax
je 0x404bf5
mov edi, eax
nop dword [eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x404be0
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x20]
push edx
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [ecx + 0x20]
call fcn.00406250
mov esi, dword [eax + 4]
test esi, esi
jne 0x404c1a
mov esi, dword [esp + 0x10]
mov esi, dword [esi + 0x24]
mov eax, dword [esp + 0x34]
cmp eax, 8
jb 0x404c54
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x404c4a
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x404c4a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edi
call fcn.0052d747
add esp, 8
mov eax, dword [esp + 0x10]
cmp esi, dword [eax + 0x24]
je 0x404c92
mov ecx, dword [esp + 0x14]
lea eax, [esi + 0x20]
cmp ecx, eax
je 0x404c7a
cmp dword [eax + 0x14], 8
mov edx, dword [eax + 0x10]
jb 0x404c73
mov eax, dword [eax]
push edx
push eax
call fcn.004039f0
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0052d3c5
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esp + 0x4c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.0052d3c5
mov esp, ebp
pop ebp
ret 8
Function at 0x405990
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59349d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x5de00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov edx, dword [ebp + 0xc]
mov ebx, edx
cmp dword [edx + 0x14], 8
mov eax, dword [edx + 0x10]
jb 0x4059cd
mov ebx, dword [edx]
xor ecx, ecx
mov edi, 0x811c9dc5
add eax, eax
je 0x4059f4
mov esi, eax
nop word [eax + eax]
movzx eax, byte [ecx + ebx]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, esi
jb 0x4059e0
mov esi, dword [ebp - 0x14]
push edi
push edx
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
call fcn.00406250
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x405a25
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [esi + 8], 0x4924924
jne 0x405a39
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [esi + 4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
push 0x38
mov dword [ebp - 0x24], 0
call fcn.0052d778
mov ebx, eax
add esp, 4
mov dword [ebp - 0x24], ebx
push dword [ebp + 0xc]
lea esi, [ebx + 8]
mov ecx, esi
mov dword [ebp - 0x18], esi
call fcn.004037a0
push dword [ebp + 0x10]
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.004037a0
mov esi, dword [ebp - 0x14]
mov dword [ebp - 4], 2
mov eax, dword [esi + 8]
inc eax
movss xmm3, dword [esi]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x5c7480]
mov eax, dword [esi + 0x1c]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x5c7480]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
comiss xmm2, xmm3
jbe 0x405b17
divss xmm0, xmm3
call fcn.00404380
call fcn.00580ee0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [esi + 0x1c]
cmp eax, ecx
jae 0x405afb
cmp eax, 0x200
jae 0x405af9
shl eax, 3
cmp eax, ecx
jae 0x405afb
mov eax, ecx
push eax
mov ecx, esi
call fcn.00405c90
push edi
lea eax, [ebx + 8]
mov ecx, esi
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00406250
mov edx, dword [eax]
jmp 0x405b1a
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 4]
inc dword [esi + 8]
mov dword [ebx + 4], eax
mov dword [ebx], edx
mov dword [eax], ebx
mov dword [edx + 4], ebx
mov ecx, dword [esi + 0xc]
mov dword [ebp + 0xc], eax
mov eax, dword [esi + 0x18]
and eax, edi
mov edi, dword [ebp - 0x28]
mov esi, dword [ecx + eax*8]
cmp esi, dword [edi]
jne 0x405b44
mov dword [ecx + eax*8], ebx
jmp 0x405b56
cmp esi, edx
jne 0x405b4d
mov dword [ecx + eax*8], ebx
jmp 0x405b5a
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x405b5a
mov dword [ecx + eax*8 + 4], ebx
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4234f0
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x5de00c]
xor eax, esp
mov dword [esp + 0x114], eax
push edi
mov edi, ecx
lea eax, [esp + 8]
push 0x110
push 0
push eax
mov dword [edi], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 4], 0x114
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 8], 6
jb 0x42356b
push str.Dwmapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi], eax
test eax, eax
je 0x42356b
push 0x5bdcdc
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.DwmEnableComposition
push dword [edi]
mov dword [edi + 4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [edi + 8], eax
mov ecx, dword [esp + 0x118]
mov eax, edi
pop edi
xor ecx, esp
call fcn.0052d3c5
add esp, 0x118
ret
Function at 0x441640
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x5de00c]
xor eax, esp
mov dword [esp + 0x114], eax
push esi
lea eax, [esp + 4]
mov dword [esp + 4], 0x114
push eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 8], 6
jb 0x4416ce
push edi
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x4416c0
push 0x5be114
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4416a0
push 0x1000000
push 0x5dc
push esi
call eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
mov eax, esi
pop esi
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.0052d3c5
add esp, 0x118
ret
push 0x5dc
push esi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
jmp 0x4416a7
push 0x5dc
push esi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov ecx, dword [esp + 0x118]
mov eax, esi
pop esi
xor ecx, esp
call fcn.0052d3c5
add esp, 0x118
ret

Function at 0x441730
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, dword [esp + 0x14]
push esi
push 0
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x441766
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x441782
push 0xffffffffffffffff
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
lea eax, [esp + 0x18]
push eax
push esi
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
neg eax
pop esi
sbb eax, eax
neg eax
ret 0x10
xor eax, eax
pop esi
ret 0x10
Function at 0x4429d0
Capabilities:
Create thread

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 0x596dc5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x10
push esi
push edi
mov eax, dword [0x5de00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x1c], eax
push dword [ebx + 0x10]
mov edi, dword [ebx + 0xc]
push edi
call fcn.00442590
test eax, eax
je 0x442a27
xor eax, eax
jmp 0x442ba5
push 0x7c
call fcn.0052d778
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [esi], 0
xor ecx, ecx
mov dword [esi + 4], 0
mov dword [esi + 8], 1
movups xmmword [esi + 0xc], xmm0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 7
mov word [esi + 0xc], cx
mov eax, dword [ebx + 0x1c]
mov dword [esi + 0x24], eax
movups xmmword [esi + 0x28], xmm0
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], 7
mov word [esi + 0x28], cx
mov eax, dword [ebx + 0x14]
mov edx, edi
mov byte [ebp - 4], 2
mov dword [esi + 0x40], eax
mov eax, dword [ebx + 0x18]
mov dword [esi + 0x44], eax
mov eax, dword [ebx + 0x24]
mov dword [esi + 0x58], eax
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x48], ecx
mov dword [esi + 0x4c], ecx
mov dword [esi + 0x50], ecx
mov dword [esi + 0x54], ecx
mov dword [esi + 0x5c], ecx
lea ecx, [esi + 0x64]
mov dword [esi + 0x60], eax
lea eax, [edx + 2]
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ebp - 0x14], eax
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x442ad0
sub edx, dword [ebp - 0x14]
sar edx, 1
push edx
push edi
call fcn.00403d10
mov edi, dword [ebx + 8]
mov byte [ebp - 4], 3
test edi, edi
je 0x442b10
mov edx, edi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x442af7
sub edx, ecx
lea ecx, [esi + 0xc]
sar edx, 1
push edx
push edi
call fcn.004039f0
mov edx, dword [ebx + 0x20]
test edx, edx
je 0x442b39
mov eax, edx
lea edi, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x442b20
sub eax, edi
lea ecx, [esi + 0x28]
sar eax, 1
push eax
push edx
call fcn.004039f0
push 0
push 1
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov dword [esi + 0x54], eax
test eax, eax
je 0x442b87
push 0xffffffffffffffff
push eax
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x14]
push eax
push 0
push esi
push 0x441790
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 0x50], eax
push 0
push 1
push dword [esi + 0x54]
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
add ecx, 4
push eax
mov dword [ebp - 0x18], esi
call fcn.00442940
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x20
Function at 0x442ec0
Capabilities:
Connect to http server
Create http request
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x596e0c
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5de00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [ebp - 4], 0
mov dword [esi], vtable.HttpControl.0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
cmp dword [0x5defa0], 0
je 0x443095
cmp dword [0x5defa4], 8
mov ebx, 0x5def90
mov eax, 0x5defd0
cmovae ebx, dword [0x5def90]
cmp dword [0x5defe4], 8
cmovae eax, dword [0x5defd0]
cmp dword [0x5e4618], 0
mov dword [ebp - 0x10], eax
jne 0x443095
push 0x24
call fcn.0052d778
mov edi, eax
add esp, 4
mov dword [ebp - 0x1c], edi
push 1
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.00446260
push 0x10000000
push 0
push 0
push 0
push dword [ebp - 0x10]
mov dword [edi], vtable.CINetMain.0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
call dword [sym.imp.WININET.dll_InternetOpenW]
push 4
lea ecx, [ebp - 0x14]
mov dword [edi + 0x1c], eax
push ecx
push 2
push eax
mov dword [ebp - 0x14], 0x3e8
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push 0x4475b0
push dword [edi + 0x1c]
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
push edi
push 0
push 3
push 0
push 0
push 0x1bb
push ebx
push dword [edi + 0x1c]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [edi + 0x20], eax
test eax, eax
jne 0x44308b
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp eax, 0x3e5
jne 0x44308b
nop dword [eax + eax]
movsd xmm0, qword [0x5de0c0]
call fcn.00580f50
mov ecx, dword [edi + 8]
mov edx, dword [edi + 4]
sub ecx, edx
sar ecx, 2
test ecx, ecx
je 0x443069
push eax
push dword [edx]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x44308b
call ebx
cmp eax, 0x3e5
je 0x443040
push 0
push dword [edi + 0x1c]
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x44308b
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [ebp - 4], 0
mov dword [0x5e4618], edi
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edi, 0x411
mov edx, str.Task_running.
cmp ax, di
mov ecx, str.ck8k0
cmovne ecx, edx
push ecx
push ecx
push 0
push 0
mov ecx, esi
call fcn.004f5960
mov dword [esi + 0x20], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x443950
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 8
push ebx
push edi
mov edi, ecx
push dword [edi]
call dword [sym.imp.IMM32.dll_ImmGetContext]
mov ebx, eax
push ebx
call dword [sym.imp.IMM32.dll_ImmGetOpenStatus]
neg eax
sbb eax, eax
neg eax
mov dword [edi + 0x1848], eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0xc]
push eax
push ebx
call dword [sym.imp.IMM32.dll_ImmGetConversionStatus]
mov ecx, dword [esp + 8]
mov eax, ecx
and eax, 0xb
cmp al, 0xb
jne 0x44399e
mov dword [edi + 0x184c], 2
jmp 0x4439ec
mov eax, ecx
and eax, 9
cmp al, 9
jne 0x4439b3
mov dword [edi + 0x184c], 1
jmp 0x4439ec
test cl, 8
je 0x4439c4
mov dword [edi + 0x184c], 3
jmp 0x4439ec
mov eax, ecx
and eax, 3
cmp al, 3
jne 0x4439d9
mov dword [edi + 0x184c], 4
jmp 0x4439ec
and cl, 0x10
movzx eax, cl
neg eax
sbb eax, eax
and eax, 5
mov dword [edi + 0x184c], eax
push 0x14
call dword [sym.imp.USER32.dll_GetKeyState]
and eax, 1
push 0x15
mov dword [edi + 0x1850], eax
call dword [sym.imp.USER32.dll_GetKeyState]
push ebx
push dword [edi]
and eax, 1
mov dword [edi + 0x1854], eax
call dword [sym.imp.IMM32.dll_ImmReleaseContext]
pop edi
pop ebx
add esp, 8
ret
Function at 0x4463d0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x597286
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x5de00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1c], esi
push 2
call fcn.00446260
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [esi], vtable.CRequest.0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 1
mov dword [esi + 0x18], 0
movups xmmword [esi + 0x1c], xmm0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0xf
mov byte [esi + 0x1c], 0
movups xmmword [esi + 0x34], xmm0
xor eax, eax
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 7
mov word [esi + 0x34], ax
mov ecx, dword [ebp + 0xc]
mov edx, ecx
mov byte [ebp - 4], 2
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], eax
movups xmmword [esi + 0x68], xmm0
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], eax
lea eax, [edx + 2]
mov dword [ebp - 0x14], eax
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x446481
sub edx, dword [ebp - 0x14]
sar edx, 1
push edx
push ecx
lea ecx, [esi + 0x68]
call fcn.00403d10
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [esi + 0x80], xmm0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 7
mov word [esi + 0x80], cx
movups xmmword [esi + 0x98], xmm0
xor eax, eax
mov dword [esi + 0xa8], ecx
mov dword [esi + 0xac], 7
mov word [esi + 0x98], ax
movups xmmword [esi + 0xb0], xmm0
mov dword [esi + 0xc0], eax
mov dword [esi + 0xc4], 7
mov word [esi + 0xb0], ax
mov dword [esi + 0xc8], eax
mov dword [esi + 0xcc], eax
mov dword [esi + 0xd0], eax
mov edi, dword [ebp + 0x14]
mov byte [ebp - 4], 7
mov dword [esi + 0xd4], eax
test edi, edi
je 0x44654e
mov edx, edi
lea ecx, [edx + 2]
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x446530
sub edx, ecx
lea ecx, [esi + 0x80]
sar edx, 1
push edx
push edi
call fcn.004039f0
jmp 0x446555
mov dword [esi + 0x64], 1
push esi
push 0x84800100
push 0
push 0x5bd430
push str.HTTP_1.0
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [esi + 0x18], eax
test eax, eax
jne 0x4465a3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x4465d5
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x4465a3
push 0xffffffffffffffff
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 4
push eax
lea eax, [ebp - 0x10]
push eax
push 0x1f
push dword [esi + 0x18]
call dword [sym.imp.WININET.dll_InternetQueryOptionW]
or dword [ebp - 0x10], 0xf100
lea eax, [ebp - 0x10]
push 4
push eax
push 0x1f
push dword [esi + 0x18]
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4465f0
Capabilities:
Create thread

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 0x5972bd
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x28
mov eax, dword [0x5de00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x4c], 0
mov eax, dword [ebx + 0x14]
mov edx, dword [ebx + 8]
mov edi, dword [ebx + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x38], eax
jne 0x4467b4
test edx, edx
je 0x44667a
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x30], eax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x446660
sub ecx, dword [ebp - 0x30]
sar ecx, 1
push ecx
push edx
lea ecx, [esi + 0x34]
call fcn.004039f0
test edi, edi
je 0x446722
mov ecx, edi
mov dword [ebp - 0x1c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x2c], xmm0
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4466a0
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x2c]
call fcn.00403d10
lea edx, [esi + 0x1c]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004cbc70
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
cmp ecx, 8
jb 0x44670e
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x446704
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x446704
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0052d747
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov edi, dword [ebp - 0x34]
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x5c], eax
test edi, edi
je 0x446750
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x446734
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [esi + 0x98]
call fcn.004039f0
mov edi, dword [ebp - 0x38]
test edi, edi
je 0x44677c
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x446760
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [esi + 0xb0]
call fcn.004039f0
lea eax, [ebp - 0x30]
mov dword [esi + 0x14], 1
push eax
push 0
push esi
push 0x4467e0
push 0
push 0
mov dword [esi + 0x54], 0
mov dword [ebp - 0x30], 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov dword [esi + 0x4c], eax
add esp, 0x18
mov eax, 1
jmp 0x4467b6
xor eax, eax
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.0052d3c5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x18