joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409c70
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4c
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
cmp dword [ebx + 0x274], edi
jne 0x409e37
push 0x208
lea eax, [ebp - 0x226]
push edi
push eax
mov word [ebp - 0x228], di
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x228]
add esp, 0xc
push eax
call fcn.00404701
pop ecx
lea eax, [ebp - 0x228]
push 0x2e
push eax
call sub.msvcrt.dll_wcsrchr
cmp eax, edi
pop ecx
pop ecx
je 0x409ccd
mov word [eax], di
lea eax, [ebp - 0x228]
push 0x40f488
push eax
call sub.msvcrt.dll_wcscat
mov esi, dword [ebx + 0x708]
pop ecx
pop ecx
push str._cfg
call fcn.004057be
cmp eax, edi
jl 0x409d15
push 0x104
lea ecx, [ebp - 0x228]
push ecx
lea ecx, [eax + 1]
mov eax, dword [ebx + 0x708]
call fcn.004057a7
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x228]
mov word [ebp - 0x640], di
mov word [ebp - 0x436], di
mov edi, dword [ebp + 0xc]
push eax
lea esi, [ebp - 0x648]
mov dword [ebp - 0x648], 0x40f948
call fcn.0040c8a1
mov eax, dword [ebx + 0x690]
call fcn.00401bfa
mov eax, ebx
call fcn.00401864
mov ebx, esi
mov esi, dword [ebp + 8]
mov edi, dword [esi + 0x694]
call fcn.00406952
lea eax, [ebp - 0x436]
push str.RecentFiles
push eax
call sub.msvcrt.dll_wcscpy
and dword [ebp + 8], 0
pop ecx
pop ecx
mov ebx, 0x40e4e8
and word [ebp - 0x14], 0
xor eax, eax
lea edi, [ebp - 0x12]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0xa
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
call sub.msvcrt.dll__itow
xor edi, edi
add esp, 0xc
cmp dword [ebp + 0xc], edi
je 0x409dca
mov ecx, dword [ebp + 8]
push edi
push ebx
lea eax, [esi + 0x6d4]
call fcn.0040551d
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x648]
call fcn.0040c953
jmp 0x409e1d
push 0x7fe
lea eax, [ebp - 0xe46]
push edi
push eax
mov word [ebp - 0xe48], di
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x3ff
push ebx
lea eax, [ebp - 0xe48]
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x648]
call fcn.0040c953
cmp word [ebp - 0xe48], di
je 0x409e1d
lea eax, [ebp - 0xe48]
push eax
lea eax, [esi + 0x6d4]
call fcn.00405425
inc dword [ebp + 8]
cmp dword [ebp + 8], 0xa
jl 0x409d80
cmp dword [ebp + 0xc], 0
jne 0x409e37
mov eax, esi
call fcn.0040999c
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x40a0db
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
push ebx
push esi
xor ebx, ebx
push edi
lea eax, [esp + 0x38]
mov dword [esp + 0x18], ebx
call fcn.004053dd
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x694]
call fcn.00406904
mov esi, eax
dec esi
js 0x40a27b
push esi
lea eax, [esp + 0x1c]
push eax
mov eax, dword [edi + 0x694]
call fcn.00406f9d
test eax, eax
je 0x40a14f
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x10]
mov eax, 0x412350
call fcn.0040551d
push eax
mov dword [esp + 0x18], eax
call sub.msvcrt.dll_wcslen
pop ecx
push dword [esp + 0x14]
lea ebx, [ebx + eax + 1]
lea eax, [esp + 0x3c]
call fcn.00405425
dec esi
jns 0x40a10d
test ebx, ebx
jle 0x40a27b
xor eax, eax
lea edi, [esp + 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push 0x14
pop esi
lea eax, [ebx + ebx + 0x16]
push eax
push 0x2042
mov dword [esp + 0x3c], 1
mov dword [esp + 0x2c], esi
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov dword [esp + 0x1c], eax
call ebx
push esi
lea ecx, [esp + 0x28]
push ecx
push eax
mov dword [esp + 0x28], eax
call sub.msvcrt.dll_memcpy
xor esi, esi
and dword [esp + 0x1c], esi
add esp, 0xc
cmp dword [esp + 0x54], esi
jle 0x40a205
mov ecx, dword [esp + 0x10]
test ecx, ecx
jl 0x40a1c8
lea eax, [esp + 0x38]
call fcn.00405508
mov dword [esp + 0x14], eax
jmp 0x40a1cd
and dword [esp + 0x14], 0
push dword [esp + 0x14]
call sub.msvcrt.dll_wcslen
push dword [esp + 0x18]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
lea eax, [eax + esi*2 + 0x14]
push eax
call sub.msvcrt.dll_wcscpy
mov eax, dword [esp + 0x2c]
add esp, 0xc
inc dword [esp + 0x10]
lea esi, [esi + eax + 1]
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x54]
jl 0x40a1b1
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp + 8]
push dword [eax + 0x208]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x40a271
call dword [sym.imp.USER32.dll_EmptyClipboard]
push dword [esp + 0x18]
mov esi, dword [sym.imp.USER32.dll_SetClipboardData]
push 0xf
call esi
push 4
push 0x2042
call edi
mov edi, eax
push edi
call ebx
push edi
mov byte [eax], 5
mov byte [eax + 1], 0
mov byte [eax + 2], 0
mov byte [eax + 3], 0
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push str.Preferred_DropEffect
call dword [sym.imp.USER32.dll_RegisterClipboardFormatW]
push edi
push eax
call esi
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x40a27b
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea esi, [esp + 0x38]
call fcn.004053ff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40a306
Capabilities:
Create process on windows
Create process suspended
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x478
push esi
push edi
push 1
push dword [ebp + 8]
call fcn.00409c70
mov edi, 0x208
xor esi, esi
push edi
lea eax, [esp + 0x276]
push esi
push eax
mov word [esp + 0x27c], si
call sub.msvcrt.dll_memset
add esp, 0xc
push edi
lea eax, [esp + 0x66]
push esi
push eax
mov word [esp + 0x6c], si
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x40
lea eax, [esp + 0x20]
push esi
push eax
mov dword [esp + 0x24], esi
call sub.msvcrt.dll_memset
xor eax, eax
mov dword [esp + 0x14], esi
lea edi, [esp + 0x18]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x27c]
add esp, 0xc
push eax
call fcn.00404701
pop ecx
lea eax, [esp + 0x60]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x68]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [esp + 0x294]
push eax
mov dword [esp + 0x40], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x40abf3
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x48
push esi
push edi
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x40acad
lea eax, [esp + 0xc]
push eax
mov eax, dword [ebx + 0x694]
call fcn.00406ff7
test eax, eax
je 0x40acad
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x10]
mov eax, 0x412350
call fcn.0040551d
mov edi, eax
xor esi, esi
cmp word [edi], si
je 0x40acaf
push edi
call fcn.004046d2
test eax, eax
pop ecx
je 0x40acaf
lea eax, [esp + 0x30]
mov dword [esp + 0x18], 0x40f9e0
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x24], esi
call fcn.004053dd
push edi
call fcn.00405425
lea eax, [esp + 0x30]
push eax
lea esi, [esp + 0x1c]
call fcn.0040cdb2
push dword [esp + 0x14]
mov eax, esi
push dword [esp + 0x14]
push dword [ebx + 0x208]
call fcn.0040cc9f
lea esi, [esp + 0x30]
call fcn.004053ff
lea ecx, [esp + 0x18]
call fcn.0040cb46
jmp 0x40acec
xor esi, esi
push esi
push dword [ebx + 0x270]
call dword [sym.imp.USER32.dll_GetSubMenu]
mov edi, eax
mov eax, dword [ebx + 0x694]
push esi
call fcn.00406e7a
mov esi, ebx
call fcn.00408a9f
push 0
push dword [ebx + 0x208]
push 0
push dword [esp + 0x20]
push dword [esp + 0x20]
push 2
push edi
call dword [sym.imp.USER32.dll_TrackPopupMenu]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40c514
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x20000
call fcn.0040d870
cmp dword [ebp + 8], 0
je 0x40c579
test esi, esi
je 0x40c567
push 0x22
push esi
call sub.msvcrt.dll_wcschr
test eax, eax
pop ecx
pop ecx
je 0x40c567
and word [ebp - 0x20000], 0
push esi
push str.__s_
lea eax, [ebp - 0x20000]
push 0xfffe
push eax
call sub.msvcrt.dll__snwprintf
add esp, 0x10
push dword [ebp + 0x1c]
lea eax, [ebp - 0x20000]
push eax
jmp 0x40c56b
push dword [ebp + 0x1c]
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
leave
ret
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
leave
ret

