joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4020e8
Capabilities:
Create process on windows
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov ebx, eax
cmp byte [0x44f5c0], 0
jne 0x402105
call fcn.004019fc
test al, al
je 0x40210d
cmp ebx, 0x7ffffff8
jle 0x402117
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x40226b
xor ecx, ecx
push ebp
push 0x402264
push dword fs:[ecx]
mov dword fs:[ecx], esp
cmp byte [0x44f049], 0
je 0x402138
push 0x44f5c8
call sub.KERNEL32.DLL_WinExec
add ebx, 7
and ebx, 0xfffffffc
cmp ebx, 0xc
jge 0x402148
mov ebx, 0xc
cmp ebx, 0x1000
jg 0x4021e7
mov eax, ebx
test eax, eax
jns 0x40215d
add eax, 3
sar eax, 2
mov edx, dword [0x44f620]
mov edx, dword [edx + eax*4 - 0xc]
test edx, edx
je 0x4021e7
mov esi, edx
mov eax, esi
add eax, ebx
and dword [eax], 0xfffffffe
mov eax, dword [edx + 4]
cmp edx, eax
jne 0x402198
mov eax, ebx
test eax, eax
jns 0x402187
add eax, 3
sar eax, 2
mov ecx, dword [0x44f620]
xor edi, edi
mov dword [ecx + eax*4 - 0xc], edi
jmp 0x4021be
mov ecx, ebx
test ecx, ecx
jns 0x4021a1
add ecx, 3
sar ecx, 2
mov edi, dword [0x44f620]
mov dword [edi + ecx*4 - 0xc], eax
mov ecx, dword [edx]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov eax, esi
mov edx, dword [edx + 8]
or edx, 2
mov dword [eax], edx
add eax, 4
mov dword [ebp - 4], eax
inc dword [0x44f5b0]
sub ebx, 4
add dword [0x44f5b4], ebx
call fcn.004038f8
jmp 0x40226b
cmp ebx, dword [0x44f618]
jg 0x402239
sub dword [0x44f618], ebx
cmp dword [0x44f618], 0xc
jge 0x40220b
add ebx, dword [0x44f618]
xor eax, eax
mov dword [0x44f618], eax
mov eax, dword [0x44f61c]
add dword [0x44f61c], ebx
mov edx, ebx
or edx, 2
mov dword [eax], edx
add eax, 4
mov dword [ebp - 4], eax
inc dword [0x44f5b0]
sub ebx, 4
add dword [0x44f5b4], ebx
call fcn.004038f8
jmp 0x40226b
mov eax, ebx
call fcn.00401ff4
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40226b
cmp byte [0x44f049], 0
je 0x402263
push 0x44f5c8
call sub.KERNEL32.DLL_WriteFile
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x402278
Capabilities:
Create process on windows
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
mov dword [0x44f5c4], eax
cmp byte [0x44f5c0], 0
jne 0x4022b0
call fcn.004019fc
test al, al
jne 0x4022b0
mov dword [0x44f5c4], 8
mov dword [ebp - 4], 8
jmp 0x402411
xor ecx, ecx
push ebp
push 0x40240a
push dword fs:[ecx]
mov dword fs:[ecx], esp
cmp byte [0x44f049], 0
je 0x4022d1
push 0x44f5c8
call sub.KERNEL32.DLL_WinExec
mov esi, ebx
sub esi, 4
mov ebx, dword [esi]
test bl, 2
jne 0x4022ec
mov dword [0x44f5c4], 9
jmp 0x4023e1
dec dword [0x44f5b0]
mov eax, ebx
and eax, 0x7ffffffc
sub eax, 4
sub dword [0x44f5b4], eax
test bl, 1
je 0x40234c
mov eax, esi
sub eax, 0xc
mov edx, dword [eax + 8]
cmp edx, 0xc
jl 0x40231c
test edx, 0x80000003
je 0x40232b
mov dword [0x44f5c4], 0xa
jmp 0x4023e1
mov eax, esi
sub eax, edx
cmp edx, dword [eax + 8]
je 0x402343
mov dword [0x44f5c4], 0xa
jmp 0x4023e1
add ebx, edx
mov esi, eax
call fcn.00401ba0
and ebx, 0x7ffffffc
mov eax, esi
add eax, ebx
mov edi, eax
cmp edi, dword [0x44f61c]
jne 0x40238c
sub dword [0x44f61c], ebx
add dword [0x44f618], ebx
cmp dword [0x44f618], 0x3c00
jle 0x40237d
call fcn.00401e90
xor eax, eax
mov dword [ebp - 4], eax
call fcn.004038f8
jmp 0x402411
mov edx, dword [eax]
test dl, 2
je 0x4023af
and edx, 0x7ffffffc
cmp edx, 4
jge 0x4023aa
mov dword [0x44f5c4], 0xb
jmp 0x4023e1
or dword [eax], 1
jmp 0x4023d8
mov eax, edi
cmp dword [eax + 4], 0
je 0x4023c2
cmp dword [eax], 0
je 0x4023c2
cmp dword [eax + 8], 0xc
jge 0x4023ce
mov dword [0x44f5c4], 0xb
jmp 0x4023e1
mov edx, dword [eax + 8]
add ebx, edx
call fcn.00401ba0
mov edx, ebx
mov eax, esi
call fcn.00401e08
mov eax, dword [0x44f5c4]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402411
cmp byte [0x44f049], 0
je 0x402409
push 0x44f5c8
call sub.KERNEL32.DLL_WriteFile
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x4044c8
Capabilities:
Hide graphical window

Disassembly:
test eax, eax
je 0x4044dc
push eax
push 0
call sub.user32.dll_ShowWindow
test eax, eax
je 0x4044c0
ret

Function at 0x404e04
Capabilities:
Clear file content

Disassembly:
add esp, 0xffffffe4
push 0x1c
lea edx, [esp + 4]
push edx
push eax
call sub.KERNEL32.DLL_SetEndOfFile
cmp dword [esp + 0x10], 0x1000
jne 0x404e24
mov eax, dword [esp + 4]
jmp 0x404e26
xor eax, eax
add esp, 0x1c
ret
Function at 0x40b8c8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40b99e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00403ea8
lea eax, [ebp - 8]
call fcn.00404320
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004042d0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40b988
mov eax, ebx
call fcn.004026bc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40b981
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004042d0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40b96b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40b9b0
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40b96b
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40b988
mov eax, dword [ebp - 0x10]
call fcn.004026dc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40b9a5
lea eax, [ebp - 8]
call fcn.00403e10
ret

Function at 0x41b1ec
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 0x41b1f2
ret

Function at 0x41bc80
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffa0
mov ebx, edx
mov esi, eax
push esi
mov edi, ebx
mov esi, 0x44d418
mov ecx, 0xb
rep movsd dword es:[edi], dword [esi]
pop esi
test esi, esi
je 0x41bd2b
push esp
push 0x3c
push esi
call sub.user32.dll_EnumWindows
test eax, eax
je 0x41bd2b
mov eax, dword [esp]
mov dword [ebx + 4], eax
cmp dword [esp + 0x10], 0x2bc
jl 0x41bcc3
or byte [ebx + 9], 1
cmp byte [esp + 0x14], 1
jne 0x41bcce
or byte [ebx + 9], 2
cmp byte [esp + 0x15], 1
jne 0x41bcd9
or byte [ebx + 9], 4
cmp byte [esp + 0x16], 1
jne 0x41bce4
or byte [ebx + 9], 8
mov al, byte [esp + 0x17]
mov byte [ebx + 0xa], al
lea eax, [esp + 0x3c]
lea edx, [esp + 0x1c]
mov ecx, 0x20
call fcn.00402bf4
lea edx, [esp + 0x3c]
lea eax, [ebx + 0xb]
mov cl, 0x1f
call fcn.004029e4
mov al, byte [esp + 0x1b]
and al, 0xf
dec al
je 0x41bd1f
dec al
jne 0x41bd25
mov byte [ebx + 8], 1
jmp 0x41bd29
mov byte [ebx + 8], 2
jmp 0x41bd29
mov byte [ebx + 8], 0
mov dword [ebx], esi
add esp, 0x60
pop edi
pop esi
pop ebx
ret
Function at 0x41c9cc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 8]
test esi, esi
je 0x41ca69
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
jne 0x41ca69
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x10]
mov dl, byte [0x41ca74]
mov eax, ebx
call fcn.0041ce34
mov eax, dword [ebx + 0x14]
call fcn.0041c6cc
call fcn.0041ba48
push eax
mov eax, dword [ebx + 4]
push eax
call sub.user32.dll_GetKeyState
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x18]
call fcn.0041ba48
push eax
mov eax, dword [ebx + 4]
push eax
call sub.user32.dll_GetMenuItemID
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x20]
add eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
add ecx, edi
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.004120f8
lea ecx, [ebp - 0x14]
mov edx, ebx
mov eax, esi
mov esi, dword [eax]
call dword [esi + 0x14]
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x41cf2c
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 0x14]
call fcn.0041c708
push eax
call sub.user32.dll_GetWindow
mov eax, dword [ebx + 0x14]
call fcn.0041c708
push eax
mov eax, dword [ebx + 4]
push eax
call sub.user32.dll_GetIconInfo
mov eax, dword [ebx + 0x14]
call fcn.0041c7e8
test al, al
jne 0x41cf7f
mov eax, dword [ebx + 0x14]
call fcn.0041c6cc
call fcn.0041ba48
push eax
mov eax, dword [ebx + 4]
push eax
call sub.user32.dll_GetKeyState
push 2
mov eax, dword [ebx + 4]
push eax
call sub.user32.dll_GetKeyboardLayout
pop ebx
ret
mov eax, dword [ebx + 0x14]
call fcn.0041c6cc
call fcn.0041ba48
not eax
push eax
mov eax, dword [ebx + 4]
push eax
call sub.user32.dll_GetKeyState
push 1
mov eax, dword [ebx + 4]
push eax
call sub.user32.dll_GetKeyboardLayout
pop ebx
ret
Function at 0x41d15c
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, ecx
mov dword [ebp - 4], eax
push 0
call sub.user32.dll_DefMDIChildProcA
mov dword [ebp - 0x18], eax
push 0
call sub.user32.dll_DefMDIChildProcA
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x41d2aa
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x34]
push eax
push 0x18
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_EnumWindows
test bl, bl
je 0x41d1be
push 0
push 1
push 1
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_CreateMenu
mov dword [ebp - 0x10], eax
jmp 0x41d220
push 0
call fcn.004062c8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x41d1d3
call fcn.0041d0a4
xor eax, eax
push ebp
push 0x41d219
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_DefFrameProcA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x41d200
call fcn.0041d0a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41d220
mov eax, dword [ebp - 0x14]
push eax
push 0
call fcn.00406500
ret
cmp dword [ebp - 0x10], 0
je 0x41d28a
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.user32.dll_GetIconInfo
mov ebx, eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.user32.dll_GetIconInfo
mov esi, eax
push 0xcc0020
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x30]
push eax
push 0
push 0
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
mov eax, dword [ebp - 0x1c]
push eax
call sub.user32.dll_GetMenuStringA
test ebx, ebx
je 0x41d27c
push ebx
mov eax, dword [ebp - 0x18]
push eax
call sub.user32.dll_GetIconInfo
test esi, esi
je 0x41d28a
push esi
mov eax, dword [ebp - 0x1c]
push eax
call sub.user32.dll_GetIconInfo
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41d2b1
mov eax, dword [ebp - 0x18]
push eax
call sub.user32.dll_DrawEdge
mov eax, dword [ebp - 0x1c]
push eax
call sub.user32.dll_DrawEdge
ret
Function at 0x41de94
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffac
mov esi, ecx
mov ebx, edx
xor edx, edx
mov dword [esp + 0x18], edx
push esp
push 0x54
push eax
call sub.user32.dll_EnumWindows
test eax, eax
jne 0x41deb8
call fcn.0041d038
jmp 0x41def7
cmp eax, 0x40
jl 0x41ded5
cmp dword [esp + 0x18], 0x28
jb 0x41ded5
push esi
mov edi, ebx
lea esi, [esp + 0x1c]
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
pop esi
jmp 0x41def7
mov eax, ebx
xor ecx, ecx
mov edx, 0x28
call fcn.00402af4
mov dword [ebx], 0x28
mov eax, dword [esp + 4]
mov dword [ebx + 4], eax
mov eax, dword [esp + 8]
mov dword [ebx + 8], eax
mov eax, esi
sub eax, 2
je 0x41df0d
dec eax
sub eax, 0xe
jb 0x41df15
sub eax, 0xf0
jb 0x41df20
jmp 0x41df2b
mov word [ebx + 0xe], 1
jmp 0x41df39
mov word [ebx + 0xe], 4
mov dword [ebx + 0x20], esi
jmp 0x41df39
mov word [ebx + 0xe], 8
mov dword [ebx + 0x20], esi
jmp 0x41df39
mov ax, word [esp + 0x12]
imul word [esp + 0x10]
mov word [ebx + 0xe], ax
mov word [ebx + 0xc], 1
mov eax, dword [ebx + 0x20]
cmp eax, dword [ebx + 0x24]
jae 0x41df4a
mov dword [ebx + 0x24], eax
cmp dword [ebx + 0x14], 0
jne 0x41df71
movzx edx, word [ebx + 0xe]
mov eax, dword [ebx + 4]
mov ecx, 0x20
call fcn.0041d2dc
mov ecx, eax
mov eax, dword [ebx + 8]
cdq
xor eax, edx
sub eax, edx
imul ecx, eax
mov dword [ebx + 0x14], ecx
add esp, 0x54
pop edi
pop esi
pop ebx
ret

Function at 0x41dfe4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov ebx, ecx
mov edi, edx
mov esi, eax
mov edx, ebx
mov ecx, dword [ebp + 8]
mov eax, esi
call fcn.0041de94
xor eax, eax
mov dword [ebp - 8], eax
push 0
call sub.user32.dll_DefMDIChildProcA
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x41e081
push dword fs:[eax]
mov dword fs:[eax], esp
test edi, edi
je 0x41e038
push 0
push edi
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_GetKeyNameTextA
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_GetDCEx
push 0
push ebx
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebx + 8]
push eax
push 0
push esi
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_EndPaint
test eax, eax
setne byte [ebp - 1]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41e088
cmp dword [ebp - 8], 0
je 0x41e077
push 0
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_DrawEdge
ret
Function at 0x41ea7c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbf0
push ebx
push esi
mov dword [ebp - 4], edx
mov esi, eax
test esi, esi
je 0x41eb32
cmp word [ecx + 0x26], 8
ja 0x41eb32
lea edx, [ebp - 0x410]
mov ecx, 0xff
mov eax, dword [ebp - 4]
call fcn.0041d8e0
mov ebx, eax
test ebx, ebx
je 0x41eb32
push 0
call fcn.004062c8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_DefMDIChildProcA
mov dword [ebp - 0xc], eax
push esi
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_GetIconInfo
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x41eb2b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x410]
push eax
push ebx
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_GetKeyboardState
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41eb32
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_GetIconInfo
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_DrawEdge
mov eax, dword [ebp - 8]
push eax
push 0
call fcn.00406500
ret
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41f1e8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffbf8
mov ebx, eax
xor esi, esi
test ebx, ebx
je 0x41f23e
xor eax, eax
mov dword [esp], eax
push esp
push 4
push ebx
call sub.user32.dll_EnumWindows
test eax, eax
je 0x41f23e
cmp dword [esp], 0
je 0x41f23e
mov word [esp + 4], 0x300
mov ax, word [esp]
mov word [esp + 6], ax
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 4]
push eax
push 0
push ebx
call sub.user32.dll_EqualRect
lea eax, [esp + 4]
push eax
call sub.user32.dll_DestroyMenu
mov esi, eax
mov eax, esi
add esp, 0x408
pop esi
pop ebx
ret
Function at 0x420540
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
mov edi, edx
mov ebx, eax
mov esi, dword [ebx + 0x28]
cmp edi, dword [esi + 8]
je 0x4205fb
mov eax, ebx
call fcn.0041fbd0
lea eax, [ebp - 0x58]
xor ecx, ecx
mov edx, 0x54
call fcn.00402af4
test edi, edi
je 0x42057f
lea eax, [ebp - 0x58]
push eax
push 0x54
push edi
call sub.user32.dll_EnumWindows
cmp dword [esi + 4], 1
jne 0x420592
mov eax, dword [esi + 0x10]
mov dword [ebp - 4], eax
xor eax, eax
mov dword [esi + 0x10], eax
jmp 0x4205af
mov eax, dword [esi + 0x10]
cmp eax, dword [0x44f88c]
jne 0x4205a7
mov eax, dword [0x44f88c]
mov dword [ebp - 4], eax
jmp 0x4205af
call fcn.0041f1e8
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4205db
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x58]
push eax
push 0
push 0
mov ecx, dword [ebp - 4]
mov edx, edi
mov eax, ebx
call fcn.0041fe40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4205f2
mov edx, ebx
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10002341
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x10002350
pop dword [ebp - 0x44]
mov eax, 0x2ec4070
sub eax, 0xf2ec1d20
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0x1367687d
sub dword [ebp - 0x54], 0xc5152332
mov dword [ebp - 0x50], 0x757cf0bc
sub dword [ebp - 0x50], 0x4349a477
mov dword [ebp - 0x4c], 0x8ce26023
sub dword [ebp - 0x4c], 0x40961bf5
mov dword [ebp - 0x48], 0xea55da28
add dword [ebp - 0x48], 0x15aa25d8
lea eax, [ebp - 0x54]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0x2582ae7c
sub dword [ebp - 0x54], 0xb1104526
mov dword [ebp - 0x50], 0x1245cfb3
sub dword [ebp - 0x50], 0xd0d96e3e
mov dword [ebp - 0x4c], 0xc3e3b43
sub dword [ebp - 0x4c], 0xa8ceced7
mov dword [ebp - 0x48], 0x7599cf71
sub dword [ebp - 0x48], 0x7599cf71
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x3a451
push 0
call eax
mov ecx, 0xfdb7aee4
add ecx, 0x24893de
xor edx, edx
add edx, eax
mov edi, 0x14f58093
sub edi, 0x4f27493
add edi, dword [ebp - 0x44]
mov esi, 0x18dcdf1f
sub esi, 0xc11d3790
sub dword [ebp - 0xc], ecx
mov ebx, dword [edi]
add dword [ebp - 0x38], edx
add ebx, esi
mov dword [edx], ebx
xor dword [ebp - 4], edi
add edx, 0x1c0a9640
sub edx, 0x1c0a963c
add edi, 0xd74bba1d
add edi, 0x28b445e7
loop 0x1000246a
add eax, 0xa30e1df8
sub eax, 0xa30d201d
mov ebx, eax
add eax, 0xac538e15
sub eax, 0xac538e10
mov ecx, 0xe2239654
add ecx, 0x2ddc69ac
add ecx, dword [ebp - 0x44]
call ebx
leave
ret

Function at 0x1001c6a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 8]
cmp byte [edi + 0x2d], 0
jne 0x1001c73b
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 4]
push esi
push 0
push eax
push ebx
push dword [ebp + 0xc]
push dword [edi + 0x30]
call dword [sym.imp.kernel32.dll_ReadFile]
mov esi, dword [ebp - 4]
cmp esi, ebx
je 0x1001c6f2
mov byte [edi + 0x2d], 0xff
test esi, esi
je 0x1001c6f2
cmp esi, ebx
jge 0x1001c6f2
mov eax, ebx
sub eax, esi
push eax
mov eax, dword [ebp + 0xc]
add eax, esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [edi + 0x18], 0
je 0x1001c735
add dword [edi + 0x1c], ebx
cmp dword [edi + 0x1c], 0xffff
jle 0x1001c735
xor eax, eax
mov word [edi + 0x1e], ax
mov eax, dword [edi]
push edi
mov esi, dword [eax + 0x2c]
mov ecx, esi
call dword [0x100252e4]
call esi
mov ecx, dword [edi + 0x18]
push 1
push dword [edi + 0x20]
mov esi, dword [ecx]
push eax
push ecx
mov ecx, dword [esi + 0xc]
call dword [0x100252e4]
call dword [esi + 0xc]
mov esi, dword [ebp - 4]
mov eax, esi
pop esi
pop ebx
jmp 0x1001c74d
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor eax, eax
pop edi
leave
ret 0xc
Function at 0x1001c970
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x1002d6f4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x1002da0c], 0
mov eax, dword [ebp + 8]
je 0x1001c998
push eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
jmp 0x1001c9b2
lea ecx, [ebp - 0x108]
push ecx
push eax
call fcn.10002341
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
test eax, eax
setne al
xor ecx, ebp
call fcn.10022650
leave
ret 4

Function at 0x1001cb80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x1002d6f4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x1002da0c], 0
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
je 0x1001cbb6
push ebx
push dword [ebp + 0x10]
push edi
push esi
call dword [sym.imp.kernel32.dll_GetTempFileNameW]
jmp 0x1001cc15
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x310]
push eax
push esi
call fcn.10002341
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.10002341
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.kernel32.dll_GetTempFileNameA]
mov esi, eax
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.10002341
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10022650
leave
ret 0x10

Function at 0x1001cc30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x1002d6f4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x1002da0c], 0
push esi
mov esi, dword [ebp + 0xc]
je 0x1001cc5c
push esi
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetTempPathW]
jmp 0x1001cc8d
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathA]
test eax, eax
je 0x1001cc8b
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.10002341
push esi
call dword [sym.imp.kernel32.dll_lstrlenW]
jmp 0x1001cc8d
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10022650
leave
ret 8
Function at 0x465000
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push 0
push 0x3053
push 0x40000
call dword [sym.imp.KERNEL32.DLL_HeapCreate]
mov dword [0x7032e0], eax
push 0x104
push 0x703300
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryA]
mov dword [ebp - 0xc], eax
cmp dword [0x7032e0], 0
jne 0x4650a5
mov dword [ebp - 0x24], 0x6d582888
mov eax, dword [ebp - 0x24]
xor edx, edx
push 0x20
pop ecx
div ecx
push 0x6c
pop eax
mov ecx, edx
shl eax, cl
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
xor edx, edx
push 0x20
pop ecx
div ecx
mov eax, 0xb5
mov ecx, edx
shr eax, cl
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
xor edx, edx
push 0x20
pop ecx
div ecx
mov eax, dword [ebp - 0xc]
mov ecx, edx
shr eax, cl
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
or eax, 0x4c49
mov dword [ebp - 0x20], eax
mov eax, 0xd8
sub eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, 0x87
imul eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
jmp 0x4650ed
mov eax, dword [sym.imp.KERNEL32.DLL_ExitProcess]
mov dword [ebp - 8], eax
push 0x2b1a
push 8
push dword [0x7032e0]
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov dword [0x7032e4], eax
push 0xbe
push 0x2a19
push dword [0x7032e4]
push section..dataz
call sym.xstubexe.exe_DllFreeCc
add esp, 0x10
mov eax, dword fs:[0x2c]
mov eax, dword [eax]
mov eax, dword [eax + 0x38]
leave
ret 0x10