joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4042d4
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
push ebx
mov edx, 0xc
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x4042db
mov edx, dword [esp + 0x3c]
lea ecx, [esp]
call fcn.00404000
mov edx, dword [esp + 0x40]
lea ecx, [esp + 4]
call fcn.00404000
mov edx, dword [esp + 0x44]
lea ecx, [esp + 8]
call fcn.00404000
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0xc]
call fcn.00404000
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0x10]
call fcn.00404000
mov edx, dword [esp + 0x54]
lea ecx, [esp + 0x14]
call fcn.00404000
push 0
call sub.OLE32.dll_CoInitialize
lea eax, [esp + 0x18]
push eax
mov ebp, 0x4a1e78
push ebp
push 1
push 0
mov ebp, 0x4a1e68
push ebp
call sub.OLE32.dll_CoCreateInstance
mov ebx, eax
and ebx, ebx
jne 0x40445d
mov eax, dword [esp]
push eax
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [eax]
call dword [eax + 0x50]
mov eax, dword [esp + 8]
push eax
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
mov eax, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
push dword [esp + 0x50]
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [eax]
call dword [eax + 0x3c]
push dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [eax]
call dword [eax + 0x34]
push dword [esp + 0x58]
mov eax, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [eax]
call dword [eax + 0x44]
lea eax, [esp + 0x20]
push eax
mov ebp, 0x4a1e88
push ebp
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [eax]
call dword [eax]
mov ebx, eax
and ebx, ebx
jne 0x404453
mov eax, dword [0x4a38bc]
push eax
push eax
push 0x3e8
call fcn.00405200
lea ecx, [esp + 0x28]
pop edx
call fcn.00404010
push 0x3e8
push dword [esp + 0x28]
push 0xffffffff
push dword [esp + 0x10]
push 0
push 0
call sub.KERNEL32.DLL_MultiByteToWideChar
push 1
mov eax, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x28]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 1
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [eax]
call dword [eax + 8]
mov eax, dword [esp + 0x18]
push eax
mov eax, dword [eax]
call dword [eax + 8]
call sub.OLE32.dll_CoUninitialize
mov eax, dword [esp + 0x2c]
jmp 0x40446a
push dword [esp]
call fcn.0040a560
push dword [esp + 4]
call fcn.0040a560
push dword [esp + 8]
call fcn.0040a560
push dword [esp + 0xc]
call fcn.0040a560
push dword [esp + 0x10]
call fcn.0040a560
push dword [esp + 0x14]
call fcn.0040a560
push dword [esp + 0x24]
call fcn.0040a560
add esp, 0x30
pop ebx
pop ebp
ret 0x20
Function at 0x40452c
Capabilities:
Get disk size

Disassembly:
push ebp
push ebx
mov edx, 7
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x404533
mov edx, dword [esp + 0x28]
lea ecx, [esp]
call fcn.00404000
lea eax, [esp + 4]
lea eax, [esp + 0xc]
lea eax, [esp + 0x14]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push eax
call sub.KERNEL32.DLL_GetDiskFreeSpaceExA
lea ebp, [esp + 0x14]
mov ebx, dword [ebp]
sar ebx, 0x14
push ebx
pop eax
mov dword [ebp], eax
mov ebx, dword [ebp]
and ebx, 0xfff
push ebx
pop eax
mov dword [ebp], eax
mov ebx, dword [ebp + 4]
shl ebx, 0xc
push ebx
pop eax
mov dword [ebp + 4], eax
mov ebx, dword [ebp]
or ebx, dword [ebp + 4]
mov eax, ebx
jmp 0x4045a5
push dword [esp]
call fcn.0040a560
add esp, 0x1c
pop ebx
pop ebp
ret 4

Function at 0x404be0
Capabilities:
Set registry value