Function at 0x40c591
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4004
call fcn.0040d870
push esi
push edi
xor eax, eax
cmp dword [ebp + 8], eax
push 0x4000
push eax
mov word [ebp - 0x4004], ax
lea eax, [ebp - 0x4002]
mov edi, ecx
push eax
je 0x40c5f0
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x4004]
push eax
push dword [edi]
push dword [ebp + 0x14]
call fcn.00404f0e
add esp, 0x18
push dword [ebp + 0x18]
lea eax, [ebp - 0x4004]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov esi, eax
jmp 0x40c631
call sub.msvcrt.dll_memset
add esp, 0xc
push dword [ebp + 0x18]
lea eax, [ebp - 0x4004]
push 0x2000
push eax
push 0x40e4e8
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push dword [ebp + 0x14]
xor ecx, ecx
cmp ecx, eax
sbb esi, esi
push edi
lea edi, [ebp - 0x4004]
neg esi
call fcn.00404f97
pop ecx
pop ecx
pop edi
mov eax, esi
pop esi
leave
ret

Function at 0x40c637
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push dword [ebp + 0x18]
je 0x40c655
push dword [esi]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0040c4c7
add esp, 0x10
pop ebp
ret
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [esi], eax
pop ebp
ret

Function at 0x40ca97
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0x38
lea eax, [ebp - 0x38]
push 0
push eax
call sub.msvcrt.dll_memset
mov eax, dword [ebp + 8]
and dword [ebp - 0x24], 0
and dword [ebp - 0x1c], 0
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0xc
mov dword [ebp - 0x30], str.properties
mov dword [ebp - 0x28], 0x40e4e8
mov dword [ebp - 0x20], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
leave
ret
Function at 0x40d364
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
push esi
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x10], esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
cmp eax, esi
mov dword [ebp - 4], eax
jbe 0x40d4f6
push ebx
mov eax, edi
call fcn.004058ed
push dword [ebp - 4]
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov ebx, eax
push ebx
push dword [ebp - 4]
push esi
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0x40ed28
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40d3e7
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x30]
mov dword [edi + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edi], ecx
mov ecx, dword [eax + 0x14]
mov dword [edi + 0xc], ecx
mov ecx, dword [eax + 0x10]
mov dword [edi + 8], ecx
mov ecx, dword [eax + 0x24]
mov dword [edi + 0x10], ecx
mov eax, dword [eax + 0x28]
mov dword [edi + 0x14], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push str.VarFileInfoTranslation
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40d436
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax + 2]
movzx eax, word [eax]
push ecx
push eax
push str._4.4X_4.4X
lea eax, [ebp - 0x38]
push 0x14
push eax
call sub.msvcrt.dll__snwprintf
add esp, 0x14
push 0x40e4e8
lea eax, [ebp - 0x38]
push eax
push ebx
lea esi, [ebp - 0x238]
call fcn.0040d2d5
test eax, eax
jne 0x40d446
lea eax, [ebp - 0x38]
push str.040904E4
push eax
call sub.msvcrt.dll_wcscpy
pop ecx
pop ecx
push 0x40fb34
lea eax, [ebp - 0x38]
push eax
lea esi, [edi + 0x18]
push ebx
call fcn.0040d2d5
push 0x40fb4c
lea eax, [ebp - 0x38]
push eax
lea esi, [edi + 0x218]
push ebx
call fcn.0040d2d5
push 0x40fb6c
lea eax, [ebp - 0x38]
push eax
lea esi, [edi + 0x418]
push ebx
call fcn.0040d2d5
push 0x40fb84
lea eax, [ebp - 0x38]
push eax
lea esi, [edi + 0x618]
push ebx
call fcn.0040d2d5
push 0x40fba4
lea eax, [ebp - 0x38]
push eax
lea esi, [edi + 0x818]
push ebx
call fcn.0040d2d5
push 0x40fbbc
lea eax, [ebp - 0x38]
push eax
lea esi, [edi + 0xa18]
push ebx
call fcn.0040d2d5
push 0x40fbd8
lea eax, [ebp - 0x38]
push eax
lea esi, [edi + 0xc18]
push ebx
call fcn.0040d2d5
push str.OriginalFileName
lea eax, [ebp - 0x38]
push eax
lea esi, [edi + 0xe18]
push ebx
call fcn.0040d2d5
xor esi, esi
push ebx
inc esi
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
pop ebx
mov eax, esi
pop esi
leave
ret 4
Function at 0x40d5f0
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x70
push 0x40e440
call fcn.0040d800
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x40d62b
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40d62b
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x40d643
cmp eax, 0x20b
je 0x40d630
mov dword [ebp - 0x1c], edi
jmp 0x40d657
cmp dword [ecx + 0x84], 0xe
jbe 0x40d62b
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x40d651
cmp dword [ecx + 0x74], 0xe
jbe 0x40d62b
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 2
pop ebx
push ebx
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x413780], 0xffffffff
or dword [0x413784], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x4123bc]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x4123b8]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x41377c], eax
call fcn.00401adf
cmp dword [section..data], edi
jne 0x40d6b4
push fcn.00401adf
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.0040d7ec
push 0x40e410
push 0x40e40c
call sub.msvcrt.dll__initterm
mov eax, dword [0x4123b4]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [0x4123b0]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___wgetmainargs]
mov dword [ebp - 0x30], eax
push 0x40e408
push 0x40e3e4
call sub.msvcrt.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.msvcrt.dll__wcmdln]
mov esi, dword [eax]
cmp esi, edi
jne 0x40d71a
or dword [ebp - 4], 0xffffffff
mov eax, 0xff
jmp 0x40d7d4
mov dword [ebp - 0x34], esi
cmp word [esi], 0x22
jne 0x40d768
add esi, ebx
mov dword [ebp - 0x34], esi
mov ax, word [esi]
cmp ax, di
je 0x40d736
cmp ax, 0x22
jne 0x40d723
cmp word [esi], 0x22
jne 0x40d741
add esi, ebx
mov dword [ebp - 0x34], esi
mov ax, word [esi]
cmp ax, di
je 0x40d74f
cmp ax, 0x20
jbe 0x40d73c
mov dword [ebp - 0x4c], edi
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
test byte [ebp - 0x4c], 1
je 0x40d775
movzx eax, word [ebp - 0x48]
jmp 0x40d778
cmp word [esi], 0x20
jbe 0x40d741
add esi, ebx
mov dword [ebp - 0x34], esi
jmp 0x40d768
push 0xa
pop eax
push eax
push esi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov esi, eax
mov dword [ebp - 0x7c], esi
cmp dword [ebp - 0x1c], edi
jne 0x40d799
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x40d7ce
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.0040d839
ret
Function at 0x4053e0
Capabilities:
Terminate process
Write file on windows

