joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409f61
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push edi
mov edi, edx
test ecx, ecx
jne 0x409f6c
xor eax, eax
pop edi
ret
push esi
not eax
mov edx, 0xff
cmp edi, 8
jb 0x40a020
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x4233b8]
movzx ebx, byte [ecx + 1]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x4233b8]
movzx ebx, byte [ecx + 2]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x4233b8]
movzx ebx, byte [ecx + 3]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x4233b8]
movzx ebx, byte [ecx + 4]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x4233b8]
movzx ebx, byte [ecx + 5]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x4233b8]
movzx ebx, byte [ecx + 6]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x4233b8]
movzx ebx, byte [ecx + 7]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x4233b8]
add ecx, 8
sub edi, 8
dec esi
jne 0x409f83
pop ebx
test edi, edi
je 0x40a039
movzx esi, byte [ecx]
xor esi, eax
and esi, edx
shr eax, 8
xor eax, dword [esi*4 + 0x4233b8]
inc ecx
dec edi
jne 0x40a024
pop esi
not eax
pop edi
ret

Function at 0x40a03e
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov eax, dword [ecx]
movsx edx, dl
xor edx, eax
push esi
mov esi, 0xff
and edx, esi
mov edx, dword [edx*4 + 0x4233b8]
shr eax, 8
xor edx, eax
mov eax, dword [ecx + 8]
mov dword [ecx], edx
movzx edx, dl
add edx, dword [ecx + 4]
imul edx, edx, 0x8088405
inc edx
mov dword [ecx + 4], edx
shr edx, 0x18
xor edx, eax
and edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x4233b8]
pop esi
mov dword [ecx + 8], eax
ret
Function at 0x40c9b7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4265d4]
jne 0x40c9c1
repz ret
jmp fcn.00411407