Disassembly:
push ebx
xor eax, eax
push eax
push eax
push eax
push eax
mov edx, dword [esp + 0x1c]
lea ecx, [esp]
call fcn.00404000
mov edx, dword [esp + 0x20]
lea ecx, [esp + 4]
call fcn.00404000
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0xc]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push dword [esp + 0x1c]
push dword [esp + 0x38]
call sub.ADVAPI32.dll_RegCreateKeyExA
mov ebx, eax
and ebx, ebx
jne 0x404c5d
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push 0
push dword [esp + 0x14]
push dword [esp + 0x1c]
call sub.ADVAPI32.dll_RegSetValueExA
push dword [esp + 8]
call sub.ADVAPI32.dll_RegCloseKey
xor eax, eax
push dword [esp]
call fcn.0040a560
push dword [esp + 4]
call fcn.0040a560
add esp, 0x10
pop ebx
ret 0x18

Function at 0x405524
Capabilities:
Enumerate gui resources

Disassembly:
cmp dword [esp + 4], 0
je 0x40553c
push dword [esp + 4]
push 0x4054bd
call dword [sym.imp.USER32.dll_EnumWindows]
jmp 0x405579
push esi
mov esi, dword [0x4a32e8]
test esi, esi
je 0x405578
push ebx
push edi
mov ebx, dword [esi]
lea edi, [esi + 8]
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
cmp dword [edi], eax
jne 0x405570
push 1
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_EnableWindow]
push edi
push 0x4a32e8
call fcn.0040a43c
pop ecx
pop ecx
test ebx, ebx
mov esi, ebx
jne 0x405549
pop edi
pop ebx
pop esi
ret 4
Function at 0x4055c3
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x130
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_GetVersionExA]
push edi
push 0x64
pop edi
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], 0x94
call esi
test eax, eax
je 0x405667
mov eax, dword [ebp - 0xc]
dec eax
je 0x40564a
dec eax
jne 0x405667
mov eax, dword [ebp - 0x18]
sub eax, 3
je 0x405646
dec eax
je 0x405642
dec eax
je 0x405628
dec eax
jne 0x405667
push 0x46
pop edi
lea eax, [ebp - 0xb8]
push eax
mov dword [ebp - 0xb8], 0x9c
call esi
test eax, eax
je 0x405667
cmp byte [ebp - 0x1e], 1
je 0x405667
push 0x4b
jmp 0x405666
mov eax, dword [ebp - 0x14]
sub eax, 0
je 0x40563e
dec eax
je 0x40563a
dec eax
jne 0x405667
push 0x41
jmp 0x405666
push 0x3c
jmp 0x405666
push 0x32
jmp 0x405666
push 0x14
jmp 0x405666
push 5
jmp 0x405666
cmp dword [ebp - 0x14], 0
je 0x405664
cmp dword [ebp - 0x14], 0xa
je 0x405660
cmp dword [ebp - 0x14], 0x5a
jne 0x405667
push 0x28
jmp 0x405666
push 0x1e
jmp 0x405666
push 0xa
pop edi
mov eax, edi
pop edi
pop esi
add ebp, 0x78
leave
ret

Function at 0x406368
Capabilities:
Get graphical window text

Disassembly:
push edi
push dword [esp + 8]
push dword [0x4a3b10]
call fcn.0040a270
mov edi, eax
test edi, edi
je 0x4063ca
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x18]
test eax, eax
je 0x406391
push dword [esp + 0xc]
push edi
call eax
jmp 0x4063ca
push ebx
push esi
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
push dword [esp + 0x14]
mov esi, eax
push esi
call fcn.0040a750
mov ebx, eax
lea eax, [esi + 1]
push eax
push ebx
mov byte [ebx], 0
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push ebx
call sub.MSVCRT.dll_strlen
pop ecx
sub esi, eax
push esi
call fcn.0040a840
pop esi
pop ebx
pop edi
ret 8
Function at 0x40987f
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 9
call esi
test al, al
jns 0x4098ed
push 0x11
call esi
test al, al
js 0x4098ed
push 0x10
call esi
test al, al
js 0x4098ed
push 0x12
call esi
test al, al
js 0x4098ed
mov esi, dword [sym.imp.USER32.dll_GetFocus]
push 5
lea eax, [ebp - 8]
push eax
call esi
push eax
call dword [sym.imp.USER32.dll_GetClassNameA]
push 4
lea eax, [ebp - 8]
push 0x41c150
push eax
call sub.MSVCRT.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x4098ed
push eax
push eax
push 0x44e
call esi
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
test ax, 0x800
je 0x409911
push 0x41c114
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetPropA]
test eax, eax
je 0x409911
dec eax
push eax
push dword [0x4a3b1c]
call fcn.0040a270
mov eax, dword [eax + 8]
jmp 0x409913
xor eax, eax
pop esi
leave
ret 4