Disassembly:
push ecx
push esi
push edi
sub esp, 8
mov esi, eax
mov edi, edx
xor edx, edx
mov ecx, eax
inc eax
cmp byte [ecx], 0
je 0x4053f7
inc edx
jmp 0x4053ec
push 0
lea eax, [esp + 4]
push eax
push edx
push esi
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.DLL_WriteFile]
push 0
lea eax, [esp + 4]
push eax
push 2
lea eax, [esp + 0x10]
push eax
push 0xfffffffffffffff4
mov word [esp + 0x18], 0xa0d
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.DLL_WriteFile]
mov eax, edi
jmp 0x402390

Function at 0x40e280
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x9000]
push edi
jmp 0x40e29a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40e2a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40e290
mov eax, 1
add ebx, ebx
jne 0x40e2b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40e2a8
jne 0x40e2c4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40e2a8
xor ecx, ecx
sub eax, 3
jb 0x40e2d8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40e34a
mov ebp, eax
add ebx, ebx
jne 0x40e2e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40e2f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40e314
inc ecx
add ebx, ebx
jne 0x40e300
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40e2f5
jne 0x40e311
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40e2f5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40e334
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40e325
jmp 0x40e296
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40e334
add edi, ecx
jmp 0x40e296
pop esi
mov edi, esi
mov ecx, 0xa8
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40e352
cmp byte [edi], 5
jne 0x40e352
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 0x40e357
lea edi, [esi + 0xc000]
mov eax, dword [edi]
or eax, eax
je 0x40e3c6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x10810]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x10838]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40e384
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1083c]
or eax, eax
je 0x40e3c0
mov dword [ebx], eax
add ebx, 4
jmp 0x40e3a1
call dword [esi + 0x1084c]
mov ebp, dword [esi + 0x10840]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
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 0x40e3fa
sub esp, 0xffffff80
jmp 0x401d5b
Function at 0x401005
Capabilities:
Access peb ldr_data

