joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40cf40
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xa000]
push edi
jmp 0x40cf5a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40cf61
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40cf50
mov eax, 1
add ebx, ebx
jne 0x40cf73
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40cf68
jne 0x40cf84
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40cf68
xor ecx, ecx
sub eax, 3
jb 0x40cf98
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40d00a
mov ebp, eax
add ebx, ebx
jne 0x40cfa3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40cfb0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40cfd4
inc ecx
add ebx, ebx
jne 0x40cfc0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40cfb5
jne 0x40cfd1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40cfb5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40cff4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40cfe5
jmp 0x40cf56
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40cff4
add edi, ecx
jmp 0x40cf56
pop esi
mov edi, esi
mov ecx, 0x1f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40d012
cmp byte [edi], 1
jne 0x40d012
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 0x40d017
lea edi, [esi + 0xa000]
mov eax, dword [edi]
or eax, eax
je 0x40d08f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x11a18]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x11aa0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40d044
mov ecx, edi
jns 0x40d073
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 + 0x11aa8]
or eax, eax
je 0x40d089
mov dword [ebx], eax
add ebx, 4
jmp 0x40d061
call dword [esi + 0x11aa4]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x40d0c0
cmp al, 0xef
ja 0x40d0b3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x40d095
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x40d0a2
mov ebp, dword [esi + 0x11aac]
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 0x40d0f4
sub esp, 0xffffff80
jmp 0x4028f0

Function at 0x408903
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x4085d8
sub edx, edx
call fcn.00408925
xor dword [eax], esi
sub edi, 1
inc eax
add edx, edx
cmp eax, ecx
jne fcn.00408903
ret
Function at 0x401108
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x428004]
jne 0x401112
repz ret
jmp fcn.004014b2