Function at 0x409b26
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
cmp dword [0x4a38b8], ebx
jne 0x409b54
push 0x409af3
push 0x10
push 0x148
call fcn.0040a310
mov dword [0x4a38b8], eax
mov esi, dword [ebp + 0xc]
cmp esi, ebx
jne 0x409b60
mov esi, 0x41c032
push 0x104
lea eax, [ebp - 0x108]
push esi
push eax
call sub.MSVCRT.dll_strncpy
push esi
mov byte [ebp - 4], bl
call sub.MSVCRT.dll_strlen
add esp, 0x10
cmp eax, ebx
je 0x409b9c
cmp byte [eax + esi - 1], 0x5c
je 0x409b9c
lea eax, [ebp - 0x108]
push 0x41c15c
push eax
call sub.MSVCRT.dll_strcat
pop ecx
pop ecx
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x409ba7
cmp byte [eax], bl
jne 0x409bac
mov eax, 0x41c158
push eax
lea eax, [ebp - 0x108]
push eax
call sub.MSVCRT.dll_strcat
pop ecx
pop ecx
push dword [ebp + 8]
push dword [0x4a38b8]
call fcn.0040a20c
mov esi, eax
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esi], eax
je 0x409be8
mov dword [esi + 4], ebx
jmp 0x409bfa
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 2
jne 0x409bfe
mov dword [esi + 4], 1
mov edi, esi
jmp 0x409c12
cmp dword [ebp + 8], 0xffffffff
jne 0x409c10
push esi
push dword [0x4a38b8]
call fcn.0040a2da
mov dword [esi], ebx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x409ce0
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
xor eax, eax
cmp dword [esi + 0x14], eax
mov dword [esp + 4], eax
jne 0x409d15
mov ecx, dword [esi + 8]
sub ecx, dword [esi + 0xc]
mov edx, dword [esi + 4]
push eax
lea eax, [esp + 8]
push eax
mov eax, dword [esi]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.DLL_WriteFile]
mov ecx, dword [esi + 8]
mov eax, dword [esp + 4]
mov dword [esi + 0xc], ecx
pop esi
pop ecx
ret 4
Function at 0x409dd0
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0xc]
mov ecx, dword [0x4a3b2c]
push esi
push eax
push ecx
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.0040a270
mov esi, eax
test esi, esi
je 0x409ea2
mov ecx, dword [esp + 0x14]
test ecx, ecx
push ebp
mov ebp, dword [sym.imp.KERNEL32.DLL_WriteFile]
je 0x409e5a
cmp byte [ecx], 0
je 0x409e5a
cmp dword [esi + 4], 0
mov eax, ecx
push edi
lea edi, [eax + 1]
je 0x409e40
nop
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x409e20
sub eax, edi
push eax
push ecx
push esi
call fcn.0040a0e0
mov dword [esp + 0xc], eax
jmp 0x409e59
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x409e40
push 0
lea edx, [esp + 0x10]
push edx
sub eax, edi
push eax
mov eax, dword [esi]
push ecx
push eax
call ebp
pop edi
cmp dword [esi + 4], 0
je 0x409e7d
push 2
push 0x41c160
push esi
call fcn.0040a0e0
mov ecx, eax
mov eax, dword [esp + 8]
pop ebp
add eax, ecx
pop esi
add esp, 8
ret 8
mov edx, dword [esi]
push 0
lea ecx, [esp + 0x10]
push ecx
push 2
push 0x41c160
push edx
call ebp
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 8]
pop ebp
add eax, ecx
pop esi
add esp, 8
ret 8
mov eax, dword [esp + 4]
pop esi
add esp, 8
ret 8

