joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404735
Capabilities:
Accept command line arguments
Check if file exists

Disassembly:
push 0x230
mov eax, 0x406928
call fcn.0040545b
xor eax, eax
mov byte [ebp - 0x231], al
mov dword [ebp - 0x23c], eax
lea eax, [ebp - 0x23c]
push eax
call dword [sym.imp.kernel32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
test ebx, ebx
je 0x4048ac
push str.__alloweddir
mov byte [ebp - 0x231], 1
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
mov esi, eax
xor eax, eax
mov edi, eax
mov dword [ebp - 0x238], esi
pop ecx
cmp dword [ebp - 0x23c], eax
jle 0x4048a5
cmp dword [ebx + edi*4], 0
je 0x404898
push esi
push str.__alloweddir
push dword [ebx + edi*4]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x404898
mov eax, dword [ebx + edi*4]
xor ecx, ecx
mov byte [ebp - 0x231], cl
lea esi, [eax + esi*2]
cmp word [esi], cx
je 0x404892
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
pop ecx
cmp eax, 0x104
jae 0x404892
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x404892
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x404892
lea eax, [ebp - 0x230]
push esi
push eax
call fcn.004035ed
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [ebp - 0x220], eax
je 0x404883
mov ecx, 0x104
cmp dword [ebp - 0x220], ecx
jae 0x404883
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push ecx
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
add esp, 0xc
test eax, eax
jne 0x404883
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
test eax, eax
je 0x404883
lea eax, [ebp - 0x218]
mov ecx, section..data
push eax
call fcn.00404a3b
mov byte [ebp - 0x231], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00401780
mov esi, dword [ebp - 0x238]
inc edi
cmp edi, dword [ebp - 0x23c]
jl 0x40479b
push ebx
call dword [sym.imp.kernel32.dll_LocalFree]
mov al, byte [ebp - 0x231]
call fcn.00405416
ret

Function at 0x404ace
Capabilities:
Accept command line arguments

Disassembly:
push esi
push 1
call fcn.004035ed
pop ecx
push 2
call dword [sym.imp.kernel32.dll_SetErrorMode]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
call dword [sym.imp.kernel32.dll_GetCommandLineW]
mov esi, eax
call fcn.00404735
test al, al
jne 0x404afd
xor eax, eax
inc eax
jmp 0x404b0c
push esi
call fcn.00404935
pop ecx
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
pop esi
ret 0x10
Function at 0x40158f
Capabilities:
Enumerate pe sections
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
push esi
push edi
call sub.KERNEL32.dll_GetTickCount
lea eax, [ebp - 0x104]
push eax
push 0x104
call sub.KERNEL32.dll_GetTempPathA

Function at 0x4015b0
Capabilities:
Enumerate pe sections

Disassembly:
cmp byte [ebp - 0x104], 0
jne 0x4016ff
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
rcl byte [edi - 0x73], cl
inc esp
or byte [eax], bl
cmp byte [ebp - 0x104], 0
jne 0x40188e
add byte [eax], al
add byte [ebx - 0x3ca2e73c], al
int3
push 0
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_GetFileAttributesExA
call sub.KERNEL32.dll_GetLastError
mov esi, eax
mov ecx, dword [0x423dd2]
inc ecx
cdq
idiv ecx
mov edi, eax
and edi, 0xffffffa8
mov dword [ebp - 0x108], edi
or esi, esi
jne 0x4019d7
or ebp, dword [eax]
add dword [eax], eax
add bh, bh
jne 0x4018dc
push edx
jmp 0x4018e6
pop ss
push 0x100
push dword [ebp + 0xc]
push ecx
push dword [0x662b2010]
call dword [0x662b1034]
jmp 0x4018fc
pop esi
pop ebp
ret 8
mov eax, dword [ebp - 0x108]
pop edi
pop esi
leave
ret
Function at 0x469710
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x56000]
push edi
jmp 0x46972a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x469731
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x469720
mov eax, 1
add ebx, ebx
jne 0x469743
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x469754
jne 0x469773
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x469773
dec eax
add ebx, ebx
jne 0x469760
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x469738
add ebx, ebx
jne 0x46976f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4697c5
xor ecx, ecx
sub eax, 3
jb 0x46978b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4697fa
sar eax, 1
mov ebp, eax
jmp 0x469796
add ebx, ebx
jne 0x469796
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x469764
inc ecx
add ebx, ebx
jne 0x4697a4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x469764
add ebx, ebx
jne 0x4697b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4697a6
jne 0x4697c2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4697a6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4697e4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4697d6
jmp 0x469726
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4697e4
add edi, ecx
jmp 0x469726
pop esi
mov edi, esi
mov ecx, 0x1fe9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x469802
cmp byte [edi], 6
jne 0x469802
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 0x469807
lea edi, [esi + 0x66000]
mov eax, dword [edi]
or eax, eax
je 0x46987f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x69000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x69118]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x469834
mov ecx, edi
jns 0x469863
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 + 0x6911c]
or eax, eax
je 0x469879
mov dword [ebx], eax
add ebx, 4
jmp 0x469851
call dword [esi + 0x6912c]
mov ebp, dword [esi + 0x69120]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x4698b3
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x40216b
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
call main
jmp 0x402175
push 0x14
push 0x411788
call fcn.00405300
call main
movzx esi, ax
push 2
call main
pop ecx
mov eax, 0x5a4d
cmp word [0x400000], ax
je 0x4021a3
xor ebx, ebx
jmp 0x4021d6
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x40219f
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x40219f
xor ebx, ebx
cmp dword [eax + 0x400074], 0xe
jbe 0x4021d6
cmp dword [eax + 0x4000e8], ebx
setne bl
mov dword [ebp - 0x1c], ebx
call fcn.004048ef
test eax, eax
jne 0x4021ea
push 0x1c
call main
pop ecx
call fcn.00403b58
test eax, eax
jne 0x4021fb
push 0x10
call main
pop ecx
call fcn.004051cc
and dword [ebp - 4], 0
call fcn.00404904
test eax, eax
jns 0x402215
push 0x1b
call main
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x4162e8], eax
call main
mov dword [0x414430], eax
call main
test eax, eax
jns 0x40223b
push 8
call main
pop ecx
call fcn.00404de7
test eax, eax
jns 0x40224c
push 9
call main
pop ecx
push 1
call main
pop ecx
test eax, eax
je 0x40225f
push eax
call main
pop ecx
call fcn.00405299
push esi
push eax
push 0
push 0x400000
call main
mov esi, eax
mov dword [ebp - 0x24], esi
test ebx, ebx
jne 0x402281
push esi
call main
call fcn.00404663
jmp 0x4022b6
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
call fcn.00405345
ret

