joyce8/EMBER2024-capa huggingface dataset:
Function at 0x460fb0
Capabilities:
Send data

Disassembly:
push ecx
mov eax, dword [edi]
push esi
test eax, eax
je 0x460fc0
mov esi, dword [eax]
shr esi, 8
dec esi
jmp 0x460fc2
xor esi, esi
test eax, eax
je 0x460fd9
movzx eax, byte [eax]
cmp eax, 1
jbe 0x460fd4
push edi
call fcn.0043c230
mov eax, dword [edi]
add eax, 4
mov edx, dword [esp + 0xc]
lea ecx, [esp + 4]
push ecx
push esi
push eax
mov eax, dword [edx + 0x48]
push eax
call dword [sym.imp.WININET.dll_InternetWriteFile]
mov eax, dword [esp + 4]
sub eax, esi
neg eax
sbb eax, eax
pop esi
pop ecx
ret 4

Function at 0x461000
Capabilities:
Query remote server for available data
Read data from internet
Receive data

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0xc
cmp dword [eax], 0
push ebx
mov ebx, dword [esp + 0x14]
push ebp
push esi
push edi
je 0x461024
mov esi, dword [eax + 4]
test esi, esi
je 0x461024
call fcn.0045f5a0
mov eax, dword [esp + 0x24]
xor edi, edi
xor ebp, ebp
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], edi
cmp ebx, edi
je 0x4610a8
lea ecx, [ecx]
push 0
push 0
lea eax, [esp + 0x28]
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
je 0x4610a8
mov eax, dword [esp + 0x20]
test eax, eax
jbe 0x4610a8
shr edi, 1
lea ecx, [edi + eax]
push ecx
lea esi, [esp + 0x14]
call fcn.0041f390
test eax, eax
je 0x46108e
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x10]
lea edx, [esp + 0x20]
push edx
push eax
lea ecx, [edi + ebp]
push ecx
push ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
mov edi, dword [esp + 0x14]
jmp 0x461040
mov esi, dword [esp + 0x10]
test esi, esi
je 0x46109b
call fcn.0045f5a0
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
shr edi, 1
je 0x4610e6
call fcn.0045f460
mov esi, eax
mov dword [esp + 0x14], esi
test esi, esi
je 0x4610fb
push edi
push ebp
mov ebx, edi
push esi
mov dword [esp + 0x1c], ebx
call fcn.004a89b0
add esp, 0xc
mov edi, dword [esp + 0x24]
lea eax, [esp + 0x10]
call fcn.0042e5d0
test ebx, ebx
je 0x4610e6
test esi, esi
je 0x4610e6
call fcn.0045f5a0
test ebp, ebp
je 0x4610f1
mov esi, ebp
call fcn.0045f5a0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
xor ebx, ebx
mov dword [esp + 0x10], ebx
jmp 0x4610cc

Function at 0x461110
Capabilities:
Download url
Receive data

Disassembly:
lea eax, [esi + 0x40e]
push eax
lea ecx, [esi + 0x30d]
push ecx
lea edx, [esi + 0x20c]
push edx
lea eax, [esi + 0x208]
push eax
push 0x208
push esi
call fcn.004a05a8
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
add esp, 0x18
test eax, eax
je 0x461149
add eax, 4
jmp 0x46114b
xor eax, eax
push 0
push 0
push esi
push eax
push 0
call sub.urlmon.dll_URLDownloadToFileA
neg eax
sbb eax, eax
and eax, 4
ret
Function at 0x4612f0
Capabilities:
Download url
Receive data