Function at 0x40a080
Capabilities:
Write file on windows

Disassembly:
push ecx
push edi
mov edi, dword [esp + 0x10]
xor eax, eax
test edi, edi
mov dword [esp + 4], eax
je 0x40a0d9
push esi
mov esi, dword [esp + 0x18]
test esi, esi
je 0x40a0d8
mov eax, dword [esp + 0x10]
mov ecx, dword [0x4a3b2c]
push eax
push ecx
call fcn.0040a270
test eax, eax
je 0x40a0d4
cmp dword [eax + 4], 0
je 0x40a0c2
push esi
push edi
push eax
call fcn.0040a0e0
pop esi
pop edi
pop ecx
ret 0xc
mov eax, dword [eax]
push 0
lea edx, [esp + 0xc]
push edx
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.DLL_WriteFile]
mov eax, dword [esp + 8]
pop esi
pop edi
pop ecx
ret 0xc
Function at 0x40a0e0
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
cmp dword [esi + 0x14], 1
push edi
mov dword [esp + 8], 0
jne 0x40a115
mov eax, dword [esi + 0xc]
mov ecx, dword [esi]
push 1
push 0
neg eax
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
mov edx, dword [esi + 8]
mov dword [esi + 0x14], 0
mov dword [esi + 0xc], edx
mov ecx, dword [esi + 0xc]
mov edi, dword [esp + 0x18]
cmp ecx, edi
jle 0x40a18e
mov eax, dword [esi + 8]
add eax, dword [esi + 4]
sub eax, ecx
mov ecx, edi
sub ecx, 1
je 0x40a17b
sub ecx, 1
je 0x40a166
sub ecx, 2
je 0x40a153
mov ecx, dword [esp + 0x14]
push edi
push ecx
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
sub dword [esi + 0xc], edi
mov eax, edi
pop edi
pop esi
pop ecx
ret 0xc
mov edx, dword [esp + 0x14]
mov ecx, dword [edx]
mov dword [eax], ecx
sub dword [esi + 0xc], edi
mov eax, edi
pop edi
pop esi
pop ecx
ret 0xc
mov edx, dword [esp + 0x14]
mov cx, word [edx]
mov word [eax], cx
sub dword [esi + 0xc], edi
mov eax, edi
pop edi
pop esi
pop ecx
ret 0xc
mov edx, dword [esp + 0x14]
mov cl, byte [edx]
mov byte [eax], cl
sub dword [esi + 0xc], edi
mov eax, edi
pop edi
pop esi
pop ecx
ret 0xc
push esi
call fcn.00409ce0
mov eax, dword [esi + 8]
cmp edi, eax
jl 0x40a1bb
mov eax, dword [esp + 0x14]
mov ecx, dword [esi]
push 0
lea edx, [esp + 0xc]
push edx
push edi
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_WriteFile]
mov eax, dword [esp + 8]
pop edi
pop esi
pop ecx
ret 0xc
mov ecx, dword [esi + 4]
sub ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x14]
push edi
push edx
add ecx, eax
push ecx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
sub dword [esi + 0xc], edi
mov eax, edi
pop edi
pop esi
pop ecx
ret 0xc
Function at 0x10003b00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x210
call fcn.10003b14