Function at 0x40af3c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x40af4b
pop dword [ebp - 0x44]
mov eax, 0x84d05f0a
add eax, 0x7b705041
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0x23749158
add dword [ebp - 0x54], 0x2addb3f3
mov dword [ebp - 0x50], 0x1274b0ee
add dword [ebp - 0x50], 0x1fbe9b57
mov dword [ebp - 0x4c], 0x954b5392
add dword [ebp - 0x4c], 0xb700f09c
mov dword [ebp - 0x48], 0xf0740b25
add dword [ebp - 0x48], 0xf8bf4db
lea eax, [ebp - 0x54]
push eax
mov eax, 0x4df59d1f
sub eax, 0x4db4cceb
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0xb58ca7df
add dword [ebp - 0x54], 0xbee5c177
mov dword [ebp - 0x50], 0xc658d14a
add dword [ebp - 0x50], 0x7b13902b
mov dword [ebp - 0x4c], 0x8f9b6f93
sub dword [ebp - 0x4c], 0x2c2c0327
mov dword [ebp - 0x48], 0xfebc98b9
add dword [ebp - 0x48], 0x1436747
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, 0x4fa98b89
add eax, 0xb09744a7
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x3855d
push 0
call eax
mov ecx, 0x69515b66
add ecx, 0x96aee8c2
xor ebx, ebx
add ebx, eax
mov esi, 0x2013250b
add esi, 0xe02eeaf5
add esi, dword [ebp - 0x44]
mov edx, 0xccac49b0
add edx, 0x485fb4b6
add dword [ebp - 0x40], 0x44cbbb49
mov edi, dword [esi]
sub dword [ebp - 0x30], 0x16ef6966
xor edi, edx
add dword [ebp - 0x34], 0xfcfd0e32
mov dword [ebx], edi
sub dword [ebp - 0x30], 0x59366051
add ebx, 4
add esi, 4
loop 0x40b06f
add eax, 0x10373
xor ebx, ebx
add ebx, eax
add eax, 0x6c5614f4
add eax, 0x93a9eb11
mov ecx, 0x400000
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x4035e1
Capabilities:
Delete file
Read .ini file