Function at 0x4041ab
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x428004]
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.004029d8
and dword [ebp - 0x14], 0
cmp dword [0x42a9d0], 0
mov dword [ebp - 0x18], eax
jne 0x40425e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x404306
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x404306
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x42a9d0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x42a9d4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x42a9d8], eax
call edi
push eax
call esi
mov dword [0x42a9e0], eax
test eax, eax
je 0x40425e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x42a9dc], eax
mov eax, dword [0x42a9dc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4042b7
cmp dword [0x42a9e0], ecx
je 0x4042b7
push eax
call esi
push dword [0x42a9e0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4042b7
test ebx, ebx
je 0x4042b7
call edi
test eax, eax
je 0x4042ae
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4042ae
test byte [ebp - 8], 1
jne 0x4042b7
or dword [ebp + 0x10], 0x200000
jmp 0x4042ea
mov eax, dword [0x42a9d4]
cmp eax, dword [ebp - 0x18]
je 0x4042ea
push eax
call esi
test eax, eax
je 0x4042ea
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4042ea
mov eax, dword [0x42a9d8]
cmp eax, dword [ebp - 0x18]
je 0x4042ea
push eax
call esi
test eax, eax
je 0x4042ea
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x42a9d0]
call esi
test eax, eax
je 0x404306
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x404308
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401108
leave
ret
Function at 0x416af0
Capabilities:
Create pipe

Disassembly:
mov eax, dword [eax]
sub esp, 0x10
push ebx
mov ebx, dword [0x42c77c]
push edi
mov edi, dword [0x42ebfc]
call fcn.00416a70
cmp dword [0x42ebfc], 0x2f
jne 0x416b4f
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
call fcn.00416aa0
pop edi
pop ebx
add esp, 0x10
ret
Function at 0x416fb0
Capabilities:
Get disk information
Manipulate console buffer

Disassembly:
sub esp, 0x810
mov eax, dword [0x428004]
xor eax, esp
mov dword [esp + 0x80c], eax
mov eax, dword [0x42ebfc]
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
mov ebp, 0x1519a5
mov ebx, 0x8e46a6f0
mov dword [0x42e864], ebx
cmp eax, 0x3dc
jne 0x41700a
xor eax, eax
lea edx, [esp + 0x14]
push edx
push eax
push eax
push eax
push eax
mov dword [esp + 0x24], eax
call esi
push 0
call edi
mov eax, dword [0x42ebfc]
dec ebp
jne 0x416fe3
mov edi, dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov ebx, dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
xor esi, esi
or ebp, 0xffffffff
mov edi, edi
cmp eax, 0xa5f
jne 0x417057
push 0
call edi
push 0
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x28]
push ecx
push 0
lea edx, [esp + 0x434]
push edx
push str.dojiyizemukejuwoxovadanol
call ebx
mov eax, dword [0x42ebfc]
cmp esi, 0x84620b
jne 0x41706e
mov eax, dword [0x429940]
add eax, 0xa231
mov dword [0x42ebfc], eax
cmp eax, 0x141
jne 0x417085
mov dword [0x42af08], 0xec58acac
mov dword [0x42af0c], ebp
inc esi
cmp esi, 0x12cad2a
jl 0x417020
call fcn.00416b60
mov ecx, dword [esp + 0x81c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00401108
add esp, 0x810
ret 0x10

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 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCRT.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x402bf1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x402c00
pop dword [ebp - 0x44]
mov eax, 0x402c00
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0x70ea1f2b
add dword [ebp - 0x54], 0xdd682620
mov dword [ebp - 0x50], 0x6d06afd6
add dword [ebp - 0x50], 0xc52c9c6f
mov dword [ebp - 0x4c], 0x210a2efa
sub dword [ebp - 0x4c], 0xd4bdeacc
mov dword [ebp - 0x48], 0x28ad57b7
add dword [ebp - 0x48], 0xd752a849
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], 0xd9049650
sub dword [ebp - 0x54], 0x64922cfa
mov dword [ebp - 0x50], 0x44cf631e
sub dword [ebp - 0x50], 0x36301a9
mov dword [ebp - 0x4c], 0xcaa3dc69
add dword [ebp - 0x4c], 0x98cb9003
mov dword [ebp - 0x48], 0xf5f291e7
add dword [ebp - 0x48], 0xa0d6e19
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, 0x42e3b811
sub eax, 0x42a34769
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x36cfa
push 0
call eax
mov ecx, 0x487d
xor edi, edi
add edi, eax
mov esi, 0x410000
add esi, dword [ebp - 0x44]
mov ebx, 0xdb34e5ee
sub dword [ebp - 0x20], ecx
mov edx, dword [esi]
sub dword [ebp - 0x40], 0x234adfa9
add edx, ebx
mov dword [edi], edx
xor dword [ebp - 0x20], ecx
add edi, 4
add esi, 0xad4802c1
sub esi, 0xad4802bd
loop 0x402d08
add eax, 0x114c7
mov ebx, eax
add eax, 5
mov ecx, 0xd65929e3
add ecx, 0x29e6d61d
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0xc52027
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0xc7b094]
xor eax, ebp
mov dword [ebp + 0x194], eax
push esi
xor eax, eax
xor esi, esi
push 0x206
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x72]
push esi
push eax
mov dword [ebp - 0x7c], esi
call fcn.00c62ab0
add esp, 0xc
mov dword [ebp - 0x78], esi
cmp ebx, esi
je 0xc520d9
push edi
mov edi, 0xc76bbc
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, si
jne 0xc52072
sub eax, edx
sar eax, 1
je 0xc520d8
lea eax, [ebp - 0x74]
push eax
mov esi, 0x104
push esi
call dword [fcn.00c73124]
push edi
lea eax, [ebp - 0x74]
push esi
push eax
call fcn.00c60f1d
push 0xc76bb4
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.00c609c4
add esp, 0x18
cmp dword [ebp - 0x78], 0
je 0xc520d8
push dword [ebp - 0x78]
xor esi, esi
inc esi
push esi
push 0x200
push ebx
call fcn.00c6123a
push dword [ebp - 0x78]
call fcn.00c60c72
add esp, 0x14
mov dword [ebp - 0x7c], esi
pop edi
mov ecx, dword [ebp + 0x194]
mov eax, dword [ebp - 0x7c]
xor ecx, ebp
pop esi
call fcn.00c60748
add ebp, 0x198
leave
ret