Disassembly:
sub esp, 0x61c
mov eax, dword [0x4e2204]
xor eax, esp
mov dword [esp + 0x618], eax
mov eax, dword [esp + 0x620]
mov eax, dword [eax]
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x461319
add eax, 4
jmp 0x46131b
xor eax, eax
push ebx
push ebx
push 0x104
lea ecx, [esp + 0x524]
push ecx
push eax
push ebx
call sub.urlmon.dll_URLDownloadToCacheFileA
test eax, eax
je 0x461350
mov eax, 4
pop ebx
mov ecx, dword [esp + 0x618]
xor ecx, esp
call fcn.0049ceb0
add esp, 0x61c
ret
lea edx, [esp + 0x412]
push edx
lea eax, [esp + 0x315]
push eax
lea ecx, [esp + 0x218]
push ecx
lea edx, [esp + 0x218]
push edx
lea eax, [esp + 0x528]
push eax
mov dword [esp + 0x528], ebx
mov byte [esp + 0x18], bl
mov byte [esp + 0x220], bl
mov byte [esp + 0x224], bl
mov byte [esp + 0x325], bl
mov byte [esp + 0x426], bl
call fcn.004a055c
add esp, 0x14
push esi
lea eax, [esp + 8]
call fcn.00401700
lea ecx, [esp + 4]
call fcn.00403870
mov ecx, dword [esp + 0x61c]
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0049ceb0
add esp, 0x61c
ret
Function at 0x4614f0
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
mov eax, 0x1264
call fcn.004abe10
mov eax, dword [0x4e2204]
xor eax, esp
mov dword [esp + 0x1260], eax
mov eax, dword [esp + 0x1268]
mov eax, dword [eax]
push ebx
push ebp
mov ebp, dword [esp + 0x1274]
push esi
push edi
mov dword [esp + 0x14], ecx
mov edi, edx
test eax, eax
je 0x46152b
lea ebx, [eax + 4]
jmp 0x46152d
xor ebx, ebx
lea esi, [esp + 0x24]
mov dword [esp + 0x24], 0
call fcn.004786f0
push ebx
mov eax, esi
call fcn.004787d0
test eax, eax
sete al
mov byte [esp + 0x1264], al
test al, al
jne 0x461597
mov eax, dword [esp + 0x24]
test eax, eax
je 0x46158f
push eax
mov esi, eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
and eax, 0xff
cmp eax, 0x80
jl 0x461582
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
or eax, 0xffffffff
jmp 0x46168b
test eax, eax
jne 0x46158f
mov esi, dword [esp + 0x24]
call fcn.0045f5a0
or eax, 0xffffffff
jmp 0x46168b
movzx esi, word [esp + 0x40]
xor edx, edx
cmp esi, 0x1bb
setne dl
push 0
push 0
push 0
push 0
push 0x4d1260
dec edx
and edx, 0x800000
mov dword [esp + 0x2c], edx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x4615e0
lea edi, [esp + 0x24]
call fcn.0042f360
mov eax, 4
jmp 0x46168b
push 0
push 0
push 3
push 0
push 0
push esi
lea ecx, [esp + 0x17c]
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov ebx, eax
test ebx, ebx
je 0x4615cd
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x28]
call fcn.00431770
mov eax, dword [eax]
test eax, eax
je 0x461619
add eax, 4
jmp 0x46161b
xor eax, eax
mov ecx, dword [esp + 0x18]
push 0
push ecx
push 0x4e3eb4
push 0
push 0
push eax
push edi
push ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
lea ecx, [esp + 0x20]
mov edi, eax
call fcn.00401420
test edi, edi
je 0x4615cd
mov eax, dword [ebp]
mov ecx, dword [ebp + 4]
push eax
push ecx
push 0
push 0
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
mov edx, dword [esp + 0x14]
mov esi, eax
neg esi
sbb esi, esi
push edx
neg esi
push edi
dec esi
call fcn.00461000
add esp, 8
push edi
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call edi
push ebx
call edi
mov eax, dword [esp + 0x1c]
push eax
call edi
lea edi, [esp + 0x24]
call fcn.0042f360
mov eax, esi
mov ecx, dword [esp + 0x1270]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0049ceb0
add esp, 0x1264
ret
Function at 0x461870
Capabilities:
Connect to http server
Create http request