Function at 0x41cd93
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4265d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0041209c
and dword [ebp - 0x14], 0
cmp dword [0x477e4c], 0
mov dword [ebp - 0x18], eax
jne 0x41ce46
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41ceee
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x41ceee
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x477e4c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x477e50], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x477e54], eax
call edi
push eax
call esi
mov dword [0x477e5c], eax
test eax, eax
je 0x41ce46
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x477e58], eax
mov eax, dword [0x477e58]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41ce9f
cmp dword [0x477e5c], ecx
je 0x41ce9f
push eax
call esi
push dword [0x477e5c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41ce9f
test ebx, ebx
je 0x41ce9f
call edi
test eax, eax
je 0x41ce96
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41ce96
test byte [ebp - 8], 1
jne 0x41ce9f
or dword [ebp + 0x10], 0x200000
jmp 0x41ced2
mov eax, dword [0x477e50]
cmp eax, dword [ebp - 0x18]
je 0x41ced2
push eax
call esi
test eax, eax
je 0x41ced2
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41ced2
mov eax, dword [0x477e54]
cmp eax, dword [ebp - 0x18]
je 0x41ced2
push eax
call esi
test eax, eax
je 0x41ced2
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x477e4c]
call esi
test eax, eax
je 0x41ceee
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41cef0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040c9b7
leave
ret
Function at 0x4073e2
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x461134], 0
jne 0x407420
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4073f6
mov dword [ecx*4 + 0x461130], eax
inc ecx
cmp ecx, 0x100
jl 0x4073f1
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x40744d
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x461130]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x40742e
not eax
pop ebp
ret 0xc

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d7a
nop
nop
sub eax, 0x403d20
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0xdc2b50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x4df000]
push edi
or ebp, 0xffffffff
jmp 0xdc2b72
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xdc2b79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xdc2b68
mov eax, 1
add ebx, ebx
jne 0xdc2b8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xdc2b9c
jne 0xdc2bbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xdc2bbb
dec eax
add ebx, ebx
jne 0xdc2ba8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xdc2b80
add ebx, ebx
jne 0xdc2bb7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xdc2c0d
xor ecx, ecx
sub eax, 3
jb 0xdc2bd3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xdc2c42
sar eax, 1
mov ebp, eax
jmp 0xdc2bde
add ebx, ebx
jne 0xdc2bde
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xdc2bac
inc ecx
add ebx, ebx
jne 0xdc2bec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xdc2bac
add ebx, ebx
jne 0xdc2bf9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xdc2bee
jne 0xdc2c0a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xdc2bee
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xdc2c2c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xdc2c1e
jmp 0xdc2b6e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xdc2c2c
add edi, ecx
jmp 0xdc2b6e
pop esi
mov edi, esi
mov ecx, 0x37e4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xdc2c4a
cmp byte [edi], 0x13
jne 0xdc2c4a
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 0xdc2c4f
lea edi, [esi + 0x9bf000]
mov eax, dword [edi]
or eax, eax
je 0xdc2cc7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xa1cf4c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xa1d010]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xdc2c7c
mov ecx, edi
jns 0xdc2cab
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 + 0xa1d018]
or eax, eax
je 0xdc2cc1
mov dword [ebx], eax
add ebx, 4
jmp 0xdc2c99
call dword [esi + 0xa1d014]
mov ebp, dword [esi + 0xa1d01c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0xdc2cfb
sub esp, 0xffffff80
jmp 0x46f1ee
Function at 0x401280
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x834
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [eax]
mov eax, dword [eax + 4]
xor ebx, ebx
cmp dword [0x848528], 0x594
mov dword [ebp - 8], eax
jne 0x4012b3
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push ebx
call dword [sym.imp.KERNEL32.dll_AddAtomW]
mov ecx, dword [0x429158]
mov edx, dword [0x42915c]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x28], edx
call fcn.00401270
mov eax, dword [str._ek_B]
mov ecx, dword [0x429164]
add dword [ebp - 0x18], 0x23f
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x1c], 0x20
nop
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov ecx, dword [0x848528]
mov eax, edi
shl eax, 4
mov dword [ebp - 4], eax
cmp ecx, 0xc
jne 0x401344
push ebx
lea edx, [ebp - 0x834]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointW]
push ebx
lea eax, [ebp - 0x34]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteConsoleA]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_HeapCompact]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
mov eax, dword [ebp - 4]
mov ecx, dword [0x848528]
add eax, dword [ebp - 0x24]
mov dword [ebp - 4], eax
cmp ecx, 0xfa9
jne 0x40135e
mov dword [0x847ac4], 0xedeb2e40
jmp 0x40136c
cmp ecx, 0x3eb
jne 0x40136c
mov dword [0x847474], ebx
mov ecx, dword [ebp - 0x18]
add ecx, edi
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0xc]
mov esi, edi
shr esi, cl
mov dword [0x847ac0], 0xf4ea3dee
add esi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x10]
xor dword [ebp - 4], eax
cmp dword [0x848528], 0x9e6
jne 0x4013a2
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCommMask]
xor esi, dword [ebp - 4]
mov dword [ebp - 0x2c], esi
mov eax, dword [ebp - 0x2c]
add dword [ebp - 8], 0x64
sub dword [ebp - 8], eax
sub dword [ebp - 8], 0x64
mov edx, dword [ebp - 8]
shl edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x20]
add dword [ebp - 4], eax
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
nop
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov esi, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
xor dword [ebp - 4], eax
shr esi, cl
add esi, dword [ebp - 0x28]
cmp dword [0x848528], 0x121
jne 0x401401
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov eax, dword [ebp - 4]
xor eax, esi
mov dword [ebp - 4], eax
sub edi, eax
lea eax, [ebp - 0x18]
call fcn.00401260
sub dword [ebp - 0x1c], 1
jne 0x4012f0
cmp dword [0x848528], 0xa6d
mov esi, dword [ebp + 8]
mov dword [esi], edi
jne 0x401449
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_UpdateResourceA]
mov ecx, dword [ebp - 8]
pop edi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp - 8]
pop edi
mov dword [esi + 4], edx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x401460
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x848528]
mov ecx, dword [0x847478]
shr eax, 3
sub esp, 8
test eax, eax
jbe 0x4014f4
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EnumResourceLanguagesA]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetConsoleMode]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
cmp dword [0x848528], 0x959
jne 0x4014de
push 0
push 0
call esi
push str.xiyefuzotovavumadusuteboxijapijuxilodolupupahoyasidejuriduzebitameyujomacimohatuv
push 0
push 0
call edi
push 0
push 0
push str.kihubatigu
push str.lejigowuxoyojagijaxujocihipubav
push 0
call ebx
push 0
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov eax, dword [ebp - 4]
push eax
call fcn.00401280
add dword [ebp - 4], 8
sub dword [ebp - 8], 1
jne 0x401493
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4015f0
Capabilities:
Extract resource via kernel32 functions
Get hostname