Function at 0xc52266
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
xor edi, edi
push 0x3e8
mov dword [ebp - 4], edi
call dword [0xc73140]
push 0xc76bb4
mov esi, 0xc7dde8
lea eax, [ebp - 4]
push esi
push eax
call fcn.00c609c4
add esp, 0xc
cmp dword [ebp - 4], edi
je 0xc52374
push ebx
push 2
push edi
push dword [ebp - 4]
call fcn.00c616af
push dword [ebp - 4]
call fcn.00c618d1
mov edi, eax
push edi
call fcn.00c6193f
push 0
push 0
push dword [ebp - 4]
mov ebx, eax
mov dword [ebp - 8], ebx
call fcn.00c616af
push dword [ebp - 4]
push edi
push 1
push ebx
call fcn.00c6123a
add esp, 0x30
cmp edi, eax
jne 0xc52355
call dword [0xc7312c]
push eax
call fcn.00c615f1
pop ecx
call fcn.00c61603
mov dword [ebp - 0xc], eax
fild dword [ebp - 0xc]
fmul qword [0xc78d90]
fmul qword [0xc78d88]
fadd qword [0xc78d80]
call fcn.00c63350
cmp edi, eax
jl 0xc52355
sub ebx, eax
push eax
add ebx, edi
call fcn.00c52224
push dword [ebp - 4]
call fcn.00c60c72
pop ecx
pop ecx
push esi
call dword [0xc7311c]
push 0xc768c4
lea eax, [ebp - 4]
push esi
push eax
call fcn.00c609c4
add esp, 0xc
cmp dword [ebp - 4], 0
je 0xc52373
push dword [ebp - 4]
push edi
push 1
push dword [ebp - 8]
call fcn.00c60b79
add esp, 0x10
cmp dword [ebp - 4], 0
je 0xc52364
push dword [ebp - 4]
call fcn.00c60c72
pop ecx
cmp dword [ebp - 8], 0
je 0xc52373
push dword [ebp - 8]
call fcn.00c6073d
pop ecx
pop ebx
pop edi
pop esi
leave
ret
Function at 0xc53d32
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
push esi
push edi
mov esi, eax
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
cmp dword [ebp + 8], ebx
je 0xc53df7
cmp esi, 0xa
jb 0xc53df7
shl eax, 2
mov dword [ebp - 0xc], eax
inc eax
push eax
call fcn.00c607a6
pop ecx
mov ebx, eax
push ebx
push esi
push dword [ebp + 8]
lea edi, [ebp - 0xc]
call fcn.00c53cc4
add esp, 0xc
test eax, eax
je 0xc53dee
push 0xc768c4
push dword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
call fcn.00c609c4
add esp, 0xc
cmp dword [ebp - 4], 0
jne 0xc53d9e
mov dword [ebp - 8], 0xfffffffe
jmp 0xc53e0a
push dword [ebp - 4]
push dword [ebp - 0xc]
push 1
push ebx
call fcn.00c60b79
add esp, 0x10
cmp eax, dword [ebp - 0xc]
je 0xc53dbd
mov dword [ebp - 8], 0xfffffffe
jmp 0xc53dfb
mov esi, dword [0xc7312c]
call esi
xor edx, edx
mov ecx, 0x1f4
div ecx
mov edi, edx
call esi
xor edx, edx
mov ecx, 0x3e8
div ecx
push dword [ebp - 4]
push edi
push 1
add edx, ebx
push edx
call fcn.00c60b79
add esp, 0x10
jmp 0xc53dfb
mov dword [ebp - 8], 0xfffffffd
jmp 0xc53dfb
or dword [ebp - 8], 0xffffffff
cmp dword [ebp - 4], 0
je 0xc53e0a
push dword [ebp - 4]
call fcn.00c60c72
pop ecx
test ebx, ebx
je 0xc53e15
push ebx
call fcn.00c60870
pop ecx
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret

Function at 0xc555a9
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push edi
mov edi, edx
test ecx, ecx
jne 0xc555b4
xor eax, eax
pop edi
ret
push esi
not eax
mov edx, 0xff
cmp edi, 8
jb 0xc55666
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 + 0xc78720]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0xc78720]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0xc78720]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0xc78720]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0xc78720]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0xc78720]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0xc78720]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0xc78720]
inc ecx
sub edi, 8
dec esi
jne 0xc555cb
pop ebx
test edi, edi
je 0xc5567f
movzx esi, byte [ecx]
xor esi, eax
and esi, edx
shr eax, 8
xor eax, dword [esi*4 + 0xc78720]
inc ecx
dec edi
jne 0xc5566a
pop esi
not eax
pop edi
ret

Function at 0xc55684
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 + 0xc78720]
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 + 0xc78720]
pop esi
mov dword [ecx + 8], eax
ret
Function at 0x40cc7b
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x434ad7
call fcn.004339e0
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.004028e9
and dword [ebp - 4], 0
lea ecx, [esi + 0xc]
call fcn.004028e9
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.004028e9
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 2
call fcn.004028e9
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 3
call fcn.004028e9
and byte [esi + 0x3c], 0
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 4
call fcn.004028e9
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 5
call fcn.004028e9
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x40d3e4
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x434bff
call fcn.004339e0
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.004029bc
and dword [ebp - 4], 0
lea eax, [edi + 0xc]
push eax
lea ecx, [esi + 0xc]
call fcn.004029bc
lea eax, [edi + 0x18]
lea ecx, [esi + 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.004029bc
lea eax, [edi + 0x24]
lea ecx, [esi + 0x24]
push eax
mov byte [ebp - 4], 2
call fcn.004029bc
lea eax, [edi + 0x30]
lea ecx, [esi + 0x30]
push eax
mov byte [ebp - 4], 3
call fcn.004029bc
mov al, byte [edi + 0x3c]
lea ecx, [esi + 0x40]
mov byte [esi + 0x3c], al
lea eax, [edi + 0x40]
push eax
mov byte [ebp - 4], 4
call fcn.004029bc
add edi, 0x4c
lea ecx, [esi + 0x4c]
push edi
mov byte [ebp - 4], 5
call fcn.004029bc
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x40dd71
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x40dd80
pop dword [ebp - 0xc]
mov eax, 0x44218c54
add eax, 0xbc1f512c
sub dword [ebp - 0xc], eax
push 0x40
push 0x1000
push 0x3c887
push 0
mov eax, 0x83c472c8
add eax, 0x7c7f0d68
add eax, dword [ebp - 0xc]
call dword [eax]
mov ecx, 0x4f7a
xor edi, edi
add edi, eax
mov edx, 0x44c600
add edx, dword [ebp - 0xc]
mov esi, 0x619f26e8
add esi, 0x3f375b0f
sub dword [ebp - 8], ecx
mov ebx, dword [edx]
add dword [ebp - 4], edi
sub ebx, esi
xor dword [ebp - 8], edi
mov dword [edi], ebx
mov dword [ebp - 8], 0x366d0261
add edi, 4
add edx, 0xec8c469
add edx, 0xf1373b9b
loop 0x40ddd5
add eax, 0x130bb
mov ebx, eax
add eax, 0x578c312f
add eax, 0xa873ced6
mov ecx, 0x7081896c
add ecx, 0x8fbe7694
add ecx, dword [ebp - 0xc]
call ebx
leave
ret

Function at 0x412d32
Capabilities:
Encode data using xor

Disassembly:
push esi
or eax, 0xffffffff
xor esi, esi
test edx, edx
jbe 0x412d5f
push ebx
push edi
movzx edi, byte [esi + ecx]
mov ebx, eax
and ebx, 0xff
xor edi, ebx
shr eax, 8
mov edi, dword [edi*4 + 0x444740]
xor eax, edi
inc esi
cmp esi, edx
jb 0x412d3e
pop edi
pop ebx
not eax
pop esi
ret
Function at 0x401030
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
jmp loc.0045be22

Function at 0x401330
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7f4
push ebx
push esi
push edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x79c], 4
mov dword [ebp - 0x784], 0x80000000
mov dword [ebp - 0x798], 0x20019
mov eax, dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x72c], eax
pushal
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x790], 0x12d
mov dword [ebp - 0x28], 0x14
mov dword [ebp - 0x7f4], str.FFFTWAREFFasses
mov dword [ebp - 0x7a4], str.yysid0afaced1_e828_11d1_9187_b532f1e9575dinprocserver32
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x790], 0x12c
mov dword [ebp - 0x28], 0x13
mov ecx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov dword [0x4380c8], ecx
mov edx, dword [ebp - 0x7f4]
mov byte [edx], 0x53
mov eax, dword [ebp - 0x7f4]
mov byte [eax + 1], 0x4f
mov ecx, dword [ebp - 0x7f4]
mov byte [ecx + 2], 0x46
mov edx, dword [ebp - 0x7f4]
mov byte [edx + 9], 0x43
mov eax, dword [ebp - 0x7f4]
mov byte [eax + 0xa], 0x6c
lea ecx, [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x7f4]
push edx
push 0x80000002
call dword [0x4380c8]
test eax, eax
je 0x40142b
xor eax, eax
jmp 0x4016cd
mov eax, dword [ebp - 0x7a4]
mov byte [eax], 0x63
mov ecx, dword [ebp - 0x7a4]
mov byte [ecx + 1], 0x6c
lea edx, [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x7a4]
push eax
push 0x80000000
call dword [0x4380c8]
test eax, eax
je 0x40145f
xor eax, eax
jmp 0x4016cd
push 1
mov ecx, dword [0x4380c4]
push ecx
call fcn.004019b0
add esp, 8
mov dword [0x4380d4], eax
mov edx, dword [0x4380d4]
push edx
call fcn.00401970
add esp, 4
mov dword [ebp - 0x794], eax
mov eax, dword [0x4380d4]
mov dword [ebp - 0x734], eax
mov ecx, dword [ebp - 4]
jmp 0x45b711
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4016e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov dword [ebp - 0x114], str.55222
mov eax, dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [ebp - 0x11c], eax
push 0x104
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edx, dword [ebp - 0x114]
push edx
lea eax, [ebp - 0x110]
push eax
call dword [ebp - 0x11c]
push 0
push 0x80
push 3
push 0
push 3
push 1
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0xffffffff
je 0x40175a
cmp dword [ebp - 0x118], 0
je 0x40175a
jmp 0x4017bc
mov edx, dword [ebp + 8]
cmp dword [edx + 4], 0
je 0x4017bc
mov dword [ebp - 0x120], 0x1046a
mov eax, dword [ebp + 8]
add eax, 8
mov dword [0x4380b4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov dword [0x4380d0], edx
mov dword [ebp - 0x120], 0x1046a
mov dword [ebp - 0x120], 0x1046a
call fcn.004011f0
mov eax, dword [ebp + 8]
mov dword [0x4380cc], eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 1
jmp 0x45d0fa
mov esp, ebp
pop ebp
ret
Function at 0x4017c0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x19c
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push 0x19c
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push 0x19c
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push 0x19c
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push 0x19c
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
je 0x401810
xor eax, eax
jmp 0x4018f1
jmp loc.0045d80b
mov esp, ebp
pop ebp
ret

Function at 0x401ad0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [0x4380c0], 0x24e1
mov eax, dword [0x4380c0]
sub eax, 0x24e1
mov dword [0x4380c0], eax
jmp loc.0045b96c

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