joyce8/EMBER2024-capa huggingface dataset:
Function at 0x461080
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
mov eax, 0x1264
call fcn.004ab980
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 0x4610bb
lea ebx, [eax + 4]
jmp 0x4610bd
xor ebx, ebx
lea esi, [esp + 0x24]
mov dword [esp + 0x24], 0
call fcn.00478290
push ebx
mov eax, esi
call fcn.00478370
test eax, eax
sete al
mov byte [esp + 0x1264], al
test al, al
jne 0x461127
mov eax, dword [esp + 0x24]
test eax, eax
je 0x46111f
push eax
mov esi, eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
and eax, 0xff
cmp eax, 0x80
jl 0x461112
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
or eax, 0xffffffff
jmp 0x46121b
test eax, eax
jne 0x46111f
mov esi, dword [esp + 0x24]
call fcn.0045f130
or eax, 0xffffffff
jmp 0x46121b
movzx esi, word [esp + 0x40]
xor edx, edx
cmp esi, 0x1bb
setne dl
push 0
push 0
push 0
push 0
push 0x4d1230
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 0x461170
lea edi, [esp + 0x24]
call fcn.0042f0e0
mov eax, 4
jmp 0x46121b
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 0x46115d
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x28]
call fcn.004314e0
mov eax, dword [eax]
test eax, eax
je 0x4611a9
add eax, 4
jmp 0x4611ab
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 0x46115d
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.00460b90
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.0042f0e0
mov eax, esi
mov ecx, dword [esp + 0x1270]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0049ca20
add esp, 0x1264
ret
Function at 0x461400
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 0x46144a
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 0x46144a
mov eax, 4
pop esi
pop ebx
add esp, 8
ret 4
cmp dword [edi + 4], 0
jne 0x461476
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 0x46143d
cmp dword [edi + 0xc], 0
lea eax, [edi + 0xc]
je 0x46149d
mov ecx, dword [edi + 4]
push 4
push eax
push 6
push ecx
call dword [sym.imp.WININET.dll_InternetSetOptionA]
test eax, eax
jne 0x46149d
or eax, 0xffffffff
pop esi
pop ebx
add esp, 8
ret 4
mov eax, dword [edi + 8]
test eax, eax
je 0x4614ab
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [edi + 0x14], 0
je 0x4614bd
mov esi, dword [edi + 0x18]
test esi, esi
je 0x4614bd
call fcn.0045f130
lea esi, [edi + 0x20]
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
call fcn.0044a660
lea edx, [esp + 0xc]
push edx
mov eax, ebx
mov dword [edi + 0x30], 0
call fcn.004314e0
mov eax, dword [eax]
test eax, eax
je 0x4614f1
add eax, 4
jmp 0x4614f3
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 0x4d1234
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 0x463200
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
jne 0x463210
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 0x463220
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 0x463250
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 0x4632ca
xor eax, eax
cmp ecx, ebp
je 0x4632b2
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 0x4632d8
cmp ecx, ebp
je 0x46336b
push ecx
jmp 0x463365
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 0x46333a
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
call fcn.00463250
mov ebx, eax
cmp ebx, ebp
jne 0x463388
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 0x463300
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x46334d
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.004630f0
mov esi, eax
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x46336b
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.0049ca20
add esp, 0x128
ret 4
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x463397
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x46336d
Function at 0x46a7c0
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 0x561880
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.004a00bc
add esp, 0x14
push 0x2001f
lea esi, [esp + 0x24]
call fcn.0045f770
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION
push closesocket
lea ecx, [esp + 0x18]
push ecx
mov edx, eax
call fcn.00455250
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], 0x2af8
cmp eax, ebx
je 0x46a87c
add eax, 4
jmp 0x46a87e
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 [0x56419c], ebx
jne 0x46a8e4
push 0xa
push ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
xor ecx, ecx
mov esi, eax
cmp esi, ebx
setge cl
mov dword [0x56419c], ecx
cmp esi, ebx
je 0x46a8e4
lea ecx, [esp + 0x20]
call fcn.00403870
lea edi, [esp + 0xc]
call fcn.004551d0
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x530]
xor ecx, esp
call fcn.0049ca20
add esp, 0x538
ret
mov esi, dword [0x566ab8]
call fcn.004658e0
push esi
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
call fcn.004659e0
call dword [sym.imp.ole32.dll_CoResumeClassObjects]
lea ecx, [esp + 0x20]
call fcn.00403870
lea edi, [esp + 0xc]
call fcn.004551d0
mov ecx, dword [esp + 0x53c]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0049ca20
add esp, 0x538
ret
Function at 0x46e380
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 0x46e3bb
mov ebp, esi
mov dword [esp + 0x28], ebp
cmp ebx, eax
jle 0x46e3c5
mov dword [esp + 0x2c], eax
mov ebx, eax
xor esi, esi
mov dword [esp + 0x1c], esi
test ebx, ebx
jle 0x46e4c5
mov dword [esp + 0x10], 1
jmp 0x46e3e0
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 0x46e4b1
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 0x46e40c
mov ecx, dword [esp + 0x38]
add dword [esp + 0x10], 2
inc esi
cmp esi, dword [esp + 0x2c]
mov dword [esp + 0x1c], esi
jl 0x46e3e0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret
Function at 0x46e4d0
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 0x46e502
mov ebp, eax
mov dword [esp + 0x18], ebp
cmp edi, ecx
jle 0x46e50c
mov dword [esp + 0x1c], ecx
mov edi, ecx
xor ecx, ecx
mov dword [esp + 0x24], ecx
test edi, edi
jle 0x46e598
jmp 0x46e524
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 0x46e58d
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 0x46e536
inc ecx
cmp ecx, dword [esp + 0x1c]
mov dword [esp + 0x24], ecx
jl 0x46e520
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
Function at 0x470360
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 0x470403
mov ebx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x11
call ebx
shr eax, 0xf
test al, 1
jne 0x470403
mov ecx, dword [edi + 4]
cmp ecx, 0x100
jne 0x4703b4
mov eax, dword [edi + 8]
cmp eax, 0xc
je 0x4703a5
lea edx, [eax - 0x20]
cmp edx, 8
ja 0x4703b4
push eax
call fcn.004720a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp ecx, 0x102
jne 0x470403
mov al, byte [edi + 8]
cmp al, 9
jne 0x4703e9
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.00471ef0
mov eax, 0xf4240
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp al, 0x12
je 0x470403
cmp al, 0x10
je 0x470403
movsx ecx, al
push ecx
call fcn.004720a0
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 0x470600
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 0x470643
mov edi, dword [ebp]
mov ebx, eax
jmp 0x470630
mov ecx, edi
lea eax, [esp + 0x20]
call fcn.0043cef0
add edi, 0x10
sub ebx, 1
jne 0x470630
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 0x4706db
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 0x47075d
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 0x470748
mov ecx, dword [eax + 4]
cmp ecx, dword [eax + 0xc]
jge 0x470748
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 0x470748
push 0x10
call edi
shr eax, 0xf
test al, 1
je 0x470748
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 0x4706f2
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret 4