Disassembly:
sub esp, 8
xor ecx, ecx
push ebx
mov ebx, dword [esp + 0x10]
mov eax, 0x1bb
cmp word [ebx + 0x1c], ax
push esi
setne cl
dec ecx
and ecx, 0x800000
cmp dword [edi], 0
mov dword [esp + 0x14], ecx
jne 0x4618ba
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [edi], eax
test eax, eax
jne 0x4618ba
mov eax, 4
pop esi
pop ebx
add esp, 8
ret 4
cmp dword [edi + 4], 0
jne 0x4618e6
movzx eax, word [ebx + 0x1c]
push 0
push 0
push 3
push 0
push 0
push eax
mov eax, dword [edi]
lea edx, [ebx + 0x140]
push edx
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [edi + 4], eax
test eax, eax
je 0x4618ad
cmp dword [edi + 0xc], 0
lea eax, [edi + 0xc]
je 0x46190d
mov ecx, dword [edi + 4]
push 4
push eax
push 6
push ecx
call dword [sym.imp.WININET.dll_InternetSetOptionA]
test eax, eax
jne 0x46190d
or eax, 0xffffffff
pop esi
pop ebx
add esp, 8
ret 4
mov eax, dword [edi + 8]
test eax, eax
je 0x46191b
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [edi + 0x14], 0
je 0x46192d
mov esi, dword [edi + 0x18]
test esi, esi
je 0x46192d
call fcn.0045f5a0
lea esi, [edi + 0x20]
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
call fcn.0044a980
lea edx, [esp + 0xc]
push edx
mov eax, ebx
mov dword [edi + 0x30], 0
call fcn.00431770
mov eax, dword [eax]
test eax, eax
je 0x461961
add eax, 4
jmp 0x461963
xor eax, eax
mov ecx, dword [esp + 0x14]
mov edx, dword [edi + 4]
push 0
push ecx
push 0x4e3eb4
push 0
push 0
push eax
push 0x4d1264
push edx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
lea ecx, [esp + 0xc]
mov dword [edi + 8], eax
call fcn.00401420
mov eax, dword [edi + 8]
neg eax
sbb eax, eax
and eax, 0xfffffffc
pop esi
add eax, 4
pop ebx
add esp, 8
ret 4
Function at 0x463670
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
jne 0x463680
lea eax, [ebp + 0xd]
pop ebp
ret 0xc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
push edi
xor edi, edi
mov esi, ebp
lea ecx, [ecx]
push esi
call ebx
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x463690
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x4636c0
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x128
mov eax, dword [0x4e2204]
xor eax, esp
mov dword [esp + 0x124], eax
mov eax, dword [ecx]
push ebx
mov ebx, dword [ecx + 4]
push ebp
push esi
push edi
mov edi, dword [esp + 0x13c]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x20]
push ecx
xor ebp, ebp
or ebx, 0x2001f
push ebx
push ebp
push edi
push eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x34], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ecx, dword [esp + 0x14]
mov esi, eax
cmp esi, ebp
jne 0x46373a
xor eax, eax
cmp ecx, ebp
je 0x463722
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x20]
and ebx, 0x300
mov esi, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ebx
cmp eax, ebp
je 0x463748
cmp ecx, ebp
je 0x4637db
push ecx
jmp 0x4637d5
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea edx, [esp + 0x28]
push edx
push ebp
push ebp
push ebp
lea eax, [esp + 0x2c]
push eax
lea edx, [esp + 0x44]
push edx
push ebp
push ecx
mov dword [esp + 0x3c], 0x100
call esi
test eax, eax
jne 0x4637aa
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
call fcn.004636c0
mov ebx, eax
cmp ebx, ebp
jne 0x4637f8
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x18]
push ebp
push ebp
push ebp
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x44]
push eax
push ebp
push ecx
mov dword [esp + 0x3c], 0x100
call esi
test eax, eax
je 0x463770
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x4637bd
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], ebp
mov esi, dword [esp + 0x24]
mov dword [esp + 0x18], ebp
call fcn.00463560
mov esi, eax
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x4637db
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x134]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0049ceb0
add esp, 0x128
ret 4
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x463807
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x4637dd
Function at 0x46ac20
Capabilities:
Set registry value