Disassembly:
mov eax, 0x1000
call fcn.00406cb0
push ebx
push ebp
push esi
push edi
push dword [0x40da28]
mov edi, dword [sym.imp.kernel32.dll_GetPrivateProfileStringA]
mov ebp, 0x1000
lea eax, [esp + 0x14]
push ebp
mov ebx, 0x40c444
push eax
push ebx
mov esi, 0x40be44
push str.title
push esi
call edi
lea eax, [esp + 0x10]
push 0x50
push eax
push 0x40c580
call fcn.00403e4a
add esp, 0xc
lea eax, [esp + 0x10]
push dword [0x40da28]
push ebp
push eax
push ebx
push str.info
push esi
call edi
lea eax, [esp + 0x10]
push ebp
push eax
push 0x40c700
call fcn.00403e4a
add esp, 0xc
push dword [0x40da28]
push 0x50
push 0x40d8a0
push ebx
push str.build_info
push esi
call edi
push dword [0x40da28]
mov ebp, dword [sym.imp.kernel32.dll_GetPrivateProfileIntA]
push 1
push str.target_compile
push esi
call ebp
push dword [0x40da28]
mov dword [0x40c458], eax
push 1
push str.target_optimize
push esi
call ebp
push dword [0x40da28]
mov dword [0x40d898], eax
push 0xa
push 0x40d8f0
push ebx
push str.target_version
push esi
call edi
push dword [0x40da28]
push 0x50
push 0x40d840
push ebx
push str.name
push str.metadata
call edi
push dword [0x40da28]
push 0x104
push 0x40c5e0
push ebx
push str.install_script
push esi
call edi
push dword [0x40da28]
push 0xa
mov ebp, 0x40da40
push ebp
push ebx
push str.user_access_control
push esi
call edi
push str.force
push ebp
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
jne 0x403720
call fcn.00403e4a
test eax, eax
je 0x403786
call fcn.004034d3
test eax, eax
jne 0x403786
jmp 0x40374c
push str.auto
push ebp
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
jne 0x403753
call fcn.00403e4a
test eax, eax
je 0x403786
call fcn.004034d3
test eax, eax
jne 0x403786
call fcn.00403e4a
test eax, eax
je 0x403786
call fcn.00403e4a
jmp 0x4037c9
cmp byte [0x40da40], 0
je 0x403786
push str.none
push ebp
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
je 0x403786
push 0
push str.oops
push str.Bad_user_access_control_value
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0x40c580
call fcn.00403e4a
push eax
mov dword [0x40d900], eax
call fcn.00403e4a
pop ecx
pop ecx
push dword [0x40c564]
call dword [sym.imp.kernel32.dll_UnmapViewOfFile]
mov eax, dword [0x40da28]
test eax, eax
je 0x4037b9
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov eax, dword [0x40da4c]
test eax, eax
je 0x4037c9
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1000
ret
Function at 0x403938
Capabilities:
Create process on windows
Resume thread
Self delete

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
push ebx
push esi
push edi
lea eax, [ebp - 0x15c]
push 0x104
xor ebx, ebx
push eax
push ebx
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x260]
push str._s.bat
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
lea eax, [ebp - 0x260]
push 0x40bfd4
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, dword [sym.imp.MSVCRT.dll_fprintf]
push str.:Repeat_n
push eax
mov dword [ebp - 4], eax
call esi
lea eax, [ebp - 0x15c]
mov edi, str.del___s__n
push eax
push edi
push dword [ebp - 4]
call esi
lea eax, [ebp - 0x15c]
push eax
push str.if_exist___s__goto_Repeat_n
push dword [ebp - 4]
call esi
lea eax, [ebp - 0x260]
push eax
push edi
push dword [ebp - 4]
call esi
add esp, 0x40
push dword [ebp - 4]
call dword [sym.imp.MSVCRT.dll_fclose]
push 0x44
lea eax, [ebp - 0x58]
pop esi
push esi
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0x10
lea eax, [ebp - 0x14]
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x2c], 1
push eax
lea eax, [ebp - 0x58]
push eax
push 0x40b5c8
push ebx
push esi
push ebx
push ebx
lea eax, [ebp - 0x260]
push ebx
push eax
push ebx
mov word [ebp - 0x28], bx
call dword [sym.imp.kernel32.dll_CreateProcessA]
test eax, eax
je 0x403a57
mov esi, dword [sym.imp.kernel32.dll_SetThreadPriority]
push 0xfffffffffffffff1
push dword [ebp - 0x10]
call esi
push 0xf
call dword [sym.imp.kernel32.dll_GetCurrentThread]
push eax
call esi
push 0x80
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_SetPriorityClass]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.kernel32.dll_CloseHandle]
call esi
push dword [ebp - 0x10]
call dword [sym.imp.kernel32.dll_ResumeThread]
push dword [ebp - 0x10]
call esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403c88
Capabilities:
Delete file
Read file on windows

Disassembly:
mov eax, 0x1014
call fcn.00406cb0
push ebx
push esi
mov esi, dword [sym.imp.MSVCRT.dll_strchr]
push edi
push 0x5b
push dword [esp + 0x1028]
call esi
xor edi, edi
pop ecx
cmp eax, edi
pop ecx
je 0x403cc0
inc eax
push 0x5d
push eax
mov dword [esp + 0x18], eax
call esi
mov ebx, eax
pop ecx
cmp ebx, edi
pop ecx
jne 0x403cc7
xor eax, eax
jmp 0x403e40
and byte [ebx], 0
inc ebx
push ebx
push 0x40c330
mov dword [esp + 0x14], ebx
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
je 0x403e3d
push ebp
push edi
push edi
mov dword [esp + 0x24], str._remove
mov dword [esp + 0x28], edi
mov dword [esp + 0x20], ebx
call dword [sym.imp.MSVCRT.dll__tempnam]
mov esi, dword [sym.imp.MSVCRT.dll_freopen]
mov ebp, eax
mov eax, dword [sym.imp.MSVCRT.dll__iob]
mov edi, 0x40b9d4
add eax, 0x40
push eax
push edi
push ebp
call esi
add esp, 0x14
test eax, eax
jne 0x403d32
push eax
push eax
push str.freopen_stderr
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [sym.imp.MSVCRT.dll__iob]
add eax, 0x20
push eax
push edi
push ebp
call esi
add esp, 0xc
test eax, eax
jne 0x403d5a
push eax
push eax
push str.freopen_stdout
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push dword [esp + 0x14]
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x403d9f
lea eax, [esp + 0x18]
push eax
push 2
push ebx
push esi
call fcn.00403e4a
add esp, 0x10
cmp eax, 0x80000000
jne 0x403d98
mov eax, dword [sym.imp.MSVCRT.dll__iob]
push str._Could_not_load_Python_
add eax, 0x40
push eax
call dword [sym.imp.MSVCRT.dll_fprintf]
pop ecx
pop ecx
push esi
call dword [sym.imp.kernel32.dll_FreeLibrary]
mov eax, dword [sym.imp.MSVCRT.dll__iob]
mov edi, dword [sym.imp.MSVCRT.dll_fflush]
add eax, 0x40
push eax
call edi
mov eax, dword [sym.imp.MSVCRT.dll__iob]
mov esi, dword [sym.imp.MSVCRT.dll_fclose]
add eax, 0x40
push eax
call esi
mov eax, dword [sym.imp.MSVCRT.dll__iob]
add eax, 0x20
push eax
call edi
mov eax, dword [sym.imp.MSVCRT.dll__iob]
add eax, 0x20
push eax
call esi
push 0x40b970
push ebp
call dword [sym.imp.MSVCRT.dll_fopen]
mov edi, eax
lea eax, [esp + 0x3c]
push edi
push 0x1000
push 1
push eax
call dword [sym.imp.MSVCRT.dll_fread]
push edi
mov ebx, eax
call esi
push ebp
call dword [sym.imp.MSVCRT.dll_remove]
and byte [esp + ebx + 0x54], 0
add esp, 0x30
cmp byte [esp + 0x24], 0
pop ebp
je 0x403e2d
push 0
lea eax, [esp + 0x24]
push str.uninstall_script
push eax
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push dword [esp + 0xc]
push 0x40c330
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
push 1
pop eax
pop edi
pop esi
pop ebx
add esp, 0x1014
ret
Function at 0x4080a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x4080af
pop dword [ebp - 0x34]
mov eax, 0x7f86c3d8
sub eax, 0x7f464329
sub dword [ebp - 0x34], eax
push 0x40
push 0x1000
push 0x3d38d
push 0
mov eax, 0x97197cec
sub eax, 0x96d79ad8
add eax, dword [ebp - 0x34]
call dword [eax]
mov ecx, 0x4624
mov ebx, eax
mov edi, 0x5d0a8bba
add edi, 0xa338f446
add edi, dword [ebp - 0x34]
mov edx, 0xb9b0d724
add dword [ebp - 8], 0xf1474d85
mov esi, dword [edi]
xor dword [ebp - 0x18], edx
add esi, edx
mov dword [ebp - 8], 0x8092e649
mov dword [ebx], esi
sub dword [ebp - 8], eax
add ebx, 0xd310f4f4
sub ebx, 0xd310f4f0
add edi, 0x5a59f88f
sub edi, 0x5a59f88b
loop 0x408102
add eax, 0x10b63
mov ebx, eax
add eax, 0x6cb31a8
sub eax, 0x6cb31a3
mov ecx, 0x7e343f66
add ecx, 0x820bc09a
add ecx, dword [ebp - 0x34]
call ebx
leave
ret

Function at 0x401645
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x401654
pop dword [ebp - 0x34]
mov eax, 0x401654
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0xaefe2639
sub dword [ebp - 0x44], 0x60abe0ee
mov dword [ebp - 0x40], 0x298f5b8f
add dword [ebp - 0x40], 0x8a3f0b6
mov dword [ebp - 0x3c], 0x6080a5a5
add dword [ebp - 0x3c], 0xebcb9e89
mov dword [ebp - 0x38], 0x97893f31
add dword [ebp - 0x38], 0x6876c0cf
lea eax, [ebp - 0x44]
push eax
mov eax, 0xb6721baf
sub eax, 0xb6314b63
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0x75ec99cb
sub dword [ebp - 0x44], 0x17a3075
mov dword [ebp - 0x40], 0x53da52c2
sub dword [ebp - 0x40], 0x126df14d
mov dword [ebp - 0x3c], 0x5126ced2
sub dword [ebp - 0x3c], 0xedb76266
mov dword [ebp - 0x38], 0x8e036cc4
sub dword [ebp - 0x38], 0x8e036cc4
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x39e75
push 0
call eax
mov ecx, 0xa368fb90
sub ecx, 0xa368b1d7
mov ebx, eax
mov esi, 0x322de67e
sub esi, 0x31ec367e
add esi, dword [ebp - 0x34]
mov edx, 0xb77090c4
add edx, 0x47292731
add dword [ebp - 0x10], 0xf88d58b8
mov edi, dword [esi]
xor dword [ebp - 0x20], edi
sub edi, edx
add dword [ebp - 0xc], ebx
mov dword [ebx], edi
xor dword [ebp - 0x18], edi
add ebx, 0xbf22ee8b
sub ebx, 0xbf22ee87
add esi, 4
loop 0x40176c
add eax, 0xd3909ea0
sub eax, 0xd38f84e9
mov ebx, eax
add eax, 0x8773094f
sub eax, 0x8773094a
mov ecx, 0x234360ee
add ecx, 0xdcfc9f12
add ecx, dword [ebp - 0x34]
call ebx
leave
ret

Function at 0x401b66
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410004]
jne 0x401b70
repz ret
jmp fcn.0040324d
Function at 0x401710
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 0x40178a
cmp dword [ebp - 0x118], 0
je 0x40178a
jmp 0x4017ec
mov edx, dword [ebp + 8]
cmp dword [edx + 4], 0
je 0x4017ec
mov dword [ebp - 0x120], 0x3c41
mov eax, dword [ebp + 8]
add eax, 8
mov dword [0x4360b4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov dword [0x4360d0], edx
mov dword [ebp - 0x120], 0x3c41
mov dword [ebp - 0x120], 0x3c41
call fcn.004011c0
mov eax, dword [ebp + 8]
mov dword [0x4360cc], eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 1
call fcn.00401a60
add esp, 0xc
mov dword [ebp + 8], eax
jmp 0x40178a
mov esp, ebp
pop ebp
ret

Function at 0x401aa0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [0x4360c0], 0x24e1
mov eax, dword [0x4360c0]
sub eax, 0x24e1
mov dword [0x4360c0], eax
mov ecx, 1
test ecx, ecx
je 0x401b4b
mov edx, dword [0x4360c0]
cmp edx, dword [ebp + 0xc]
jb 0x401ad7
jmp 0x401b4b
cmp dword [0x4360c0], 0
jne 0x401af5
push 0x263
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
test eax, eax
je 0x401af5
xor eax, eax
jmp 0x401b4b
mov eax, dword [ebp + 8]
add eax, dword [0x4360c0]
mov ecx, dword [eax]
add ecx, dword [0x4360c0]
mov edx, dword [ebp + 8]
add edx, dword [0x4360c0]
mov dword [edx], ecx
mov dword [ebp - 4], 0x1a79
mov eax, dword [0x4360c0]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax + 2]
push edx
mov eax, dword [ebp + 8]
add eax, dword [0x4360c0]
push eax
call fcn.004011d0
add esp, 8
mov ecx, dword [0x4360c0]
add ecx, 4
mov dword [0x4360c0], ecx
jmp 0x401abd
mov esp, ebp
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
mov ecx, 0x1da17ed6
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
mov ecx, 0x75640c7d
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219