Function at 0x100085a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
xor esi, esi
lea eax, [edx + eax*2]
mov dword [ebp - 0x10], eax
movzx eax, byte [edx + 1]
cmp byte [edx], ch
lea edx, [edx + 2]
lea edi, [esi + eax]
jne 0x100085f0
cmp edi, esi
jb 0x1000865b
cmp edi, dword [ebp + 0x10]
ja 0x1000866e
add esi, dword [ebp + 0xc]
nop word [eax + eax]
test eax, eax
je 0x100085f2
dec eax
cmp byte [esi], cl
lea esi, [esi + 1]
jne 0x100085e0
jmp 0x1000864f
ja 0x100085f9
cmp edx, dword [ebp - 0x10]
mov esi, edi
jne 0x100085b5
mov edi, dword [ebp + 0x18]
movzx ecx, cx
mov al, 1
add edi, ebx
nop word cs:[eax + eax]
nop dword [eax]
movzx edx, byte [ebx]
lea esi, [ebx + 1]
test dl, dl
js 0x10008630
mov ebx, esi
sub ecx, edx
jns 0x10008647
jmp 0x10008651
cmp esi, edi
je 0x10008682
movzx esi, byte [ebx + 1]
and edx, 0x7f
add ebx, 2
shl edx, 8
or edx, esi
sub ecx, edx
js 0x10008651
xor al, 1
cmp ebx, edi
jne 0x10008610
jmp 0x10008651
xor eax, eax
and al, 1
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
mov edx, edi
push 0x3e824b0
call fcn.100071b0
add esp, 4
ud2
mov edx, dword [ebp + 0x10]
mov ecx, edi
push 0x3e824b0
call fcn.100068e0
add esp, 4
ud2
mov ecx, 0x3e8ab8c
mov edx, 0x2b
push 0x3e824a0
call fcn.10006dd0
add esp, 4
ud2
Function at 0x10028dc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
cmp byte [edx + 0x1195], 0
mov edi, edx
mov dword [esp + 4], ecx
je 0x10028e26
mov edx, edi
lea ecx, [esp + 8]
push ebx
push esi
push eax
push 3
push 0
call fcn.100275e0
add esp, 0x14
movq xmm0, qword [esp + 8]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
movd ecx, xmm0
test ecx, ecx
je 0x10028eed
mov ecx, dword [esp + 4]
movq qword [ecx], xmm0
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
jmp 0x10028f24
cmp byte [edi + 0x1196], 0
je 0x10028f2c
mov byte [edi + 0x1190], 0xc
xor edi, edi
lea esi, [0x3e83e99]
lea edx, [0x3e83e9a]
mov eax, 0xfffffff9
mov dword [esp + 0x18], 0
nop word cs:[eax + eax]
nop
movzx ebx, byte [esi]
mov esi, edx
mov edx, ebx
add dl, 0xd0
cmp dl, 0xa
jb 0x10028e85
or bl, 0x20
mov edx, ebx
add dl, 0x9f
cmp dl, 6
jae 0x10028f87
add bl, 0xa9
mov edx, ebx
mov ecx, edi
movzx ebx, dl
lea edx, [esi + 1]
shl ecx, 4
or ebx, ecx
test eax, eax
cmove edx, esi
je 0x10028ea6
shld dword [esp + 0x18], edi, 4
inc eax
test esi, esi
mov edi, ebx
jne 0x10028e60
mov ecx, 0x3e83b3b
mov edx, 9
xor ebx, 0x12
call fcn.1000af30
mov edi, eax
test eax, eax
mov esi, 1
mov ecx, 0x3e83940
mov edx, 0x12
cmove edi, esi
call fcn.1000af30
mov ecx, dword [esp + 4]
test eax, eax
cmove eax, esi
mov dword [ecx], edi
mov dword [ecx + 4], eax
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], 0
jmp 0x10028f24
movzx ecx, byte [edi + 0x118b]
cmp ecx, 0x10
jae 0x10028f73
mov dword [edi + ecx*8], edx
mov dword [edi + ecx*8 + 4], eax
mov eax, dword [edi + 0x1178]
add dword [edi + 0xa0], eax
mov eax, dword [esp + 4]
adc dword [edi + 0xa4], 0
mov byte [edi + 0x1190], 0xd
mov dword [eax], 0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, edi
lea ecx, [esp + 8]
push ebx
push esi
push eax
push 2
push 0
call fcn.100275e0
add esp, 0x14
movq xmm0, qword [esp + 8]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
movd ecx, xmm0
test ecx, ecx
jne 0x10028e13
movzx ecx, byte [edi + 0x118b]
cmp ecx, 0x10
jb 0x10028ef9
mov edx, 0x10
push 0x3e83ea4
jmp 0x10028f7d
mov edx, 0x10
push 0x3e83eb4
call fcn.10006410
add esp, 4
ud2
mov ecx, 0x3e8a5f4
mov edx, 0xe
push 0x3e82e44
call fcn.10006dd0
add esp, 4
ud2
Function at 0x10029b80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
cmp byte [edx + 0x118a], 3
mov edi, edx
mov esi, ecx
jne 0x10029bda
movzx ecx, byte [edi + 0x118c]
cmp ecx, 0x10
jae 0x10029cd2
movzx eax, byte [edi + 0xa8]
mov dword [esi], 0
and al, 1
mov byte [edi + ecx*8], al
mov eax, dword [edi + 0x1178]
add dword [edi + 0xa0], eax
adc dword [edi + 0xa4], 0
mov byte [edi + 0x1190], 0xd
jmp 0x10029cca
lea ecx, [esp + 8]
mov edx, edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
push 0
call fcn.100275e0
add esp, 0x14
movq xmm0, qword [esp + 8]
movd eax, xmm0
test eax, eax
je 0x10029c1a
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
movq qword [esi], xmm0
mov dword [esi + 8], ecx
mov dword [esi + 0xc], eax
jmp 0x10029cca
mov dword [esp], esi
mov byte [edi + 0x1190], 0xc
xor edi, edi
lea esi, [0x3e83e5d]
lea edx, [0x3e83e5e]
mov eax, 0xfffffff9
mov dword [esp + 4], 0
nop
movzx ebx, byte [esi]
mov esi, edx
mov edx, ebx
add dl, 0xd0
cmp dl, 0xa
jb 0x10029c65
or bl, 0x20
mov edx, ebx
add dl, 0x9f
cmp dl, 6
jae 0x10029ce6
add bl, 0xa9
mov edx, ebx
mov ecx, edi
movzx ebx, dl
lea edx, [esi + 1]
shl ecx, 4
or ebx, ecx
test eax, eax
cmove edx, esi
je 0x10029c86
shld dword [esp + 4], edi, 4
inc eax
test esi, esi
mov edi, ebx
jne 0x10029c40
mov ecx, 0x3e83b3b
mov edx, 9
xor ebx, 0x1a
call fcn.1000af30
mov edi, eax
test eax, eax
mov esi, 1
mov ecx, 0x3e83940
mov edx, 0x12
cmove edi, esi
call fcn.1000af30
mov ecx, dword [esp]
test eax, eax
cmove eax, esi
mov dword [ecx], edi
mov dword [ecx + 4], eax
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], 0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, 0x10
push 0x3e83e88
call fcn.10006410
add esp, 4
ud2
mov ecx, 0x3e8a5f4
mov edx, 0xe
push 0x3e82e44
call fcn.10006dd0
add esp, 4
ud2
Function at 0x100347d0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x580
cmp dword [edx + 8], 0
call fcn.100347e8