Disassembly:
sub esp, 0x538
mov eax, dword [0x4e2204]
xor eax, esp
mov dword [esp + 0x530], eax
mov eax, dword [esp + 8]
push ebx
push esi
xor eax, eax
push edi
mov dword [esp + 0x14], eax
lea eax, [esp + 0x42e]
push eax
xor ebx, ebx
lea ecx, [esp + 0x331]
push ecx
lea edx, [esp + 0x234]
push edx
lea eax, [esp + 0x234]
push eax
push 0x561e80
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x544], ebx
mov byte [esp + 0x34], bl
mov byte [esp + 0x23c], bl
mov byte [esp + 0x240], bl
mov byte [esp + 0x341], bl
mov byte [esp + 0x442], bl
call fcn.004a055c
add esp, 0x14
push 0x2001f
lea esi, [esp + 0x24]
call fcn.0045fbe0
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION
push closesocket
lea ecx, [esp + 0x18]
push ecx
mov edx, eax
call fcn.00455560
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], 0x2af8
cmp eax, ebx
je 0x46acdc
add eax, 4
jmp 0x46acde
xor eax, eax
push 4
lea edx, [esp + 0x20]
push edx
push 4
push ebx
push eax
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp dword [0x56479c], ebx
jne 0x46ad44
push 0xa
push ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
xor ecx, ecx
mov esi, eax
cmp esi, ebx
setge cl
mov dword [0x56479c], ecx
cmp esi, ebx
je 0x46ad44
lea ecx, [esp + 0x20]
call fcn.00403870
lea edi, [esp + 0xc]
call fcn.004554e0
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x530]
xor ecx, esp
call fcn.0049ceb0
add esp, 0x538
ret
mov esi, dword [0x5670a8]
call fcn.00465d50
push esi
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
call fcn.00465e50
call dword [sym.imp.ole32.dll_CoResumeClassObjects]
lea ecx, [esp + 0x20]
call fcn.00403870
lea edi, [esp + 0xc]
call fcn.004554e0
mov ecx, dword [esp + 0x53c]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0049ceb0
add esp, 0x538
ret
Function at 0x46e7e0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x20
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
push ebx
mov ebx, dword [eax + 0xc]
push ebp
mov ebp, dword [eax + 8]
mov eax, dword [ecx + 8]
cdq
sub eax, edx
push esi
mov esi, eax
push edi
mov edi, dword [ecx + 0xc]
mov eax, edi
cdq
sub eax, edx
sar esi, 1
sar eax, 1
cmp ebp, esi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebx
jle 0x46e81b
mov ebp, esi
mov dword [esp + 0x28], ebp
cmp ebx, eax
jle 0x46e825
mov dword [esp + 0x2c], eax
mov ebx, eax
xor esi, esi
mov dword [esp + 0x1c], esi
test ebx, ebx
jle 0x46e925
mov dword [esp + 0x10], 1
jmp 0x46e840
mov eax, dword [ecx + 4]
mov edi, dword [ecx + 0x10]
mov edx, eax
imul edx, esi
lea ebx, [edi + edx*8]
mov edx, dword [esp + 0x10]
imul edx, eax
lea edi, [edi + edx*4]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], 0
test ebp, ebp
jle 0x46e911
mov edx, dword [edi + 4]
mov edi, dword [edi]
mov ecx, dword [ebx]
mov esi, dword [ebx + 4]
mov eax, ecx
and eax, 0xff00ff
mov ebp, edi
and ebp, 0xff00ff
add eax, ebp
shr ecx, 8
mov ebp, esi
and ebp, 0xff00ff
add eax, ebp
and ecx, 0xff00ff
shr edi, 8
mov ebp, edx
and edi, 0xff00ff
add ecx, edi
mov edi, dword [esp + 0x14]
shr esi, 8
shr edx, 8
and esi, 0xff00ff
add ecx, esi
mov esi, dword [esp + 0x1c]
and ebp, 0xff00ff
add eax, ebp
and edx, 0xff00ff
add ecx, edx
mov edx, dword [esp + 0x34]
mov ebp, dword [edx + 4]
mov edx, dword [edx + 0x10]
imul ebp, esi
shl ecx, 6
shr eax, 2
xor eax, ecx
and eax, 0xff00ff
xor eax, ecx
mov ecx, dword [esp + 0x18]
add ebp, ecx
mov dword [edx + ebp*4], eax
mov ebp, dword [esp + 0x28]
inc ecx
add edi, 8
add ebx, 8
cmp ecx, ebp
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ecx
jl 0x46e86c
mov ecx, dword [esp + 0x38]
add dword [esp + 0x10], 2
inc esi
cmp esi, dword [esp + 0x2c]
mov dword [esp + 0x1c], esi
jl 0x46e840
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret
Function at 0x46e930
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x18]
push ebp
mov ebp, dword [ebx + 8]
push esi
mov esi, dword [esp + 0x24]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
cdq
sub eax, edx
push edi
mov edi, dword [ebx + 0xc]
sar eax, 1
cmp ebp, eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], edi
jle 0x46e962
mov ebp, eax
mov dword [esp + 0x18], ebp
cmp edi, ecx
jle 0x46e96c
mov dword [esp + 0x1c], ecx
mov edi, ecx
xor ecx, ecx
mov dword [esp + 0x24], ecx
test edi, edi
jle 0x46e9f8
jmp 0x46e984
mov esi, dword [esp + 0x28]
mov eax, dword [esi + 4]
mov edx, dword [esi + 0x10]
imul eax, ecx
xor edi, edi
lea esi, [edx + eax*4]
test ebp, ebp
jle 0x46e9ed
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, ecx
mov ebp, edx
shr ecx, 8
shr edx, 8
and eax, 0xff00ff
and edx, 0xff00ff
and ebp, 0xff00ff
add eax, ebp
mov ebp, dword [ebx + 0x10]
and ecx, 0xff00ff
add ecx, edx
mov edx, dword [ebx + 4]
shl ecx, 7
shr eax, 1
xor eax, ecx
and eax, 0xff00ff
xor eax, ecx
mov ecx, dword [esp + 0x24]
imul edx, ecx
add edx, edi
mov dword [ebp + edx*4], eax
mov ebp, dword [esp + 0x18]
inc edi
add esi, 8
cmp edi, ebp
jl 0x46e996
inc ecx
cmp ecx, dword [esp + 0x1c]
mov dword [esp + 0x24], ecx
jl 0x46e980
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
Function at 0x4707c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x1c], 0
mov esi, ecx
jne 0x470863
mov ebx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x11
call ebx
shr eax, 0xf
test al, 1
jne 0x470863
mov ecx, dword [edi + 4]
cmp ecx, 0x100
jne 0x470814
mov eax, dword [edi + 8]
cmp eax, 0xc
je 0x470805
lea edx, [eax - 0x20]
cmp edx, 8
ja 0x470814
push eax
call fcn.00472500
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp ecx, 0x102
jne 0x470863
mov al, byte [edi + 8]
cmp al, 9
jne 0x470849
push 0x10
call ebx
shr eax, 0xf
and al, 1
mov byte [esp + 0xc], al
mov eax, dword [esp + 0xc]
push eax
push esi
call fcn.00472350
mov eax, 0xf4240
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp al, 0x12
je 0x470863
cmp al, 0x10
je 0x470863
movsx ecx, al
push ecx
call fcn.00472500
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
mov eax, 0xf4241
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x470a60
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x24
xor eax, eax
push ebx
push ebp
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 4]
shr eax, 1
push edi
je 0x470aa3
mov edi, dword [ebp]
mov ebx, eax
jmp 0x470a90
mov ecx, edi
lea eax, [esp + 0x20]
call fcn.0043d200
add edi, 0x10
sub ebx, 1
jne 0x470a90
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x18], edx
mov edx, dword [esi]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], eax
mov eax, dword [edx + 0x14]
mov ecx, esi
call eax
mov edx, dword [eax + 0x5c]
mov edi, dword [sym.imp.USER32.dll_ClientToScreen]
lea ecx, [esp + 0x10]
push ecx
push edx
call edi
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
mov ecx, esi
call edx
mov edx, dword [eax + 0x5c]
lea ecx, [esp + 0x18]
push ecx
push edx
call edi
cmp byte [esi + 0xcd], 0
je 0x470b3b
mov edx, dword [esi]
or eax, 0xffffffff
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
movq xmm0, qword [esp + 0x20]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
sub esp, 0x10
mov eax, esp
movq qword [eax], xmm0
movq xmm0, qword [esp + 0x38]
movq qword [eax + 8], xmm0
mov eax, dword [edx + 0x10]
mov ecx, esi
call eax
xor eax, eax
pop edi
pop ebp
pop ebx
add esp, 0x24
ret 4
xor ebx, ebx
test dword [ebp + 4], 0xfffffffe
jbe 0x470bbd
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
xor eax, eax
mov dword [esp + 0x34], eax
mov ecx, dword [ebp]
mov edx, dword [eax + ecx]
add eax, ecx
cmp edx, dword [eax + 8]
jge 0x470ba8
mov ecx, dword [eax + 4]
cmp ecx, dword [eax + 0xc]
jge 0x470ba8
movq xmm0, qword [eax]
mov edx, dword [esi]
sub esp, 0x10
mov ecx, esp
movq qword [ecx], xmm0
movq xmm0, qword [eax + 8]
mov eax, dword [edx + 0x10]
movq qword [ecx + 8], xmm0
mov ecx, esi
call eax
push 0x11
call edi
shr eax, 0xf
test al, 1
je 0x470ba8
push 0x10
call edi
shr eax, 0xf
test al, 1
je 0x470ba8
push 0xfa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x34]
mov ecx, dword [ebp + 4]
inc ebx
add eax, 0x10
shr ecx, 1
mov dword [esp + 0x34], eax
cmp ebx, ecx
jb 0x470b52
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret 4