Disassembly:
push ecx
push 0x42a2f8
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
ret
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x423218
push eax
mov dword fs:[0], esp
sub esp, 0xd84
cmp dword [0x848528], 0x5b1
push ebx
push esi
push edi
jne 0x4016b9
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_BackupRead]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetStringTypeA]
push 0
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
lea esi, [ebp - 0x34]
call fcn.00401c40
push 0
mov dword [ebp - 4], 0
call fcn.00403afc
push 0
push 0
call fcn.00403950
add esp, 0xc
call fcn.0040370a
jmp 0x4015e0
mov eax, dword [0x429370]
mov dword [0x84852c], eax
mov eax, dword [0x848528]
add eax, 0x1134b
push eax
push 0
mov dword [0x848528], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [0x847478], eax
call fcn.00401520
mov edi, dword [sym.imp.GDI32.dll_GetDeviceGammaRamp]
xor esi, esi
lea ecx, [ecx]
cmp esi, 0x2710
jge 0x401703
lea ecx, [ebp - 0x590]
push ecx
push 0
call edi
inc esi
cmp esi, 0x18ea14c
jl 0x4016f0
xor esi, esi
cmp dword [0x848528], esi
jbe 0x401768
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov edx, dword [0x84852c]
mov al, byte [edx + esi + 0x1134b]
mov ecx, dword [0x847478]
mov byte [ecx + esi], al
cmp dword [0x848528], 0xa8
jne 0x40175f
push 0
lea edx, [ebp - 0x10]
push edx
call edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
lea eax, [ebp - 0x190]
push eax
call ebx
inc esi
cmp esi, dword [0x848528]
jb 0x401722
mov edi, dword [sym.imp.KERNEL32.dll_FindFirstChangeNotificationA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor esi, esi
jmp 0x401780
mov ecx, dword [0x848528]
add ecx, esi
cmp ecx, 0xe
jne 0x4017ac
push 0
push 0
push str.juxaxisofun
call edi
push 0
call ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
push 0
call dword [sym.imp.KERNEL32.dll_SetComputerNameW]
inc esi
cmp esi, 0x39621
jl 0x401780
call fcn.00401460
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
call edi
cmp esi, 0x26
jne 0x4017ce
call fcn.00401500
inc esi
cmp esi, 0x6753f
jl 0x4017c2
mov esi, dword [sym.imp.KERNEL32.dll_DnsHostnameToComputerNameW]
mov edi, dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
mov ebx, dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
mov dword [ebp - 0x10], 0x7b
cmp dword [0x848528], 0x86
jne 0x40182c
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0xd90]
push eax
push str.zofirajohukaseviheza
call esi
push 0
push str.zajivazegecolojokateweyehenesa
push str.wedihofipepowexohogokozazotahejojeberaxipemobu
call edi
push 0
push 0
call ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
sub dword [ebp - 0x10], 1
jne 0x4017f0
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x401850
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
cmp dword [0x848528], 0x400
push esi
push edi
jne 0x40188f
push 0
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryA]
lea esi, [ebp - 0x24]
call fcn.00401980
mov ecx, esi
call fcn.004019a0
mov edi, dword [ebp - 4]
push ebx
mov ebx, dword [sym.imp.USER32.dll_CharLowerBuffA]
xor esi, esi
jmp 0x4018a0
cmp esi, 0xa50
jge 0x4018b3
push 0
lea ecx, [ebp - 0x424]
push ecx
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0x2af68b
jle 0x4018c9
cmp edi, 0x78d9a205
jne 0x4018d2
inc esi
cmp esi, 0x1c5d
jl 0x4018a0
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor esi, esi
push 0
call edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp esi, 0x206d47
jg 0x4018fd
inc esi
cmp esi, 0x4f6a4
jl 0x4018e0
mov ebx, dword [ebp - 4]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
xor esi, esi
push 0
call edi
cmp esi, 0x2b259d
jle 0x40191c
cmp ebx, 0x785074d5
jne 0x401925
inc esi
cmp esi, 0x11915
jl 0x401908
mov edx, dword [0x42939c]
mov dword [0x848528], edx
call fcn.004015f0
mov esi, dword [sym.imp.KERNEL32.dll_GetVolumePathNameA]
mov edi, 0x3078f
pop ebx
cmp dword [0x848528], 0x51f
jne 0x40195e
push 0
lea eax, [ebp - 0x424]
push eax
push str.mucaxokacahocehasupa
call esi
sub edi, 1
jne 0x401942
mov eax, dword [0x847478]
mov dword [0x847abc], eax
call eax
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x40445b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x428218]
jne 0x404465
repz ret
jmp fcn.0040905c
Function at 0x40a7cf
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.004057a5
and dword [ebp - 4], 0
cmp dword [0x42a1e8], 0
mov ebx, eax
jne 0x40a880
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40a931
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40a931
push eax
call fcn.00405733
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42a1e8], eax
call esi
push eax
call fcn.00405733
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x42a1ec], eax
call esi
push eax
call fcn.00405733
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42a1f0], eax
call esi
push eax
call fcn.00405733
pop ecx
mov dword [0x42a1f8], eax
test eax, eax
je 0x40a880
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00405733
pop ecx
mov dword [0x42a1f4], eax
mov eax, dword [0x42a1f4]
cmp eax, ebx
je 0x40a8d8
cmp dword [0x42a1f8], ebx
je 0x40a8d8
push eax
call fcn.004057ae
push dword [0x42a1f8]
mov esi, eax
call fcn.004057ae
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40a8d8
test edi, edi
je 0x40a8d8
call esi
test eax, eax
je 0x40a8cf
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40a8cf
test byte [ebp - 0xc], 1
jne 0x40a8d8
or dword [ebp + 0x10], 0x200000
jmp 0x40a911
mov eax, dword [0x42a1ec]
cmp eax, ebx
je 0x40a911
push eax
call fcn.004057ae
pop ecx
test eax, eax
je 0x40a911
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40a911
mov eax, dword [0x42a1f0]
cmp eax, ebx
je 0x40a911
push eax
call fcn.004057ae
pop ecx
test eax, eax
je 0x40a911
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42a1e8]
call fcn.004057ae
pop ecx
test eax, eax
je 0x40a931
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40a933
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40b0d4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1000
call fcn.0041ccb0
push edi
mov edi, dword [ebp + 8]
cmp word [edi], 0
jne 0x40b0f2
xor al, al
jmp 0x40b274
push esi
push edi
call fcn.0040b286
push edi
call fcn.00421f05
pop ecx
push edi
mov esi, eax
call fcn.0040b2b2
test al, al
je 0x40b192
push edi
call fcn.0040b286
test al, al
je 0x40b141
lea eax, [esi + 4]
cmp dword [ebp + 0x10], eax
jbe 0x40b18b
mov esi, dword [ebp + 0xc]
push 4
push str.__
push esi
call fcn.004233f1
lea eax, [esi + 8]
push edi
push eax
call fcn.00421ee3
add esp, 0x14
jmp 0x40b184
push 0x5c
pop eax
cmp word [edi], ax
jne 0x40b18b
add edi, 2
cmp word [edi], ax
jne 0x40b18b
lea eax, [esi + 6]
cmp dword [ebp + 0x10], eax
jbe 0x40b18b
mov esi, dword [ebp + 0xc]
push 4
push str.__
push esi
call fcn.004233f1
lea eax, [esi + 8]
push 0x4305dc
push eax
call fcn.00421ee3
lea eax, [esi + 0xe]
push edi
push eax
call fcn.00421ee3
add esp, 0x1c
mov al, 1
jmp 0x40b273
xor al, al
jmp 0x40b273
push ebx
lea eax, [ebp - 0x1000]
mov ebx, 0x7ff
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x40b270
cmp eax, ebx
ja 0x40b270
movzx eax, word [edi]
push eax
call fcn.0040b38d
test al, al
je 0x40b200
lea eax, [esi + 6]
cmp dword [ebp + 0x10], eax
jbe 0x40b270
mov esi, dword [ebp + 0xc]
push 4
push str.__
push esi
call fcn.004233f1
push 2
lea eax, [ebp - 0x1000]
push eax
lea eax, [esi + 8]
push eax
call fcn.004233f1
lea eax, [esi + 0xc]
push edi
push eax
call fcn.00421ee3
add esp, 0x20
jmp 0x40b26c
push 0x800
lea eax, [ebp - 0x1000]
push eax
call fcn.0040ac5e
lea eax, [ebp - 0x1000]
push eax
call fcn.00421f05
add eax, 4
add eax, esi
pop ecx
cmp dword [ebp + 0x10], eax
jbe 0x40b270
mov esi, dword [ebp + 0xc]
push 4
push str.__
push esi
call fcn.004233f1
lea eax, [ebp - 0x1000]
push eax
lea eax, [esi + 8]
push eax
call fcn.00421ee3
add esp, 0x14
cmp word [edi], 0x2e
jne 0x40b262
movzx eax, word [edi + 2]
push eax
call fcn.0040b38d
test al, al
je 0x40b262
add edi, 4
push dword [ebp + 0x10]
push edi
push esi
call fcn.0040eefb
mov al, 1
jmp 0x40b272
xor al, al
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x40be57
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
xor eax, eax
push ebx
push esi
mov esi, dword [esp + 0x10]
xor ebx, ebx
inc eax
mov cl, bl
cmp esi, eax
jbe 0x40be74
xor cl, byte [eax + edx]
inc eax
cmp eax, esi
jb 0x40be6c
cmp cl, byte [edx]
jne 0x40beaf
push esi
push edx
push 0xffffffffffffffff
call fcn.00405d7e
not eax
mov ecx, ebx
cmp dword [ecx + 0x43a02c], eax
jne 0x40be95
cmp dword [ecx + 0x43a028], esi
je 0x40bea0
add ecx, 0xc
inc ebx
cmp ecx, 0x48
jb 0x40be85
jmp 0x40beaf
imul eax, ebx, 0xc
mov ecx, dword [eax + 0x43a030]
mov eax, dword [esp + 0x14]
mov dword [eax], ecx
pop esi
pop ebx
ret 0xc