joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4501d0
Capabilities:
Check mutex on windows
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x27c
mov eax, dword [0x6a8c7c]
xor eax, esp
mov dword [esp + 0x278], eax
push ebx
push esi
push edi
push str.624EDFCE_20F5_4355_AFB4_9F46931F0A34
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x45022c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x278]
xor ecx, esp
call fcn.005d584c
mov esp, ebp
pop ebp
ret 0x10
push ecx
call fcn.0046e3e0
mov ecx, eax
call fcn.0046e460
call fcn.0045b4a0
push 0x20a
mov edi, eax
lea eax, [esp + 0x74]
push 0
push eax
call fcn.005ed310
add esp, 0xc
lea eax, [esp + 0x70]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x685d44
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push 0
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [esp + 0x70]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x450294
sub eax, edx
lea ecx, [edi + 8]
sar eax, 1
push eax
lea eax, [esp + 0x74]
push eax
call fcn.0044e430
push ecx
push str.MainUI
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0x685028
mov dword [esp + 0x6c], vtable.nbase::SupportWeakCallback.0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
call fcn.004da3a0
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], vtable.CMarchApp.0
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x20], vtable.CMarchApp.1.0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x28], 1
mov byte [esp + 0x24], 1
mov dword [esp + 0x38], 0
call dword [eax + 4]
lea ecx, [esp + 0x10]
call fcn.00450160
call fcn.0045b4a0
mov ebx, eax
mov ecx, ebx
call fcn.0045c110
mov eax, dword [ebx + 4]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x45035d
push eax
call edi
mov dword [ebx + 4], 0
call fcn.0046e3e0
test esi, esi
je 0x450369
push esi
call edi
mov ecx, dword [esp + 0x284]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005d584c
mov esp, ebp
pop ebp
ret 0x10
Function at 0x462260
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x619080
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x6a8c7c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esi + 0x3d4]
push eax
lea ecx, [ebp - 0x50]
call fcn.004565b0
mov dword [ebp - 4], 0
cmp dword [esi + 0x3b0], 1
je 0x4622b1
xor esi, esi
jmp 0x462398
xor eax, eax
mov dword [ebp - 0x18], eax
mov word [ebp - 0x14], ax
call fcn.0046e3e0
add eax, 0x28
cmp dword [eax + 0x14], 8
jb 0x4622ca
mov eax, dword [eax]
push 2
push eax
lea eax, [ebp - 0x18]
push 3
push eax
call fcn.005f6baf
add esp, 0x10
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
push eax
push 0
push 0
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
call fcn.005d68b0
mov edx, dword [esi + 0x3ac]
mov ecx, dword [esi + 0x3a8]
movsd qword [ebp - 0x58], xmm0
call fcn.005d68b0
mulsd xmm0, qword [0x68d538]
comisd xmm0, xmmword [ebp - 0x58]
jbe 0x46232c
mov esi, 0x64
jmp 0x462398
call fcn.0046e3e0
add eax, 0x28
lea ecx, [ebp - 0x38]
push eax
call fcn.004565b0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x38]
cmp dword [ebp - 0x24], 8
lea ecx, [ebp - 0x50]
cmovae edx, dword [ebp - 0x38]
cmp dword [ebp - 0x3c], 8
cmovae ecx, dword [ebp - 0x50]
push ecx
call fcn.0046c070
mov edx, dword [ebp - 0x24]
add esp, 4
mov esi, eax
cmp edx, 8
jb 0x462398
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46238e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4623ea
push edx
push ecx
call fcn.005d588d
add esp, 8
mov edx, dword [ebp - 0x3c]
cmp edx, 8
jb 0x4623ce
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4623c4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4623ef
push edx
push ecx
call fcn.005d588d
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005d584c
mov esp, ebp
pop ebp
ret
call fcn.005f564e
call fcn.005f564e
int3
Function at 0x4d11d0
Capabilities:
Create process on windows
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61feb8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x6a8c7c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 0
push 0x68bce8
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, eax
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
test esi, esi
je 0x4d1345
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.004b5010
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push esi
cmovae eax, dword [ebp - 0x28]
push eax
push 0x68bce8
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x4d1345
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 2], 0
jne 0x4d12be
lea eax, [ecx - 1]
push eax
push 0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.0049c5e0
push eax
lea ecx, [ebp - 0x28]
call fcn.00457dd0
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x4d12be
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4d12b4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d13c3
push edx
push ecx
call fcn.005d588d
add esp, 8
push str.microsoft_sharedinkTabTip.exe
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
call fcn.00469e80
mov esi, eax
add esp, 4
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x4d1305
mov ecx, eax
call fcn.0044e3d0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x4d133f
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4d1335
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d13c8
push edx
push ecx
call fcn.005d588d
add esp, 8
cmp dword [ebp - 0x18], 0
jne 0x4d1354
push 0x3e
push str.C:Program_FilesCommon_Filesmicrosoft_sharedinkTabTip.exe
lea ecx, [ebp - 0x28]
call fcn.0044e430
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0xa
cmovae eax, dword [ebp - 0x28]
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4d13a9
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4d139f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d13cd
push edx
push ecx
call fcn.005d588d
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005d584c
mov esp, ebp
pop ebp
ret
call fcn.005f564e
call fcn.005f564e
call fcn.005f564e
int3
Function at 0x5193d0
Capabilities:
Check http status code

Disassembly:
mov ecx, dword [esp + 8]
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
lea eax, [ecx - 0xc8]
xor edi, edi
mov ebx, dword [esi + 0x18]
cmp eax, 0x64
jb 0x519400
push str.Couldnt_set_desired_mode
push esi
call fcn.004f9630
add esp, 8
lea eax, [edi + 0x11]
pop edi
pop esi
pop ebx
ret
cmp ecx, 0xc8
je 0x519417
push ecx
push str.Got_a__03d_response_code_instead_of_the_assumed_200
push esi
call fcn.004f9700
add esp, 0xc
mov al, byte [esp + 0x18]
push ebp
cmp al, 0x13
jne 0x519431
push ebx
push esi
call fcn.005192d0
add esp, 8
mov edi, eax
pop ebp
pop edi
pop esi
pop ebx
ret
cmp al, 0x14
jne 0x51953d
mov edi, dword [esi + 0x18]
xor ebx, ebx
cmp byte [esi + 0x4c8], 2
mov dword [esp + 0x18], edi
jne 0x5194ae
mov eax, dword [esi + 0x11c]
mov eax, dword [eax]
test eax, eax
je 0x5194ae
push 3
push ebx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
push ecx
push ebx
push eax
call fcn.00525cd0
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x519568
push 0x2f
push dword [esp + 0x18]
call fcn.005edb20
add esp, 8
test eax, eax
je 0x51949d
mov ebx, dword [esp + 0x14]
mov ecx, 1
sub eax, ebx
cmovne ecx, eax
mov byte [ecx + ebx], 0
jmp 0x5194aa
push dword [esp + 0x14]
call dword [0x6a4004]
add esp, 4
mov edi, dword [esp + 0x18]
mov ecx, dword [esi + 0x4fc]
test ecx, ecx
jne 0x5194cc
cmp byte [esi + 0xd63], 0
mov ecx, str.NLST
mov eax, str.LIST
cmove ecx, eax
mov edx, 0x685050
test ebx, ebx
mov eax, edx
cmovne eax, ebx
push eax
mov eax, 0x687760
cmove eax, edx
push eax
push ecx
push 0x625ec8
call fcn.00500b20
push ebx
mov ebp, eax
call dword [0x6a4004]
add esp, 0x14
test ebp, ebp
jne 0x519509
mov edi, 0x1b
pop ebp
mov eax, edi
pop edi
pop esi
pop ebx
ret
push ebp
push 0x624af4
lea eax, [edi + 0x398]
push eax
push esi
call fcn.00536780
push ebp
mov edi, eax
call dword [0x6a4004]
add esp, 0x14
test edi, edi
jne 0x519568
mov eax, dword [esi + 0x18]
pop ebp
mov byte [eax + 0x436], 0x1f
mov eax, edi
pop edi
pop esi
pop ebx
ret
cmp al, 0x15
jne 0x519555
push 0xd
push 1
push esi
call fcn.00518e50
add esp, 0xc
mov edi, eax
pop ebp
pop edi
pop esi
pop ebx
ret
cmp al, 0x16
jne 0x519568
push 0xe
push 1
push esi
call fcn.00518e50
add esp, 0xc
mov edi, eax
pop ebp
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x56b350
Capabilities:
Generate random numbers via winapi
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
mov eax, 0x80
call fcn.005d6920
mov eax, dword [0x6a8c7c]
xor eax, esp
mov dword [esp + 0x7c], eax
push 0xf0000040
push 1
push 0
push 0
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x56b3cc
lea eax, [esp + 0x38]
push eax
push 0x40
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x56b3c0
mov eax, 8
call fcn.005d6920
movsd xmm0, qword [0x6523e0]
lea eax, [esp + 0x40]
movsd qword [esp], xmm0
push 0x40
push eax
call fcn.0054c970
add esp, 0x10
push 0
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push 0xf0000040
push 0x16
push str.Intel_Hardware_Cryptographic_Service_Provider
push 0
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x56b430
lea eax, [esp + 0x38]
push eax
push 0x40
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x56b424
mov eax, 8
call fcn.005d6920
movsd xmm0, qword [0x6523e0]
lea eax, [esp + 0x40]
movsd qword [esp], xmm0
push 0x40
push eax
call fcn.0054c970
add esp, 0x10
push 0
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
cmp dword [0x6a86f8], 0
je 0x56b479
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
jne 0x56b44f
mov dword [0x6a86f8], eax
jmp 0x56b479
mov eax, 8
call fcn.005d6920
xorps xmm0, xmm0
lea eax, [esp + 0x18]
movsd qword [esp], xmm0
push 8
push eax
call fcn.0054c970
add esp, 0x10
cmp dword [0x6a86f8], 0
jne 0x56b4a4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 8], eax
mov eax, 8
call fcn.005d6920
xorps xmm0, xmm0
lea eax, [esp + 0x10]
movsd qword [esp], xmm0
push 4
push eax
call fcn.0054c970
add esp, 0x10
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, 8
call fcn.005d6920
movsd xmm0, qword [0x68d530]
lea eax, [esp + 0x20]
movsd qword [esp], xmm0
push 0x20
push eax
call fcn.0054c970
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esp + 0xc], eax
mov eax, 8
call fcn.005d6920
movsd xmm0, qword [0x68d530]
lea eax, [esp + 0x14]
movsd qword [esp], xmm0
push 4
push eax
call fcn.0054c970
mov ecx, dword [esp + 0x8c]
add esp, 0x10
xor ecx, esp
mov eax, 1
call fcn.005d584c
mov esp, ebp
pop ebp
ret
Function at 0x402230
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
push ebx
push esi
push edi
mov edi, 0x405010
or ecx, 0xffffffff
xor eax, eax
xor ebx, ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, 0x404c0c
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x405010
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, 0x40440c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x25
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x1c], 2
jne 0x4022de
call fcn.00401600
test eax, eax
jne 0x4022fa
call fcn.00401e00
test eax, eax
jne 0x4022fa
call fcn.004019e0
test eax, eax
jne 0x4022fa
call fcn.00401740
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x94
ret
xor esi, esi
test ebx, ebx
jne 0x4022fa
mov al, byte [0x404c0c]
test al, al
jne 0x4022fa
call fcn.00401cf0
inc esi
mov ebx, eax
cmp esi, 0xa
jl 0x4022e0
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x94
ret
Function at 0x40115d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
call 0x40115d
pop ecx
push 0x8b04c483
inc ebp
or al, 0x8b
dec ebp
or byte [ebx + 0x4598d10], cl
mov dword [ecx], edx
mov edi, dword [eax]
lea esi, [eax + 4]
mov dword [ebp + 0xc], ebx
xor ecx, ecx
sub ebx, esi
mov eax, dword [esi]
add esi, 4
mov edx, eax
sub eax, ecx
xor edx, edi
add eax, edi
mov edi, ecx
mov dword [ebx + esi - 4], edx
imul edi, ecx
xor eax, edi
inc ecx
cmp ecx, 7
mov edi, eax
jl 0x401179
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0x4e4e4f4b
je 0x4011ab
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
jmp 0x4011af
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret

Function at 0x4011fa
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
call 0x4011fa
push 0x8b04c483
inc ebp
or byte [ebp + 0x5e0375c0], al
pop ebp
ret

Function at 0x401da8
Capabilities:
Encode data using xor

Disassembly:
mov word [ebx + edx + 0x5a], gs
or eax, 0xc8fdf394
xchg esp, eax
std
enter 0xffffffffffffc2ba, 0x6b
adc ah, ch
lds eax, [ebx]
ret
inc esi
mov cl, 0x1c
loope 0x401d1b
daa
rcr dword [eax + 0x78], 1
and byte [edx], dh
mov ecx, 0x2fd8765b
xor bh, byte [ecx + 0x2fd8765b]
out 0x29, al
mov edx, 0xa4a19a85
daa
out dx, eax
out 0x8a, al
out dx, eax
aaa
test dword [ebx - 0x75], ecx
jo 0x401d74
dec ebx
cli
salc
int1
sbb dh, ah
mov cl, 0xf5
mov edi, 0xb1fe887b
mov cl, 0x8d
mov edi, 0xd91345c
pop esi
sti
dec esi
jne 0x401d6a
xchg dword [edx - 0x55e27129], ecx
dec ecx
fmul qword [eax + 0x3c]
mov esi, esp
add eax, 0x10245480
rcr byte [ebx - 0x4f], cl
mov bh, 0x85
pop edx
cmp edx, ebx
push 0xffffffffffffffa8
movsd dword es:[edi], dword [esi]
in al, 0xb3
lodsd eax, dword [esi]
mov fs, word [esi + 0x735fd7ba]
or byte [edx + 0x5c18155], dh
invalid

