joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43d960
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43d993
push esi
call fcn.00440a50
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43d98c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x43da19
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43da02
mov eax, dword [esi + 8]
test eax, eax
je 0x43d9b7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x43d9fe
cmp eax, 2
je 0x43da02
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43d9aa
cmp eax, 3
je 0x43d9dd
cmp eax, 1
jne 0x43d9aa
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x43d9aa
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43d9aa
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043da40
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43da28
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043da40
add esp, 4
pop esi
ret

Function at 0x45c978
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x45c9b0
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0045aa2f
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0045aa07
jmp 0x45c9bc
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x45e06f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x45e0b1
call fcn.00463b1d
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x45e0b1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x45e0a8
xor eax, eax
jmp 0x45e0b9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0045e0bf
pop edi
pop esi
pop ebx
ret 4

Function at 0x46404d
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x46407b
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x464099
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00463fb3
jmp 0x464099
mov eax, dword [esi + 0x14]
test eax, eax
je 0x464099
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00463fb3
test edi, edi
mov eax, edi
jne 0x464083
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4081d0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], esi
mov esi, 1
mov dword [ebp - 0x10], 0
push 1
push 0x4eeb30
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x40825c
mov eax, 0x51eb851f
mov ecx, esi
imul esi
sar edx, 5
mov eax, esi
sar ecx, 0x1f
sub edx, ecx
imul edi, edx, 0x64
sub eax, edi
jne 0x40825c
cmp esi, 0x15f90
jl 0x408253
cmp esi, 0x1d4c0
jge 0x408230
mov eax, 0x32
jmp 0x408255
cmp esi, 0x2bf20
jge 0x40823f
mov eax, 0x64
jmp 0x408255
mov eax, 0x1482
cmp esi, 0x57d78
jl 0x408255
mov eax, 0xfa
jmp 0x408255
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 4]
test eax, eax
je 0x408270
inc esi
cmp esi, 0x57e40
jl 0x4081e8
mov eax, dword [ebp - 4]
test eax, eax
je 0x40828a
mov dword [ebp - 0x14], 0x98
lea eax, [ebp - 0x14]
push eax
call fcn.00414060
add esp, 4
mov eax, dword [0x4eeb34]
test eax, eax
jne 0x4082b8
cmp dword [0x4eb2c0], 1
je 0x4082f8
xor edi, edi
xor esi, esi
call fcn.00408390
mov dword [0x4eeb34], 1
cmp dword [0x4eb2c0], 1
je 0x4082e3
mov dword [0x4eeb30], 0
push dword [0x4eeb2c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x408313
mov edx, dword [ebp + 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov dword [edx], eax
xor eax, eax
mov esp, ebp
pop ebp
ret
push esi
push 2
call fcn.00461100
push edi
push 0x16
call fcn.00461100
add esp, 0x10
jmp 0x4082b8
push 1
push 2
call fcn.00461100
mov esi, eax
push 1
push 0x16
call fcn.00461100
add esp, 0x10
mov edi, eax
jmp 0x4082a0
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x70
call fcn.004172d0
add esp, 0xc
test eax, eax
je 0x40833d
mov edx, dword [ebp + 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov dword [edx], 0
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
mov edx, 0x70
mov ecx, dword [edx + 0x4eb21c]
mov dword [eax + edx - 4], ecx
mov esi, dword [edx + 0x4eb218]
mov dword [eax + edx - 8], esi
mov edi, dword [edx + 0x4eb214]
mov dword [eax + edx - 0xc], edi
mov ecx, dword [edx + 0x4eb210]
mov dword [eax + edx - 0x10], ecx
sub edx, 0x10
jne 0x408345
push dword [ebp - 0x10]
push dword [0x4eeb2c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [ebp - 0x10]
jmp 0x4082d2

Function at 0x408390
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x4eeb20], 0
je 0x4083a0
mov esp, ebp
pop ebp
ret
mov dword [0x4eeb20], 1
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x4eeb2c], eax
cmp eax, 0xffffffff
jne 0x4083c6
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov esp, ebp
pop ebp
ret
push 0x4081b0
call fcn.004616d0
push 0x408170
call fcn.004616d0
add esp, 8
jmp 0x40839c
Function at 0x4083e0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], esi
mov esi, 1
mov dword [ebp - 0x10], 0
push 1
push 0x4eeb30
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x40846c
mov eax, 0x51eb851f
mov ecx, esi
imul esi
sar edx, 5
mov eax, esi
sar ecx, 0x1f
sub edx, ecx
imul edi, edx, 0x64
sub eax, edi
jne 0x40846c
cmp esi, 0x15f90
jl 0x408463
cmp esi, 0x1d4c0
jge 0x408440
mov eax, 0x32
jmp 0x408465
cmp esi, 0x2bf20
jge 0x40844f
mov eax, 0x64
jmp 0x408465
mov eax, 0x1482
cmp esi, 0x57d78
jl 0x408465
mov eax, 0xfa
jmp 0x408465
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 4]
test eax, eax
je 0x408480
inc esi
cmp esi, 0x57e40
jl 0x4083f8
mov eax, dword [ebp - 4]
test eax, eax
je 0x40849a
mov dword [ebp - 0x14], 0x98
lea eax, [ebp - 0x14]
push eax
call fcn.00414060
add esp, 4
mov eax, dword [0x4eeb34]
test eax, eax
jne 0x4084c8
cmp dword [0x4eb2c0], 1
je 0x408516
xor edi, edi
xor esi, esi
call fcn.00408390
mov dword [0x4eeb34], 1
cmp dword [0x4eb2c0], 1
je 0x408501
mov dword [0x4eeb30], 0
push dword [0x4eeb2c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
mov dword [ebp - 0x10], esi
test esi, esi
je 0x408551
mov eax, dword [ebp + 8]
mov dword [eax], esi
cmp dword [0x4eb2c0], 1
je 0x408534
xor eax, eax
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push esi
push 2
call fcn.00461100
push edi
push 0x16
call fcn.00461100
add esp, 0x10
jmp 0x4084c8
push 1
push 2
call fcn.00461100
mov esi, eax
push 1
push 0x16
call fcn.00461100
add esp, 0x10
mov edi, eax
jmp 0x4084b0
push 1
push 2
call fcn.00461100
push 1
push 0x16
mov dword [esi + 0x64], eax
call fcn.00461100
add esp, 0x10
mov dword [esi + 0x68], eax
jmp 0x4084f5
lea eax, [ebp - 0x10]
push eax
push 0
push 0x70
call fcn.004172d0
add esp, 0xc
test eax, eax
je 0x408578
mov edx, dword [ebp + 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov dword [edx], 0
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
mov edx, 0x70
mov ecx, dword [edx + 0x4eb21c]
mov dword [eax + edx - 4], ecx
mov esi, dword [edx + 0x4eb218]
mov dword [eax + edx - 8], esi
mov edi, dword [edx + 0x4eb214]
mov dword [eax + edx - 0xc], edi
mov ecx, dword [edx + 0x4eb210]
mov dword [eax + edx - 0x10], ecx
sub edx, 0x10
jne 0x408580
push dword [ebp - 0x10]
push dword [0x4eeb2c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov esi, dword [ebp - 0x10]
jmp 0x4084e7
Function at 0x414060
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
call fcn.0041cd30
mov ebx, dword [ebp + 8]
cmp dword [0x4f9460], 0
jne 0x414087
test ebx, ebx
je 0x41407c
mov eax, dword [ebx]
jmp 0x41407e
xor eax, eax
push eax
call fcn.00463e40
add esp, 4
test ebx, ebx
je 0x41408f
mov eax, dword [ebx]
jmp 0x414091
xor eax, eax
push eax
call fcn.004b8fd0
add esp, 4
jmp 0x414074

Function at 0x4146c0
Capabilities:
Check mutex on windows

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
Function at 0x4154f0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp eax, 0xfffffffa
mov dword [ebp - 0x10], ebx
mov ebx, ecx
lea ecx, [eax + 5]
jg 0x415505
mov ecx, eax
mov dword [ebp - 4], eax
mov eax, 0xfb93e673
mov dword [ebp - 8], esi
mov esi, edx
mul ecx
shr edx, 9
mov dword [ebp - 0xc], edi
imul edi, edx, 0x209
sub ecx, edi
mov edi, dword [0x4eb2c0]
cmp edi, 2
lea eax, [ecx + 0x69]
mov dword [esi], eax
jge 0x415561
lea ecx, [ecx*4 + 0x1a4]
lea edx, [ecx*8]
sub edx, ecx
mov ecx, dword [edx + 0x4eeda4]
test ecx, ecx
jne 0x4155ea
mov dword [edx + 0x4eeda4], 1
mov eax, dword [esi]
jmp 0x4155ea
lea eax, [ecx*4 + 0x1a4]
lea edx, [eax*8]
sub edx, eax
lea ecx, [edx + 0x4eeda4]
push ecx
call fcn.00408620
add esp, 4
test eax, eax
jne 0x4155e2
mov edx, dword [esi]
lea eax, [edx*4]
shl edx, 5
sub edx, eax
cmp dword [edx + 0x4eeda0], 0
je 0x41565a
mov dword [edx + 0x4eeda4], 0
mov edx, dword [esi]
push 0xffffffffffffffff
lea eax, [edx*4]
shl edx, 5
sub edx, eax
push dword [edx + 0x4eeda0]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esi]
lea eax, [edx*4]
shl edx, 5
sub edx, eax
lea ecx, [edx + 0x4eeda4]
push ecx
call fcn.00408620
add esp, 4
mov edi, dword [0x4eb2c0]
mov eax, dword [esi]
cmp edi, 1
je 0x41563b
mov edx, dword [ebp + 0x14]
lea ecx, [eax*4]
shl eax, 5
sub eax, ecx
mov ecx, dword [eax + 0x4eedb8]
xor eax, eax
mov dword [ebx], ecx
test ecx, ecx
je 0x415633
mov esi, dword [ebp - 4]
cmp esi, dword [ecx + 0x100]
jbe 0x415622
mov eax, ecx
mov ecx, dword [ecx + 0x28]
test ecx, ecx
mov dword [ebx], ecx
jne 0x41560f
mov dword [edx], eax
xor eax, eax
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov dword [edx], 0
jmp 0x415624
lea edx, [eax*4]
shl eax, 5
sub eax, edx
lea eax, [eax + 0x4eedb0]
push eax
call fcn.004085d0
add esp, 4
mov eax, dword [esi]
jmp 0x4155ef
xor eax, eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ecx, dword [esi]
lea edx, [ecx*4]
shl ecx, 5
sub ecx, edx
mov dword [ecx + 0x4eeda0], eax
mov dword [ecx + 0x4eeda4], 0
jmp 0x4155a9
Function at 0x417100
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
mov dword [ebp - 8], esi
mov dword [ebp - 4], ebx
mov esi, dword [eax + 0x7c]
test esi, esi
mov dword [ebp - 0xc], edi
je 0x4172bc
mov edx, dword [0x4eb2c0]
mov edi, dword [esi + 0x14]
lea eax, [edi*4]
shl edi, 5
sub edi, eax
cmp edx, 2
lea ebx, [edi + 0x4f3228]
jge 0x41714f
mov eax, dword [ebx]
test eax, eax
jne 0x417190
mov dword [edi + 0x4f3228], 1
jmp 0x417190
push ebx
call fcn.00408620
add esp, 4
test eax, eax
jne 0x41718a
cmp dword [edi + 0x4f3224], 0
je 0x41729c
mov dword [edi + 0x4f3228], 0
push 0xffffffffffffffff
push dword [edi + 0x4f3224]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
call fcn.00408620
add esp, 4
mov edx, dword [0x4eb2c0]
cmp edx, 1
je 0x417288
mov eax, dword [esi + 0x18]
dec eax
mov dword [esi + 0x18], eax
test eax, eax
jle 0x4171ff
mov eax, dword [0x4eb2c0]
cmp eax, 1
je 0x4171e4
cmp eax, 2
jge 0x4171bf
mov dword [edi + 0x4f3228], 0
jmp 0x4171d5
mov dword [edi + 0x4f3228], 0
push dword [edi + 0x4f3224]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
xor eax, eax
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push dword [edi + 0x4f3238]
push dword [edi + 0x4f3234]
call fcn.00408600
add esp, 8
mov eax, dword [0x4eb2c0]
jmp 0x4171ae
mov edx, dword [esi]
test edx, edx
je 0x41720b
mov eax, dword [esi + 4]
mov dword [edx + 4], eax
mov eax, dword [esi + 4]
test eax, eax
je 0x417216
mov dword [eax], edx
jmp 0x41721c
mov dword [edi + 0x4f3220], edx
mov eax, dword [ebp + 8]
mov dword [eax + 0x7c], 0
mov eax, dword [0x4eb2c0]
cmp eax, 1
je 0x41726d
cmp eax, 2
jge 0x417241
mov dword [edi + 0x4f3228], 0
jmp 0x417257
mov dword [edi + 0x4f3228], 0
push dword [edi + 0x4f3224]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [esi + 8]
call fcn.00417390
push esi
call fcn.00417390
add esp, 8
jmp 0x4171d5
push dword [edi + 0x4f3238]
push dword [edi + 0x4f3234]
call fcn.00408600
add esp, 8
mov eax, dword [0x4eb2c0]
jmp 0x417230
lea eax, [edi + 0x4f3234]
push eax
call fcn.004085d0
add esp, 4
jmp 0x417199
xor eax, eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [edi + 0x4f3224], eax
mov dword [edi + 0x4f3228], 0
jmp 0x417173
xor eax, eax
mov esi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x4185c0
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
Function at 0x445920
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0xc]

Function at 0x44592c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0xc], esi
mov esi, ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 8], ebx
mov ebx, edx
mov dword [ebp - 4], edi
mov edx, eax
mov dword [ecx], 0
cmp dword [0x4f9460], 0
je 0x445a01
cmp dword [ebp + 0x20], 2
je 0x445963
cmp dword [ebp + 0x20], 1
jne 0x445972
mov eax, 0xffffffff
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0x18], 0
je 0x445982
cmp dword [ebp + 0x20], 0xfffffffa
je 0x445ac6
cmp dword [ebp + 0x20], 0
je 0x445ad2
xor ecx, ecx
cmp dword [ebp + 0x18], 0
je 0x4459b5
cmp dword [ebp + 0x1c], 0
je 0x4459b5
push edi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], edx
call fcn.004b8d80
push edi
call fcn.004b8ef0
mov edx, dword [ebp - 0x10]
add esp, 8
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x445a01
push edi
push esi
push ebx
call fcn.004b8e20
add esp, 0xc
mov esi, eax
mov eax, dword [ebp + 0x14]
cmp esi, 0xffffffff
mov dword [eax], esi
je 0x445af6
push 0
push edi
push 2
push 0x4d5dec
call fcn.004b8de0
add esp, 0x10
mov edx, dword [ebp + 0x14]
mov eax, 1
mov byte [esi + ebx], 0xa
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 4]
inc dword [edx]
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x10], edx
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x24]
test ecx, ecx
mov edx, dword [ebp - 0x10]
mov dword [edi], 0
je 0x445a29
mov edi, dword [ecx + 0x140]
test edi, edi
jne 0x445a2e
mov edi, 0x20000
cmp esi, edi
jbe 0x445aa2
cmp dword [ebp + 0x20], 0
je 0x445aa2
test ecx, ecx
je 0x445a46
mov edi, dword [ecx + 0x140]
test edi, edi
jne 0x445a4b
mov edi, 0x20000
mov dword [ebp - 0x10], edx
push 0
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x18]
push eax
push edi
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x445a90
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x18]
add ebx, edx
sub esi, edx
add dword [ecx], edx
cmp dword [ebp + 0x24], 0
je 0x445a85
mov edx, dword [ebp + 0x24]
mov edx, dword [edx + 0x140]
test edx, edx
jne 0x445a8a
mov edx, 0x20000
cmp esi, edx
ja 0x445a90
mov edi, esi
test esi, esi
je 0x445ab9
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x18]
jne 0x445ab9
test eax, eax
jne 0x445a4e
jmp 0x445ab9
push 0
lea ecx, [ebp - 0x18]
push ecx
push esi
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x18]
mov dword [ecx], edx
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov edi, edx
mov ecx, 1
jmp 0x445994
mov dword [ebp - 0x10], edx
call fcn.004b9010
mov edx, dword [ebp - 0x10]
mov edi, eax
cmp dword [0x4f9460], 0
je 0x4459b9
mov ecx, 1
jmp 0x44598e
xor eax, eax
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x4b8f90
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 0xc], 0
mov dword [ebp + 8], 0x28f
mov esp, ebp
pop ebp
jmp fcn.0040ab30
Function at 0x4167b0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4ad67b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004a1b9c
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x416832
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0049f37d
mov eax, dword [eax]
push 0x4fa220
push eax
call fcn.004911a4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004a1e27
test bl, bl
je 0x416832
push 0x4fa220
lea ecx, [esp + 0xc]
call fcn.004a21b7
push 0x4fdd9c
lea ecx, [esp + 0xc]
call fcn.004a21b7
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x41686e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004a1e27
jmp 0x416939
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x4168f2
lea edx, [esp + 0x7c]
push 0x4fdd98
push edx
call fcn.004911a4
add esp, 8
test eax, eax
je 0x4168f2
lea eax, [esp + 0x7c]
push 0x4fdd94
push eax
call fcn.004911a4
add esp, 8
test eax, eax
je 0x4168f2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x416882
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004a1e27
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4
Function at 0x417130
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4ad6fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x50c194]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x417268
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x417196
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004a1e27
xor eax, eax
jmp 0x4172df
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004a1f64
push esi
lea ecx, [esp + 0xc]
call fcn.004a21f3
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x4fddd4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x4172bd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x4fddcc
push accept
call fcn.004626e0
test eax, eax
jne 0x4172bd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0x4fddb8
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.004626e0
test eax, eax
jne 0x4172bd
lea eax, [esp + 0x14]
push 0x4fddb0
push eax
call fcn.004921e0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41729c
lea ecx, [esp + 0x14]
push 0x4fddac
push ecx
call fcn.00492160
mov esi, eax
add esp, 8
test esi, esi
jne 0x41729c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41729f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004a1f14
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4171ae
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004a1e27
xor eax, eax
jmp 0x4172df
mov byte [esi], 0
push 0x4fdda8
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004a1e27
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x4276b0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x42771e
cmp si, 0x69
ja 0x42771e
add esi, 0xffd0
cmp si, 0x11
je 0x4276ee
push 0x11
call edi
test ax, ax
jge 0x4276ee
or esi, 0x2000
cmp si, 0x10
je 0x427703
push 0x10
call edi
test ax, ax
jge 0x427703
or esi, 0x4000
cmp si, 0x12
je 0x427718
push 0x12
call edi
test ax, ax
jge 0x427718
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x42772b
mov esi, 0xbd
jmp 0x4276df
cmp si, 0x6e
jne 0x427738
mov esi, 0xbe
jmp 0x4276df
cmp si, 0x6f
jne 0x4276d9
mov esi, 0xbf
jmp 0x4276df

Function at 0x428ea0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x51c980]
xor edx, edx
cmp eax, edx
jne 0x428ec6
xor eax, eax
mov byte [eax + 0x51c880], al
inc eax
cmp eax, 0x100
jl 0x428eae
mov dword [0x51c980], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x51c880
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x428f57
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x428f2a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x428ef8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x428fd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x429023
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x42900a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret