joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c8381
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4d03f0
cmp edx, dword [eax]
je 0x4c83a3
add eax, 8
inc ecx
cmp eax, 0x4d0480
jl 0x4c8394
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4d03f0]
jne 0x4c84d1
mov eax, dword [0x4d5e20]
cmp eax, 1
je 0x4c84ab
test eax, eax
jne 0x4c83d4
cmp dword [0x4d0318], 1
je 0x4c84ab
cmp edx, 0xfc
je 0x4c84d1
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4c840b
lea eax, [ebp - 0x1a4]
push 0x4cd810
push eax
call fcn.004c8d60
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004c91f0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4c844e
lea eax, [ebp - 0x1a4]
push eax
call fcn.004c91f0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4cd80c
push edi
call fcn.004cb0c0
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4cd7f0
push eax
call fcn.004c8d60
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004c8d70
lea eax, [ebp - 0xa0]
push 0x4cd7ec
push eax
call fcn.004c8d70
push dword [esi + 0x4d03f4]
lea eax, [ebp - 0xa0]
push eax
call fcn.004c8d70
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4cd7c4
push eax
call fcn.004cb034
add esp, 0x2c
pop edi
jmp 0x4c84d1
lea eax, [ebp + 8]
lea esi, [esi + 0x4d03f4]
push 0
push eax
push dword [esi]
call fcn.004c91f0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x401006
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x477008]
jne 0x401010
repz ret
jmp fcn.004015e2

Function at 0x405845
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.0040300f
and dword [ebp - 4], 0
cmp dword [0x47a474], 0
mov ebx, eax
jne 0x4058f6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4059a7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4059a7
push eax
call fcn.00402f9d
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x47a474], eax
call esi
push eax
call fcn.00402f9d
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x47a478], eax
call esi
push eax
call fcn.00402f9d
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x47a47c], eax
call esi
push eax
call fcn.00402f9d
pop ecx
mov dword [0x47a484], eax
test eax, eax
je 0x4058f6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402f9d
pop ecx
mov dword [0x47a480], eax
mov eax, dword [0x47a480]
cmp eax, ebx
je 0x40594e
cmp dword [0x47a484], ebx
je 0x40594e
push eax
call fcn.00403018
push dword [0x47a484]
mov esi, eax
call fcn.00403018
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40594e
test edi, edi
je 0x40594e
call esi
test eax, eax
je 0x405945
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x405945
test byte [ebp - 0xc], 1
jne 0x40594e
or dword [ebp + 0x10], 0x200000
jmp 0x405987
mov eax, dword [0x47a478]
cmp eax, ebx
je 0x405987
push eax
call fcn.00403018
pop ecx
test eax, eax
je 0x405987
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x405987
mov eax, dword [0x47a47c]
cmp eax, ebx
je 0x405987
push eax
call fcn.00403018
pop ecx
test eax, eax
je 0x405987
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x47a474]
call fcn.00403018
pop ecx
test eax, eax
je 0x4059a7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4059a9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4701f0
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x404
mov eax, dword [0x477008]
xor eax, esp
mov dword [esp + 0x400], eax
cmp dword [0x84d1d4], 0x114e
mov eax, dword [esp + 0x408]
mov dword [0x84d018], eax
jne 0x470231
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push 0
lea ecx, [esp + 4]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ecx, dword [esp + 0x400]
xor ecx, esp
call fcn.00401006
add esp, 0x404
ret
Function at 0x470260
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
cmp edi, 0x182
jne 0x470283
push 0
push 0
push 0
push str.xojuhaxofasihaxitahidavufo
push str.tajuduyo
push 0
call dword [sym.imp.KERNEL32.dll_UpdateResourceW]
xor edx, edx
test edi, edi
jle 0x4702c2
lea esp, [esp]
lea ecx, [esp + 4]
mov dword [esp], 5
mov dword [esp + 4], 0
call fcn.00470250
mov eax, dword [esp + 4]
add eax, 0x46
mov dword [esp], eax
nop
sub dword [esp], 0x46
mov al, byte [esp]
xor byte [edx + esi], al
inc edx
cmp edx, edi
jl 0x470290
cmp edi, 0x2d
jne 0x4702db
mov dword [0x84d308], 0xa62e7790
mov dword [0x84d30c], 0xffffffff
add esp, 8
ret

Function at 0x4702e0
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x804
mov eax, dword [0x477008]
xor eax, esp
mov dword [esp + 0x800], eax
mov eax, dword [0x477ff0]
push esi
mov esi, dword [0x84d01c]
push edi
mov edi, dword [0x84d1d4]
push eax
call fcn.004701f0
add esp, 4
cmp dword [0x84d1d4], 0x2f
jne 0x47031f
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
call fcn.00470260
cmp dword [0x84d1d4], 0x568
pop edi
pop esi
jne 0x470353
push 0
push 0
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
push 0
lea edx, [esp + 0x404]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameA]
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.00401006
add esp, 0x804
ret
Function at 0x403d58
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x40c014]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403df0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x403dd0
xor eax, eax
push ebp
push 0x403dc9
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403e28
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403dd0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x40c014]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x40c014], ax
mov esp, ebp
pop ebp
ret

Function at 0x404974
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x40d04c], 0
je 0x4049d5
cmp word [0x40d328], 0xd7b2
jne 0x40499d
cmp dword [0x40d330], 0
jbe 0x40499d
mov eax, 0x40d324
call dword [0x40d340]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404a00
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x40c020], 0
jne 0x4049f1
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x40631c
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0x14]
add esp, 0x24
ret

Function at 0x4087c8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x408801
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00405368
jmp 0x40880a
mov eax, ebx
mov edx, esi
call fcn.0040522c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x408814
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x408836
movzx eax, word [esp]
jmp 0x408838
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x408f9c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffff004
push eax
add esp, 0xffffff7c
push 0x800
lea ecx, [esp + 0x88]
call fcn.00408dd4
mov eax, dword [0x40cb04]
cmp byte [eax], 0
je 0x40902e
mov eax, dword [0x40ca44]
call fcn.00403430
call fcn.00402f48
lea eax, [esp + 0x884]
push eax
lea eax, [esp + 0x88]
push eax
call sub.user32.dll_CharToOemW
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x88c]
call fcn.00407a3c
push eax
lea eax, [esp + 0x890]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40907c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x409067
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x40ca24]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x40fb18]
call fcn.00405a80
push eax
call sub.user32.dll_LoadStringW_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x8c]
push eax
push 0
call sub.user32.dll_MessageBoxW
add esp, 0x1084
ret
Function at 0x40a2d8
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.00404da8
mov ebp, eax
push 0
push 0
push ebp
push ebx
push 0
push 0xfde9
call sub.kernel32.dll_MultiByteToWideChar_1
mov edi, eax
cmp edi, 0x104
jbe 0x40a282
mov eax, edi
add eax, eax
call fcn.00402de0
mov esi, eax
jmp 0x40a284
mov esi, esp
push edi
push esi
push ebp
push ebx
push 0
push 0xfde9
call sub.kernel32.dll_MultiByteToWideChar_1
push edi
push esi
call sub.user32.dll_CharUpperBuffW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x40a2bd
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 0x40a2a7
mov eax, esp
cmp esi, eax
je 0x40a2ca
mov eax, esi
call fcn.00402dfc
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 0x40a304
cmp bl, 0
je 0x40a300
cmp bl, 0x41
jl 0x40a2fb
cmp bl, 0x5a
jg 0x40a2fb
or bl, 0x20
xor al, bl
inc esi
jmp 0x40a2df
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x40a244
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
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
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x42e072
nop
mov ebx, 0x407ef8
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x741b13f3
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e060
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
je 0x42e0d2
nop
nop
nop
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x475007b8
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
loop 0x42e0c0
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x401000
Capabilities:
Get common file path
Read file on windows