Function at 0x472a30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0x10], 0
je 0x472a8a
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 0x472a64
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4744f0
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.00473360
cmp eax, 3
je 0x474611
mov eax, dword [edi + 8]
sub eax, dword [edi]
mov dword [esp + 0x10], eax
cmp ebp, 0xff000000
jae 0x4745d8
mov ecx, dword [edi + 4]
cmp ecx, dword [edi + 0xc]
mov dword [esp + 0xc], ecx
jge 0x474606
mov edx, dword [ebx + 4]
mov eax, dword [edi]
imul edx, ecx
mov esi, dword [ebx + 0x10]
add edx, eax
cmp byte [0x567ff0], 0
lea esi, [esi + edx*4]
je 0x474567
cmp dword [esp + 0x10], 0x10
jbe 0x474567
mov edx, dword [edi + 8]
sub edx, eax
push edx
push ebp
push esi
call fcn.00472a30
add esp, 0xc
jmp 0x4745c8
mov ebx, eax
cmp ebx, dword [edi + 8]
jge 0x4745c4
shr ebp, 0x18
mov edx, 0x100
sub edx, ebp
jmp 0x474580
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 0x474580
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 0x18]
inc ecx
cmp ecx, dword [edi + 0xc]
mov dword [esp + 0xc], ecx
jl 0x474535
jmp 0x474606
mov esi, dword [edi + 4]
cmp esi, dword [edi + 0xc]
jge 0x474606
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.0046c140
inc esi
add esp, 0xc
cmp esi, dword [edi + 0xc]
jl 0x4745e0
cmp byte [0x567ff0], 0
je 0x474611
emms
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 8
Function at 0x474900
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 0x474963
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 0x474913
pop ebp
pop ebx
xor eax, eax
pop edi
ret
Function at 0x4749f0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x3c
push ebx
push ebp
push esi
xor esi, esi
cmp dword [edi + 0x10], esi
jne 0x474a09
lea eax, [esi + 3]
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 4
mov eax, dword [esp + 0x4c]
push 0x4d0bb4
push eax
call fcn.0049e1d3
mov ebx, eax
add esp, 8
mov dword [esp + 0xc], ebx
cmp ebx, esi
jne 0x474a33
mov eax, 2
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 4
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0xc]
lea ebp, [eax + eax*2]
pxor xmm0, xmm0
lea ebp, [ebp*8 + 0x1f]
movq qword [esp + 0x10], xmm0
pxor xmm0, xmm0
shr ebp, 5
movq qword [esp + 0x20], xmm0
mov dword [esp + 0x24], eax
movq qword [esp + 0x28], xmm0
add ebp, ebp
mov eax, 1
movq qword [esp + 0x30], xmm0
movq qword [esp + 0x38], xmm0
movq qword [esp + 0x40], xmm0
mov edx, 0x18
add ebp, ebp
mov word [esp + 0x2c], ax
mov dword [esp + 0x18], esi
mov word [esp + 0x1c], si
mov dword [esp + 0x28], ecx
mov word [esp + 0x2e], dx
mov dword [esp + 0x20], 0x28
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
xor eax, eax
lea ecx, [ecx]
mov dl, byte [eax + 0x4d1df8]
mov byte [esp + eax + 0x10], dl
inc eax
test dl, dl
jne 0x474ac0
imul ecx, ebp
push ebx
add ecx, 0x36
push 1
mov dword [esp + 0x1a], ecx
lea ecx, [esp + 0x18]
push 0xe
push ecx
mov dword [esp + 0x2a], 0x36
call fcn.0049e823
add esp, 0x10
cmp eax, 1
jne 0x474bc4
push ebx
push eax
lea edx, [esp + 0x28]
push 0x28
push edx
call fcn.0049e823
add esp, 0x10
cmp eax, 1
jne 0x474bc4
push ebp
call fcn.0049ccea
add esp, 4
mov dword [esp + 0x4c], eax
cmp eax, esi
jne 0x474b35
mov eax, 4
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 4
push ebp
push esi
push eax
call fcn.004a16b0
mov ebx, dword [edi + 0xc]
add esp, 0xc
sub ebx, 1
js 0x474bad
jmp 0x474b52
xor esi, esi
mov eax, dword [edi + 4]
mov ecx, dword [edi + 0x10]
imul eax, ebx
cmp dword [edi + 8], 0
lea eax, [ecx + eax*4]
jle 0x474b8f
mov ecx, dword [esp + 0x4c]
add ecx, 2
jmp 0x474b70
movzx edx, byte [eax]
mov byte [ecx - 2], dl
movzx edx, byte [eax + 1]
mov byte [ecx - 1], dl
movzx edx, byte [eax + 2]
mov byte [ecx], dl
inc esi
add ecx, 3
add eax, 4
cmp esi, dword [edi + 8]
jl 0x474b70
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x4c]
push eax
push 1
push ebp
push ecx
call fcn.0049e823
add esp, 0x10
cmp eax, 1
jne 0x474bc4
sub ebx, eax
jns 0x474b50
mov edx, dword [esp + 0x4c]
push edx
call fcn.0049cc0d
mov eax, dword [esp + 0x10]
push eax
call fcn.0049ea2b
add esp, 8
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3c
ret 4
Function at 0x4769b0
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 0x4769fd
add eax, 4
cmp eax, edi
je 0x4769fd
mov eax, dword [ebx + 0x29c]
cmp eax, edi
je 0x4769e1
add eax, 4
jmp 0x4769e3
xor eax, eax
mov edx, eax
call fcn.004544f0
cmp eax, edi
je 0x4769fd
mov ecx, eax
call fcn.004769b0
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x2a0]
cmp eax, edi
je 0x476a8e
add eax, 4
cmp eax, edi
je 0x476a8e
mov eax, dword [ebx + 0x2a0]
cmp eax, edi
je 0x476a21
lea ebp, [eax + 4]
jmp 0x476a23
xor ebp, ebp
push 4
push str.http
push ebp
call fcn.0049ca2f
add esp, 0xc
test eax, eax
jne 0x476a8e
push 0x566aa8
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov edi, 0x30
call fcn.0045eff0
mov esi, eax
test esi, esi
je 0x476a5f
push 0
mov eax, ebp
call fcn.004482f0
mov esi, eax
jmp 0x476a61
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 0x43cce0
call fcn.0049d7be
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 0x476af1
push eax
mov esi, eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
and eax, 0xff
cmp eax, 0x80
jl 0x476ae4
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 0x476af1
mov esi, dword [esp + 0x24]
call fcn.0045f130
pop edi
mov eax, ebx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x476b00
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x17
call dword [sym.imp.USER32.dll_GetSystemMetrics]
neg eax
sbb eax, eax
neg eax
inc eax
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
ja 0x476b26
or eax, 0xffffffff
ret 8
mov eax, dword [esi + 0x248]
cmp eax, 1
je 0x476b36
cmp eax, 2
jne 0x476b20
movsd xmm0, qword [0x4c88d0]
comisd xmm0, xmmword [esp + 4]
jbe 0x476b4e
mov eax, 0x12c
ret 8
mov ecx, esi
call fcn.004769b0
movss xmm0, dword [esi + 0x264]
cvtps2pd xmm1, xmm0
movsd xmm0, qword [esp + 4]
addsd xmm0, qword [0x4bab50]
mulsd xmm1, qword [0x4d3bd0]
sqrtsd xmm0, xmm0
divsd xmm1, xmm0
cvttsd2si eax, xmm1
test eax, eax
jne 0x476b8b
mov eax, 1
ret 8