Function at 0x10037c50
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [ebp + 0x14]
movzx esi, byte [ebp + 0x18]
mov edi, ecx
mov ecx, dword [ebp + 0x10]
or eax, dword [ebp + 8]
or esi, edx
mov edx, dword [ebp + 0xc]
and ecx, 0xfffff000
or esi, ecx
lea ecx, [ebp - 0x28]
push eax
push esi
call fcn.10031e00
add esp, 8
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x10037ca2
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov dword [edi], eax
mov dword [edi + 4], edx
mov dword [edi + 0xc], ecx
mov dword [edi + 8], esi
jmp 0x10037d79
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x10], edi
xor edi, edi
lea esi, [0x3e874b9]
mov ecx, 0xfffffff9
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], eax
lea eax, [0x3e874ba]
nop word cs:[eax + eax]
nop
movzx ebx, byte [esi]
mov esi, eax
mov eax, ebx
add al, 0xd0
cmp al, 0xa
jb 0x10037cf1
or bl, 0x20
mov eax, ebx
add al, 0x9f
cmp al, 6
jae 0x10037d81
add bl, 0xa9
mov eax, ebx
mov edx, edi
movzx ebx, al
lea eax, [esi + 1]
shl edx, 4
or ebx, edx
test ecx, ecx
cmove eax, esi
je 0x10037d11
shld dword [ebp - 0x18], edi, 4
inc ecx
test esi, esi
mov edi, ebx
jne 0x10037cd0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x10037d32
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp - 0x10]
and eax, 0xfff
movzx eax, byte [ecx + eax]
mov byte [edx + 4], al
mov dword [edx], 0
jmp 0x10037d79
mov ecx, 0x3e8a9d1
mov edx, 0x13
xor ebx, 0x2c7
call fcn.1000af30
mov ecx, 0x3e8a9ad
mov edx, 6
mov edi, eax
call fcn.1000af30
mov edx, dword [ebp - 0x10]
test eax, eax
mov ecx, 1
cmove eax, ecx
test edi, edi
cmove edi, ecx
mov dword [edx], edi
mov dword [edx + 4], eax
mov dword [edx + 8], ebx
mov dword [edx + 0xc], 0
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, 0x3e8a5f4
mov edx, 0xe
push 0x3e82e44
call fcn.10006dd0
add esp, 4
ud2
Function at 0x4027b0
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x4027be
call dword [0x4d401c]
or eax, eax
je 0x4027bf
ret
mov al, 1
jmp fcn.00402888

Function at 0x4027c8
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x4027d6
call dword [0x4d4020]
or eax, eax
jne 0x4027d7
ret
mov al, 2
jmp fcn.00402888

Function at 0x4027e0
Capabilities:
Terminate process

Disassembly:
mov ecx, dword [eax]
test ecx, ecx
je 0x402818
test edx, edx
je 0x402802
push eax
mov eax, ecx
call dword [0x4d4024]
pop ecx
or eax, eax
je 0x402811
mov dword [ecx], eax
ret
mov al, 2
jmp fcn.00402888
mov dword [eax], edx
mov eax, ecx
call dword [0x4d4020]
or eax, eax
jne 0x4027fb
ret
mov al, 1
jmp fcn.00402888
test edx, edx
je 0x40282c
push eax
mov eax, edx
call dword [0x4d401c]
pop ecx
or eax, eax
je 0x402811
mov dword [ecx], eax
ret

Function at 0x402888
Capabilities:
Terminate process

Disassembly:
and eax, 0x7f
mov ecx, dword [0x4d7004]
test ecx, ecx
je 0x402898
pop edx
call ecx
dec eax
mov al, byte [eax + 0x4028b1]
jns 0x4028ac
call fcn.00406cbc
mov eax, dword [eax + 4]
jmp fcn.00403ca4

Function at 0x402a10
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x402a3f
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403d94
jmp 0x402a5d
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.00402998
mov edi, eax
test ebx, ebx
je 0x402a5d
cmp dword [esi], 0
je 0x402a5d
dec ebx
jmp 0x402a46
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x402f34
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [section.DATA]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402fcc
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402fac
xor eax, eax
push ebp
push 0x402fa5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x402fe8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402fac
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [section.DATA]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [section.DATA], ax
mov esp, ebp
pop ebp
ret

Function at 0x40324c
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x403266
mov ecx, eax
mov ecx, dword [ecx]
cmp ecx, edx
je 0x403266
mov ecx, dword [ecx - 0x24]
test ecx, ecx
jne 0x403252
mov al, 0xa
jmp fcn.00402888
ret

Function at 0x403298
Capabilities:
Terminate process

Disassembly:
cmp dword [0x4d701c], 0
je 0x402b37
call dword [0x4d701c]
mov eax, 0xd2
jmp fcn.00403ca4
push eax
push ecx
mov eax, dword [eax]
call fcn.00403268
pop ecx
pop eax
je 0x4032a7
jmp ebx
pop ecx
jmp 0x402b28