Function at 0x472e90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0x10], 0
je 0x472eea
push esi
lea eax, [ebp + 0xc]
push edi
mov dword [ebp - 4], eax
pxor mm7, mm7
movq mm5, qword [0x4c35f8]
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov esi, dword [ebp - 4]
movd mm1, dword [esi]
punpcklbw mm1, mm7
movq mm4, mm1
punpckhwd mm4, mm4
punpckhdq mm4, mm4
movd mm0, dword [edi]
punpcklbw mm0, mm7
movq mm2, mm4
pxor mm2, mm5
pmullw mm0, mm2
psrlw mm0, 8
paddw mm0, mm1
packuswb mm0, mm7
movd dword [edi], mm0
add edi, 4
dec dword [ebp + 0x10]
jg 0x472ec4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x474950
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0x18]
push esi
mov eax, edi
mov edx, ebx
call fcn.004737c0
cmp eax, 3
je 0x474a71
mov eax, dword [edi + 8]
sub eax, dword [edi]
mov dword [esp + 0x10], eax
cmp ebp, 0xff000000
jae 0x474a38
mov ecx, dword [edi + 4]
cmp ecx, dword [edi + 0xc]
mov dword [esp + 0xc], ecx
jge 0x474a66
mov edx, dword [ebx + 4]
mov eax, dword [edi]
imul edx, ecx
mov esi, dword [ebx + 0x10]
add edx, eax
cmp byte [0x5685f0], 0
lea esi, [esi + edx*4]
je 0x4749c7
cmp dword [esp + 0x10], 0x10
jbe 0x4749c7
mov edx, dword [edi + 8]
sub edx, eax
push edx
push ebp
push esi
call fcn.00472e90
add esp, 0xc
jmp 0x474a28
mov ebx, eax
cmp ebx, dword [edi + 8]
jge 0x474a24
shr ebp, 0x18
mov edx, 0x100
sub edx, ebp
jmp 0x4749e0
mov eax, dword [esi]
mov ecx, eax
and eax, 0xff00ff
shr ecx, 8
imul eax, edx
mov ebp, ecx
and ebp, 0xffff00ff
imul ebp, edx
and ecx, 0xff00ff
imul ecx, edx
shr eax, 8
xor eax, ebp
mov ebp, dword [esp + 0x1c]
and eax, 0xff00ff
xor eax, ecx
add eax, ebp
mov dword [esi], eax
inc ebx
add esi, 4
cmp ebx, dword [edi + 8]
jl 0x4749e0
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 0x18]
inc ecx
cmp ecx, dword [edi + 0xc]
mov dword [esp + 0xc], ecx
jl 0x474995
jmp 0x474a66
mov esi, dword [edi + 4]
cmp esi, dword [edi + 0xc]
jge 0x474a66
mov edx, dword [ebx + 4]
mov eax, dword [edi]
imul edx, esi
mov ecx, dword [edi + 8]
sub ecx, eax
push ecx
add edx, eax
mov eax, dword [ebx + 0x10]
lea ecx, [eax + edx*4]
push ebp
push ecx
call fcn.0046c5a0
inc esi
add esp, 0xc
cmp esi, dword [edi + 0xc]
jl 0x474a40
cmp byte [0x5685f0], 0
je 0x474a71
emms
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 8
Function at 0x474d60
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esi + 0xc]
imul eax, dword [esi + 8]
mov edx, dword [esi + 0x10]
push edi
xor edi, edi
test eax, eax
jbe 0x474dc3
push ebx
push ebp
mov eax, dword [edx]
mov ecx, eax
shr ecx, 0x18
inc ecx
mov ebx, eax
and ebx, 0xffff00ff
imul ebx, ecx
mov ebp, eax
and ebp, 0xff00
imul ebp, ecx
xor ebx, ebp
mov ebp, eax
and ebp, 0xff00ff
imul ebp, ecx
and ebx, 0xff0000
xor ebx, ebp
shr ebx, 8
and eax, 0xff000000
or ebx, eax
mov dword [edx], ebx
mov ecx, dword [esi + 0xc]
imul ecx, dword [esi + 8]
inc edi
add edx, 4
cmp edi, ecx
jb 0x474d73
pop ebp
pop ebx
xor eax, eax
pop edi
ret