Disassembly:
push edx
push 0xa5b16
pop esi
mov ebx, 0x1856
mov ebp, esp
test ebp, ebp
jne 0x401018
call ebx
push ebp
pop edx
cmp dx, 0xff00
ja 0x401027
ret
mov eax, sym.imp.kernel32.dll_GetOEMCP
call dword [eax]
mov eax, sym.imp.kernel32.dll_GetOEMCP
call dword [eax]
add esi, 0x35f0ea
add ebx, 0x4027aa
pushal
push 0x17c
sub esp, 4
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryA]
cmp ecx, 0x12ffb0
jne 0x401060
int3
call 0x401164
call 0x401164
call 0x401164
mov eax, sym.imp.kernel32.dll_GetOEMCP
call dword [eax]
mov eax, 0
add eax, 0x70
add eax, ebx
sub esp, 4
mov dword [esp], 0x5160
add dword [esp], 0x1112
mov edx, esp
push edx
push esi
call dword [eax]
test eax, eax
jne 0x4010a2
int3
push eax
sub esp, 4
mov dword [esp], 1
sub esp, 4
mov dword [esp], 0x132
push esi
call dword [sym.imp.msvcrt.dll_fread]
mov eax, 0x3c
add eax, esi
and eax, 0xffffff3c
mov eax, dword [eax]
add eax, esi
push 0x1e
pop edi
sub edi, 2
mov eax, dword [eax + edi]
mov edi, 0x206ff
cmp eax, edi
nop
nop
jle 0x40125f
jle 0x40125f
jle 0x40125f
jle 0x40125f
jle 0x40125f
jle 0x40125f
jle 0x40125f
jle 0x40125f
jle 0x40125f
jle 0x40125f
jmp 0x4011ff
mov esi, esi
pushal
xor ecx, ecx
add ecx, 0x3e00
push eax
add esp, 4
push ecx
push esi
sub esi, 1
push 0
mov dword [esp], esi
add dword [esp], ecx
pop esi
push dword [esi]
pop eax
pop esi
pop ecx
sub ebx, 1
xor al, 0xa
rol al, 1
dec al
dec al
push esi
add esi, ecx
push eax
push eax
pop eax
dec esi
mov word [esi], ax
pop eax
push eax
push dword [esp + 4]
pop eax
mov esi, eax
pop eax
add esp, 4
sub ecx, 1
cmp ecx, 0
je 0x401258
nop
nop
nop
nop
call 0x40120b
popal
call 0x401121
ret
add edi, 0x5fa
push edi
ret
Function at 0x412910
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov eax, edx
and eax, 1
sub eax, 1
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x418980], ecx
add edx, 1
cmp edx, 0x100
jb 0x412912
cmp edx, 0x800
jae 0x4129fb
mov edi, edi
mov eax, dword [edx*4 + 0x418580]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x418980]
add edx, 1
cmp edx, 0x800
mov dword [edx*4 + 0x41897c], eax
jb 0x4129d0
mov dword [0x41896c], 0x413050
call fcn.00412b40
test eax, eax
jne 0x412a18
mov dword [0x41896c], 0x412f70
ret

Function at 0x40c006
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ecx, 0xcbf
mov ebx, edx
xor word [eax], dx
lea edx, [ebx + edx]
xchg dh, dl
lea eax, [eax + 2]
loop 0x40c00e
pop ebx
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x60f3481d
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x433060
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x332626f1
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x99afa0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xd6000]
push edi
jmp 0x99afba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x99afc1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x99afb0
mov eax, 1
add ebx, ebx
jne 0x99afd3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x99afe4
jne 0x99b003
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x99b003
dec eax
add ebx, ebx
jne 0x99aff0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x99afc8
add ebx, ebx
jne 0x99afff
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x99b055
xor ecx, ecx
sub eax, 3
jb 0x99b01b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x99b08a
sar eax, 1
mov ebp, eax
jmp 0x99b026
add ebx, ebx
jne 0x99b026
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x99aff4
inc ecx
add ebx, ebx
jne 0x99b034
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x99aff4
add ebx, ebx
jne 0x99b041
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x99b036
jne 0x99b052
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x99b036
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x99b074
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x99b066
jmp 0x99afb6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x99b074
add edi, ecx
jmp 0x99afb6
pop esi
mov edi, esi
mov ecx, 0x3ed9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x99b092
cmp byte [edi], 0x11
jne 0x99b092
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 0x99b097
lea edi, [esi + 0x123000]
mov eax, dword [edi]
or eax, eax
je 0x99b10f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x17dad8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x17dc54]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x99b0c4
mov ecx, edi
jns 0x99b0f3
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 + 0x17dc58]
or eax, eax
je 0x99b109
mov dword [ebx], eax
add ebx, 4
jmp 0x99b0e1
call dword [esi + 0x17dc68]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x99b140
cmp al, 0xef
ja 0x99b133
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x99b115
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x99b122
mov ebp, dword [esi + 0x17dc5c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x99b174
sub esp, 0xffffff80
jmp 0x895f74
Function at 0x401290
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x40aa4c
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4012ed
push edi
mov edi, dword [ebp + 8]
push edi
call fcn.00401670
add esp, 4
cmp eax, 1
jne 0x4012ec
call fcn.004017b0
test eax, eax
jne 0x4012db
push 0x10
push 0x35
call fcn.00401700
add esp, 8
jmp 0x4012ec
mov eax, edi
call fcn.00401c20
cmp eax, 6
jne 0x4012ec
call fcn.004018f0
pop edi
test esi, esi
je 0x4012ff
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop esi
pop ebp
ret 0x10

Function at 0x401480
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1218
call fcn.004077d0
mov eax, dword [0x40c004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x104
lea eax, [ebp - 0x20c]
push eax
mov esi, ecx
push 0
mov dword [ebp - 0x1210], esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x401659
lea ecx, [ebp - 0x20c]
push 0x5c
push ecx
call fcn.00401df4
add esp, 8
test eax, eax
je 0x401659
xor edx, edx
push str.LangList.ini
mov word [eax + 2], dx
lea eax, [ebp - 0x20c]
push eax
push str._s_s
mov ecx, eax
push 0x104
push ecx
call fcn.00401db5
add esp, 0x14
lea edx, [ebp - 0x20c]
push edx
push 0x400
lea eax, [ebp - 0x120c]
push eax
push str.Lang
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
cmp eax, 0x3fe
je 0x401659
push ebx
push edi
lea edi, [ebp - 0x120c]
mov eax, edi
mov dword [ebp - 0x1214], edi
lea edx, [eax + 2]
jmp 0x401540
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401540
mov ebx, dword [sym.imp.USER32.dll_SendDlgItemMessageW]
sub eax, edx
sar eax, 1
je 0x401630
jmp 0x401560
push edi
lea ecx, [ebp - 0xa0c]
push 0x400
push ecx
call fcn.00401e82
lea edx, [ebp - 0xa0c]
push 0x40aa98
push edx
call fcn.00401e22
mov esi, eax
add esp, 0x14
test esi, esi
je 0x401610
lea ecx, [ebp - 0xa0c]
xor eax, eax
push ecx
mov word [esi], ax
call fcn.00401de9
mov edx, dword [ebp - 0x1210]
add esp, 4
add esi, 2
push esi
push 0
push 0x143
push 0x3e9
push edx
mov edi, eax
call ebx
push edi
mov esi, eax
mov eax, dword [ebp - 0x1210]
push esi
push 0x151
push 0x3e9
push eax
call ebx
cmp dword [0x40db40], edi
jne 0x4015f4
mov ecx, dword [ebp - 0x1210]
push 0
push esi
push 0x14e
push 0x3e9
push ecx
call ebx
mov edx, dword [ebp - 0x1214]
push 0
push edx
call fcn.00401d8e
add esp, 8
add eax, 2
mov dword [ebp - 0x1214], eax
mov edi, eax
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401615
sub eax, edx
sar eax, 1
jne 0x401560
mov esi, dword [ebp - 0x1210]
push 0
push 0
push 0x147
push 0x3e9
push esi
call ebx
cmp eax, 0xffffffff
jne 0x401657
push 0
push 0
push 0x14e
push 0x3e9
push esi
call ebx
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00401d7f
mov esp, ebp
pop ebp
ret