Disassembly:
push 0
push 2
push 0x403071
push 0x403053
call dword [sym.imp.Winmm.dll_mciSendStringA]
cmp eax, 0x107
je 0x401021
ret
mov edi, edi
mov esi, 0x402058
mov edi, esi
push 1
push 0x40308f
push 1
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateSemaphoreW]
mov edx, eax
pop ebx
mov ecx, 0x340
mov al, byte [esi]
sub al, bl
stosb byte es:[edi], al
inc esi
loop 0x401045
push dword fs:[0x30]
mov eax, dword [esp]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
cmp word [eax], 0x5a4d
je 0x40106b
xor eax, eax
mov dword [0x4030a2], eax
add esp, 4
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x432072
nop
mov ebx, 0x40c7d0
nop
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x6adf2b48
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
loop 0x432060
nop
nop
nop
mov eax, section..text_1
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4320d2
nop
mov ebx, 0x42f314
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x5bee5b23
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c

Function at 0x414176
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x414185
pop dword [ebp - 0x44]
mov eax, 0x76636ae
add eax, 0xf8db0ad7
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0x21a3055e
sub dword [ebp - 0x54], 0xd350c013
mov dword [ebp - 0x50], 0xe8696a4a
sub dword [ebp - 0x50], 0xb6361e05
mov dword [ebp - 0x4c], 0x964670c7
add dword [ebp - 0x4c], 0xb605d367
mov dword [ebp - 0x48], 0x64dc57b0
add dword [ebp - 0x48], 0x9b23a850
lea eax, [ebp - 0x54]
push eax
mov eax, 0x5539bd5a
sub eax, 0x54f78ce6
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0x4c9d44f6
add dword [ebp - 0x54], 0x27d52460
mov dword [ebp - 0x50], 0x1f4cb978
sub dword [ebp - 0x50], 0xdde05803
mov dword [ebp - 0x4c], 0x3a6141d1
add dword [ebp - 0x4c], 0x290e2a9b
mov dword [ebp - 0x48], 0x753e4c65
add dword [ebp - 0x48], 0x8ac1b39b
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x3f4d8
push 0
call eax
mov ecx, 0x4d1b
xor edx, edx
add edx, eax
mov edi, 0x16b5ad2
sub edi, 0x12816d2
add edi, dword [ebp - 0x44]
mov esi, 0x6017e70
sub esi, 0x8425b196
xor dword [ebp - 0xc], 0xc131a8c6
mov ebx, dword [edi]
sub dword [ebp - 0x10], esi
add ebx, esi
sub dword [ebp - 0x40], 0xd5bde8bf
mov dword [edx], ebx
sub dword [ebp - 0xc], edx
add edx, 4
add edi, 0xa5db123b
add edi, 0x5a24edc9
loop 0x41429e
add eax, 0x8a58a9f0
add eax, 0x75a87d4f
xor ebx, ebx
add ebx, eax
add eax, 0x8bc3669e
add eax, 0x743c9967
mov ecx, 0x400000
add ecx, dword [ebp - 0x44]
call ebx
leave
ret