Function at 0x41ed88
Capabilities:
Encode data using xor

Disassembly:
and dword cs:[ecx + eax*4], esi
fsubr qword [ebx - 0x8fd0170]
neg dword [esi]
neg dword [esi]
cdq
xor byte [ebx + 0x6f], al
mov bl, 0xd
sub ah, ah
lodsb al, byte [esi]
jg 0x41ed7f
cmp bh, byte [ebx]
in al, dx
retf 0x3c82
Function at 0x435e80
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4c30cb
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.004b58aa
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x435f02
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004b3153
mov eax, dword [eax]
push 0x4ecd0c
push eax
call fcn.004a4cd4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004b5b35
test bl, bl
je 0x435f02
push 0x4ecd0c
lea ecx, [esp + 0xc]
call fcn.004b5f11
push 0x4ecd18
lea ecx, [esp + 0xc]
call fcn.004b5f11
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 0x435f3e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004b5b35
jmp 0x436009
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 0x435fc2
lea edx, [esp + 0x7c]
push 0x4ecd14
push edx
call fcn.004a4cd4
add esp, 8
test eax, eax
je 0x435fc2
lea eax, [esp + 0x7c]
push 0x4ecd10
push eax
call fcn.004a4cd4
add esp, 8
test eax, eax
je 0x435fc2
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 0x435f52
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.004b5b35
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 0x437280
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 0x4372e2
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 0x4372f0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4c322b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4f9598]
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 0x437428
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x437356
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004b5b35
xor eax, eax
jmp 0x43749f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004b5cbe
push esi
lea ecx, [esp + 0xc]
call fcn.004b5f4d
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x4ecd5c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x43747d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00437280
test eax, eax
jne 0x43747d
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.00437280
test eax, eax
jne 0x43747d
lea eax, [esp + 0x14]
push 0x4ecd38
push eax
call fcn.004a5ec0
mov esi, eax
add esp, 8
test esi, esi
jne 0x43745c
lea ecx, [esp + 0x14]
push 0x4ecd34
push ecx
call fcn.004a5e40
mov esi, eax
add esp, 8
test esi, esi
jne 0x43745c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x43745f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004b5c6e
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x43736e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004b5b35
xor eax, eax
jmp 0x43749f
mov byte [esi], 0
push 0x4ecd30
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.004b5b35
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 0x447ac0
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 0x447b2e
cmp si, 0x69
ja 0x447b2e
add esi, 0xffd0
cmp si, 0x11
je 0x447afe
push 0x11
call edi
test ax, ax
jge 0x447afe
or esi, 0x2000
cmp si, 0x10
je 0x447b13
push 0x10
call edi
test ax, ax
jge 0x447b13
or esi, 0x4000
cmp si, 0x12
je 0x447b28
push 0x12
call edi
test ax, ax
jge 0x447b28
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x447b3b
mov esi, 0xbd
jmp 0x447aef
cmp si, 0x6e
jne 0x447b48
mov esi, 0xbe
jmp 0x447aef
cmp si, 0x6f
jne 0x447ae9
mov esi, 0xbf
jmp 0x447aef

Function at 0x449470
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x50a4c0]
xor edx, edx
cmp eax, edx
jne 0x449496
xor eax, eax
mov byte [eax + 0x50a3c0], al
inc eax
cmp eax, 0x100
jl 0x44947e
mov dword [0x50a4c0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x50a3c0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x449527
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 0x4494fa
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 0x4494c8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4495a0
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 0x4495f3
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 0x4495da
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