Function at 0x476e10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x28
push ebx
push ebp
push esi
mov ebx, ecx
mov eax, dword [ebx + 0x29c]
push edi
xor edi, edi
cmp eax, edi
je 0x476e5d
add eax, 4
cmp eax, edi
je 0x476e5d
mov eax, dword [ebx + 0x29c]
cmp eax, edi
je 0x476e41
add eax, 4
jmp 0x476e43
xor eax, eax
mov edx, eax
call fcn.00454800
cmp eax, edi
je 0x476e5d
mov ecx, eax
call fcn.00476e10
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x2a0]
cmp eax, edi
je 0x476eee
add eax, 4
cmp eax, edi
je 0x476eee
mov eax, dword [ebx + 0x2a0]
cmp eax, edi
je 0x476e81
lea ebp, [eax + 4]
jmp 0x476e83
xor ebp, ebp
push 4
push str.http
push ebp
call fcn.0049cebf
add esp, 0xc
test eax, eax
jne 0x476eee
push 0x567098
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov edi, 0x30
call fcn.0045f460
mov esi, eax
test esi, esi
je 0x476ebf
push 0
mov eax, ebp
call fcn.00448610
mov esi, eax
jmp 0x476ec1
xor esi, esi
lea edi, [esi + 0x10]
push edi
mov dword [esi + 4], 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
push 0
push 0x43cff0
call fcn.0049dc4e
add esp, 0xc
push edi
mov dword [esi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor edi, edi
mov eax, dword [ebx]
mov edx, dword [eax + 0x58]
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebx
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], 0x8000003
mov dword [esp + 0x38], ebx
call edx
mov ebx, eax
mov eax, dword [esp + 0x24]
cmp eax, edi
je 0x476f51
push eax
mov esi, eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
and eax, 0xff
cmp eax, 0x80
jl 0x476f44
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, edi
jne 0x476f51
mov esi, dword [esp + 0x24]
call fcn.0045f5a0
pop edi
mov eax, ebx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret