joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4181e8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4182e8
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00406c54
lea eax, [ebp - 4]
call fcn.00406d68
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00406f30
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x4182d2
mov eax, ebx
call fcn.004044ac
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x4182cb
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00406f30
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x4182b5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4182fc
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x4182b5
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x10]
shr eax, 0x10
movzx eax, ax
mov dword [esi], eax
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 0x10]
mov dword [edi], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
shr eax, 0x10
movzx eax, ax
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4182d2
mov eax, dword [ebp - 0x10]
call fcn.004044c8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4182ef
lea eax, [ebp - 4]
call fcn.00406938
ret

Function at 0x418de0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.00406cfc
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040ab88
mov edi, eax
cmp edi, 0x104
jbe 0x418d8b
mov eax, edi
add eax, eax
call fcn.004044ac
mov esi, eax
jmp 0x418d8d
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040ab88
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x418dc6
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x418db0
mov eax, esp
cmp esi, eax
je 0x418dd3
mov eax, esi
call fcn.004044c8
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x418e0c
cmp bl, 0
je 0x418e08
cmp bl, 0x41
jl 0x418e03
cmp bl, 0x5a
jg 0x418e03
or bl, 0x20
xor al, bl
inc esi
jmp 0x418de7
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x418d4c

Function at 0x419030
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, ecx
mov word [esp], 0
push 0x400
lea ecx, [esp + 4]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.00406fc4
add esp, 0x800
pop ebx
ret
Function at 0x41c528
Capabilities:
Create process on windows
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], eax
mov eax, dword [0x41e684]
mov byte [eax], 1
mov eax, 0x419d90
call fcn.0040b374
xor eax, eax
push ebp
push 0x41c5ed
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.kernel32.dll_GetConsoleWindow
push eax
call sub.user32.dll_ShowWindow
push 1
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.0040480c
lea eax, [ebp - 0x18]
mov edx, 0x41c608
call fcn.0040709c
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.00414414
mov eax, dword [ebp - 0x14]
call fcn.00406f30
push eax
push 0x41c634
lea edx, [ebp - 0x20]
xor eax, eax
call fcn.0040480c
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.00414414
lea eax, [ebp - 0x1c]
mov edx, 0x41c65c
call fcn.0040709c
mov eax, dword [ebp - 0x1c]
call fcn.00406f30
push eax
push 0x41c6f4
push 0
call sub.shell32.dll_ShellExecuteW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41c5f4
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.00406998
ret
Function at 0x403e17
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40f050]
jne 0x403e21
repz ret
jmp fcn.00404cc6

Function at 0x409bbc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00405707
and dword [ebp - 4], 0
cmp dword [0x410728], 0
mov ebx, eax
jne 0x409c6d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x409d1e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x409d1e
push eax
call fcn.00405695
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x410728], eax
call esi
push eax
call fcn.00405695
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x41072c], eax
call esi
push eax
call fcn.00405695
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x410730], eax
call esi
push eax
call fcn.00405695
pop ecx
mov dword [0x410738], eax
test eax, eax
je 0x409c6d
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00405695
pop ecx
mov dword [0x410734], eax
mov eax, dword [0x410734]
cmp eax, ebx
je 0x409cc5
cmp dword [0x410738], ebx
je 0x409cc5
push eax
call fcn.00405710
push dword [0x410738]
mov esi, eax
call fcn.00405710
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x409cc5
test edi, edi
je 0x409cc5
call esi
test eax, eax
je 0x409cbc
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x409cbc
test byte [ebp - 0xc], 1
jne 0x409cc5
or dword [ebp + 0x10], 0x200000
jmp 0x409cfe
mov eax, dword [0x41072c]
cmp eax, ebx
je 0x409cfe
push eax
call fcn.00405710
pop ecx
test eax, eax
je 0x409cfe
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x409cfe
mov eax, dword [0x410730]
cmp eax, ebx
je 0x409cfe
push eax
call fcn.00405710
pop ecx
test eax, eax
je 0x409cfe
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x410728]
call fcn.00405710
pop ecx
test eax, eax
je 0x409d1e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x409d20
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40b5b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40b637
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x40b637
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x40b637
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
push edx
mov ecx, dword [ebp + 0x14]
call fcn.004020e0
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
push 0
mov ecx, dword [ebp + 0x14]
call fcn.00402120
push eax
call fcn.00404420
add esp, 0xc
mov al, 1
jmp 0x40b639
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x10045710
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x100458dd
pushal
mov esi, section.text
lea edi, [esi - 0x30000]
push edi
or ebp, 0xffffffff
jmp 0x1004573a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x10045741
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10045730
mov eax, 1
add ebx, ebx
jne 0x10045753
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x10045748
jne 0x10045764
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10045748
xor ecx, ecx
sub eax, 3
jb 0x10045778
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x100457ea
mov ebp, eax
add ebx, ebx
jne 0x10045783
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x10045790
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x100457b4
inc ecx
add ebx, ebx
jne 0x100457a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x10045795
jne 0x100457b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10045795
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x100457d4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x100457c5
jmp 0x10045736
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x100457d4
add edi, ecx
jmp 0x10045736
pop esi
mov edi, esi
mov ecx, 0x697
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x100457f2
cmp byte [edi], 0x11
jne 0x100457f2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x100457f7
lea edi, [esi + 0x41000]
mov eax, dword [edi]
or eax, eax
je 0x1004586f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x451dc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x4525c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x10045824
mov ecx, edi
jns 0x10045853
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x45260]
or eax, eax
je 0x10045869
mov dword [ebx], eax
add ebx, 4
jmp 0x10045841
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x100458a0
cmp al, 0xef
ja 0x10045893
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x10045875
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x10045882
mov ebp, dword [esi + 0x45264]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x100458d4
sub esp, 0xffffff80
jmp 0x1000c387
Function at 0x401e40
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov eax, dword [sym.imp.msvcr90.dll__iob]
mov dword [esp + 8], 0x1b
lea ebx, [esp + 0x24]
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcr90.dll_fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [sym.imp.msvcr90.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcr90.dll_vfprintf
call sub.msvcr90.dll_abort
jmp fcn.00401ea0
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x401000
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push ecx
push edx
enter 0x84, 0
sub ebp, 0x82
add byte [eax], 0
add bh, al
inc ebp
inc byte [eax]
add byte [eax], al
add byte [ebp - 0x301781ab], cl
add eax, 0xc3890000
push edx
mov edx, ebx
or dl, 0x40
push edx
mov edx, 0x401e9a
sub edx, fcn.00401665
push edx
xor eax, eax
push fcn.00401665
mov dword [ebp + 0x7e], eax
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
cmp dword [ebp + 0x7e], 0
je 0x401058
mov eax, ebx

Function at 0x4015eb
Capabilities:
Delete file
Encode data using base64 via winapi

Disassembly:
push ebx
push ecx
push edx
enter 0x324, 0
push 0
call dword [sym.imp.OLE32.DLL_CoInitialize]
push 0
call dword [sym.imp.OLE32.DLL_CoCreateGuid]
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x18]
push eax
push 1
push 1
lea eax, [ebp - 0x11c]
push eax
mov dword [ebp - 4], 0x14
mov byte [ebp - 0x11c], 0
call dword [sym.imp.CRYPT32.DLL_CryptBinaryToStringW]
lea eax, [ebp - 0x324]
push eax
movzx ebx, word [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
call dword [sym.imp.OLE32.DLL_CoUninitialize]
lea eax, [ebx - 0x41]
leave
pop edx
pop ecx
pop ebx
ret

Function at 0x408917
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x4085d8
call fcn.0040892c
sub esi, esi
xor dword [edi], edx
inc edi
inc esi
cmp edi, ecx
jne fcn.00408917
ret
Function at 0x401000
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
push esi
mov esi, dword [esp + 0x14]
test esi, esi
je 0x4012b4
mov edi, dword [esp + 0x10]
xor ebx, ebx
nop word cs:[eax + eax]
push str.xbyuidgAYU7uikj
push 0x43b540
call fcn.00401da0
add esp, 8
push eax
call fcn.004021c0
add esp, 4
xor byte [edi + ebx], 0xa4
push str.xbyuidgAYU7uikj
push 0x43b540
call fcn.00401da0
add esp, 8
push eax
call fcn.004021c0
add esp, 4
add byte [edi + ebx], 0xc7
push str.xbyuidgAYU7uikj
push 0x43b540
call fcn.00401da0
add esp, 8
push eax
call fcn.004021c0
add esp, 4
add byte [edi + ebx], 0x37
push str.xbyuidgAYU7uikj
push 0x43b540
call fcn.00401da0
add esp, 8
push eax
call fcn.004021c0
add esp, 4
xor byte [edi + ebx], 0xa
push str.xbyuidgAYU7uikj
push 0x43b540
call fcn.00401da0
add esp, 8
push eax
call fcn.004021c0
add esp, 4
add byte [edi + ebx], 0xca
push str.xbyuidgAYU7uikj
push 0x43b540
call fcn.00401da0
add esp, 8
push eax
call fcn.004021c0
add esp, 4
xor byte [edi + ebx], 0xcc
push str.xbyuidgAYU7uikj
push 0x43b540
call fcn.00401da0
add esp, 8
push eax
call fcn.004021c0
add esp, 4
xor byte [edi + ebx], 0x5a
push str.xbyuidgAYU7uikj
push 0x43b540
call fcn.00401da0
add esp, 8
push eax
call fcn.004021c0
add esp, 4
xor byte [edi + ebx], 0x97
push str.xbyuidgAYU7uikj
push 0x43b540
call fcn.00401da0
add esp, 8
push eax
call fcn.004021c0
add esp, 4
add byte [edi + ebx], 0x16
push str.xbyuidgAYU7uikj
push 0x43b540
call fcn.00401da0
add esp, 8
push eax
call fcn.004021c0
add esp, 4
add byte [edi + ebx], 0x14
push str.xbyuidgAYU7uikj
push 0x43b540
call fcn.00401da0
add esp, 8
push eax
call fcn.004021c0
add esp, 4
add byte [edi + ebx], 0x4f
push str.xbyuidgAYU7uikj
push 0x43b540
call fcn.00401da0
add esp, 8
push eax
call fcn.004021c0
add esp, 4
add byte [edi + ebx], 0x41
push str.xbyuidgAYU7uikj
push 0x43b540
call fcn.00401da0
add esp, 8
push eax
call fcn.004021c0
add esp, 4
add byte [edi + ebx], 0x91
push str.xbyuidgAYU7uikj
push 0x43b540
call fcn.00401da0
add esp, 8
push eax
call fcn.004021c0
add esp, 4
add byte [edi + ebx], 0xe4
push str.xbyuidgAYU7uikj
push 0x43b540
call fcn.00401da0
add esp, 8
push eax
call fcn.004021c0
add esp, 4
add byte [edi + ebx], 0x95
push str.xbyuidgAYU7uikj
push 0x43b540
call fcn.00401da0
add esp, 8
push eax
call fcn.004021c0
add esp, 4
xor byte [edi + ebx], 0xf
push str.xbyuidgAYU7uikj
push 0x43b540
call fcn.00401da0
add esp, 8
push eax
call fcn.004021c0
add esp, 4
xor byte [edi + ebx], 0xaf
push str.xbyuidgAYU7uikj
push 0x43b540
call fcn.00401da0
add esp, 8
push eax
call fcn.004021c0
add esp, 4
add byte [edi + ebx], 0x17
push str.xbyuidgAYU7uikj
push 0x43b540
call fcn.00401da0
add esp, 8
push eax
call fcn.004021c0
add esp, 4
xor byte [edi + ebx], 0x81
push str.xbyuidgAYU7uikj
push 0x43b540
call fcn.00401da0
add esp, 8
push eax
call fcn.004021c0
add esp, 4
add byte [edi + ebx], 0xe7
push str.xbyuidgAYU7uikj
push 0x43b540
call fcn.00401da0
add esp, 8
push eax
call fcn.004021c0
add esp, 4
xor byte [edi + ebx], 0x57
inc ebx
cmp esi, ebx
jne 0x401020
pop esi
pop edi
pop ebx
ret
Function at 0x427d70
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x427d9d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x427d9d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401350
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags
Query or enumerate registry value

Disassembly:
push ebp
push edi
push esi
push ebx
mov ebx, edx
sub esp, 0x4c
mov dword [esp + 0x20], eax
test byte [section..data], 8
jne 0x401430
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], 0
lea ebp, [esp + 0x3c]
mov esi, dword [sym.imp.advapi32.dll_RegQueryValueExW]
mov dword [esp + 4], ebx
lea edi, [esp + 0x38]
mov dword [esp + 0x14], ebp
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
mov dword [esp], eax
call esi
sub esp, 0x18
test eax, eax
jne 0x401480
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], 0
add ecx, 4
mov edx, ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 8], edx
mov ecx, dword fs:[0x18]
mov eax, dword [ecx + 0x30]
mov dword [esp + 0x28], ecx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], ebp
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov dword [esp], eax
call esi
sub esp, 0x18
test eax, eax
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
jne 0x401460
mov eax, dword [esp + 0x2c]
and eax, 0xfffffffe
mov dword [edx + eax - 4], 0
add esp, 0x4c
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0xc], 0x404017
mov dword [esp + 8], str.GetRegValue
mov dword [esp + 4], 0x403000
mov dword [esp], 3
call fcn.00401300
jmp 0x40136a
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
nop
xor edx, edx
jmp 0x401421
Function at 0x402c40
Capabilities:
Get process heap force flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov dword [esp], 1
call sub.ucrtbase.dll__configure_wide_argv
call sub.ucrtbase.dll__initialize_wide_environment
call 0x402cb0
mov esi, dword [eax]
call sub.ucrtbase.dll___p___wargv
mov edi, dword [eax]
call sub.ucrtbase.dll__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sub.ucrtbase.dll__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.00401490
mov dword [esp], eax
call sub.ucrtbase.dll_exit
jmp dword [sym.imp.ucrtbase.dll___p___argc]
Function at 0x4287df
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
cmp dword [0x45aa24], 0
je 0x428816
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
call main
add esp, 4
jmp 0x42882f
call main
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call main
add esp, 4
jmp 0x42882f
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42973f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x42974e
pop dword [ebp - 0xc]
mov eax, 0x8e89a679
add eax, 0x71b8f0d5
sub dword [ebp - 0xc], eax
push 0x40
push 0x1000
push 0x4e227
push 0
mov eax, 0x209f4116
add eax, 0xdfa726c2
add eax, dword [ebp - 0xc]
call dword [eax]
mov ecx, 0x922cb000
sub ecx, 0x922c6600
xor ebx, ebx
add ebx, eax
mov esi, 0xb02b04bb
sub esi, 0xafe224bb
add esi, dword [ebp - 0xc]
mov edx, 0xb99bc9b3
add dword [ebp - 4], 0xbb74b216
mov edi, dword [esi]
add dword [ebp - 4], 0xf665c5d
add edi, edx
xor dword [ebp - 8], eax
mov dword [ebx], edi
mov dword [ebp - 4], 0x95fddf40
add ebx, 0xc14ce3f8
sub ebx, 0xc14ce3f4
add esi, 0x58567cbd
add esi, 0xa7a98347
loop 0x4297a9
add eax, 0x1755e7b9
sub eax, 0x1754cce6
mov ebx, eax
add eax, 0x32c9100b
sub eax, 0x32c91006
mov ecx, 0x400000
add ecx, dword [ebp - 0xc]
call ebx
leave
ret

Function at 0x44c8c0
Capabilities:
Move file

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push eax
push ecx
call dword [sym.imp.kernel32.dll_MoveFileA]
test eax, eax
mov eax, 0
jne 0x44c8df
call dword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
je 0x44c8f2
push eax
call fcn.0044d700
add esp, 4
mov eax, 0xffffffff
ret
xor eax, eax
ret