joyce8/EMBER2024-capa huggingface dataset:
Function at 0x442040
Capabilities:
Terminate process

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x20]
test eax, eax
je 0x442054
push 0x64
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x442129
mov eax, dword [esi + 0x70]
test eax, eax
je 0x4420ae
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4420ae
mov ecx, dword [esi + 0x2ac]
test ecx, ecx
je 0x442090
mov eax, dword [esi + 0x70]
test eax, eax
je 0x442090
mov edx, dword [ecx]
push 0
push 0
push 0x64
push 2
push eax
call dword [edx + 0x20]
mov eax, dword [esi + 0x5c]
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4420cd
mov ecx, dword [esi + 0x5c]
push 0
push ecx
jmp 0x4420c7
mov edx, dword [esi + 0x5c]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4420cd
mov eax, dword [esi + 0x5c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, dword [esi + 0x5c]
push edi
lea ecx, [esp + 8]
push ecx
push edx
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [esi + 0x60]
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x4420f5
push eax
call edi
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x4420ff
push eax
call edi
xor eax, eax
mov dword [esi + 0x70], 0
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], eax
mov dword [esi + 0x68], eax
cmp byte [esp + 0x10], 1
pop edi
jne 0x442129
mov ecx, dword [esi + 0x6c]
mov eax, dword [esp + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0xc]
mov al, 1
pop esi
pop ecx
ret 4
Function at 0x442130
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x260
mov eax, dword [0x472388]
push ebp
push esi
mov esi, ecx
mov dword [esp + 0x264], eax
mov eax, dword [esi + 0x6c]
xor ebp, ebp
cmp eax, ebp
jne 0x442168
pop esi
xor al, al
pop ebp
mov ecx, dword [esp + 0x25c]
call fcn.0044c98b
add esp, 0x260
ret 4
cmp dword [esi + 0x20], ebp
jne 0x4421a8
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebp
call sub.MFC71U.DLL_AfxGetStringManager
cmp eax, ebp
je 0x44218f
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x442191
xor eax, eax
mov edx, dword [esi]
push ebp
push 0x64
push eax
lea eax, [esp + 0x14]
push eax
push 0x40000000
push ebp
push ebp
mov ecx, esi
call dword [edx + 0x5c]
cmp dword [esi + 0x2ac], ebp
push ebx
push edi
jne 0x4421fe
lea ecx, [esi + 0x74]
call fcn.004412f0
test al, al
je 0x4422cf
mov edi, dword [esi + 0x2ac]
mov edx, dword [esi + 0x54]
mov ebx, dword [edi]
lea ecx, [esi + 0x54]
push 0x6010100
push 0x462190
call dword [edx + 4]
push eax
mov ecx, edi
call dword [ebx + 0xc]
test al, al
je 0x4422cf
mov ecx, dword [esi + 0x2ac]
mov eax, dword [ecx]
call dword [eax + 0x10]
test al, al
je 0x4422cf
mov eax, dword [esi + 0x5c]
cmp eax, ebp
lea ebx, [esi + 0x5c]
je 0x44224b
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x44224b
mov eax, dword [esi + 0x70]
cmp eax, ebp
je 0x4422e5
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4422e5
mov ecx, dword [esi + 0x6c]
mov edx, dword [ecx]
push 1
call dword [edx + 0x10]
push 0x65
push 2
mov ecx, esi
call fcn.00441790
jmp 0x4422e5
mov ecx, dword [esi + 0x2ac]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, eax
call dword [sym.imp.PlatformData.dll_public:_static_class_CParameterGlobal____cdecl_CParameterGlobal::GetInstance_void_]
mov ecx, dword [esp + 0x274]
mov eax, edi
cdq
push edx
push eax
push ecx
push 0x462398
lea edx, [esp + 0x74]
push 0x104
push edx
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x18
push ebx
xor eax, eax
mov ecx, 0x11
lea edi, [esp + 0x24]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x24]
push eax
push ebp
push ebp
push 0x4000000
push ebp
push ebp
push ebp
lea ecx, [esp + 0x84]
push ecx
push ebp
mov dword [esp + 0x48], 0x44
mov word [esp + 0x78], 3
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4422d3
xor edx, edx
mov dword [ebx], edx
mov dword [ebx + 4], edx
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], edx
xor al, al
jmp 0x4422e7
mov eax, dword [esi + 0x20]
push ebp
push 0x4e20
push 0x64
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov al, 1
mov ecx, dword [esp + 0x26c]
pop edi
pop ebx
pop esi
pop ebp
call fcn.0044c98b
add esp, 0x260
ret 4
Function at 0x4426a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x45190c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [esi], 0x462428
xor ebx, ebx
mov ecx, 0x11
mov eax, 0xa
push edi
mov dword [esp + 0xc], esi
mov dword [esi + 4], 0x4623ec
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], eax
mov dword [esp + 0x18], ebx
mov dword [esi + 0x20], 0x462400
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0x462414
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], 0x4623e8
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov eax, dword [esi + 8]
cmp eax, ebx
mov byte [esp + 0x18], 3
je 0x44274e
push eax
call sub.MFC71U.DLL_operator_new_1
add esp, 4
mov dword [esi + 8], ebx
push 0x2c
call sub.MFC71U.DLL_SerializeElements
mov edi, eax
xor eax, eax
mov dword [esi + 8], edi
mov ecx, 0xb
rep stosd dword es:[edi], eax
mov dword [esi + 0xc], 0xb
mov eax, dword [esi + 0x24]
add esp, 4
cmp eax, ebx
je 0x442780
push eax
call sub.MFC71U.DLL_operator_new_1
add esp, 4
mov dword [esi + 0x24], ebx
push 0xd4
call sub.MFC71U.DLL_SerializeElements
mov edi, eax
xor eax, eax
mov dword [esi + 0x24], edi
mov ecx, 0x35
rep stosd dword es:[edi], eax
mov dword [esi + 0x28], 0x35
mov eax, dword [esi + 0x40]
add esp, 4
cmp eax, ebx
je 0x4427b5
push eax
call sub.MFC71U.DLL_operator_new_1
add esp, 4
mov dword [esi + 0x40], ebx
push 0xfc4
call sub.MFC71U.DLL_SerializeElements
mov edi, eax
xor eax, eax
mov dword [esi + 0x40], edi
mov ecx, 0x3f1
rep stosd dword es:[edi], eax
mov dword [esi + 0x44], 0x3f1
mov eax, dword [0x47934c]
add esp, 4
cmp eax, ebx
mov eax, esi
jne 0x4427e8
mov dword [0x47934c], esi
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x443700
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
mov eax, dword [0x472388]
mov edx, dword [ebp + 0x14]
push esi
push edi
mov dword [esp + 0x94], eax
mov esi, ecx
xor eax, eax
mov word [esp + 0x10], 0
mov ecx, 0x1f
lea edi, [esp + 0x12]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, edi
mov dword [ecx], eax
mov dword [ecx + 4], eax
push edx
mov edx, dword [ebp + 0xc]
mov dword [ecx + 8], eax
push 0x40
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp + 0x10]
lea eax, [esp + 0x18]
push eax
push 0x4542bc
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0x10], 0
je 0x4437c3
lea ecx, [esp + 0xc]
lea eax, [esp + 0x10]
push ecx
mov ecx, esi
mov dword [esp + 0x10], eax
call fcn.00443670
lea edx, [esp + 0xc]
push edx
mov ecx, esi
mov dword [edi], eax
call fcn.00443670
mov dword [edi + 4], eax
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.00443670
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
mov dword [edi + 8], eax
call fcn.00443670
mov dword [edi + 0xc], eax
mov al, 1
mov ecx, dword [esp + 0x94]
call fcn.0044c98b
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esp + 0x94]
xor al, al
call fcn.0044c98b
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4437e0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
mov eax, dword [0x472388]
mov edx, dword [ebp + 0x14]
push esi
push edi
mov dword [esp + 0x94], eax
mov esi, ecx
xor eax, eax
mov word [esp + 0x10], 0
mov ecx, 0x1f
lea edi, [esp + 0x12]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
xor eax, eax
mov ecx, edi
mov dword [ecx], eax
push 0x40
mov dword [ecx + 4], eax
mov ecx, dword [ebp + 0x10]
lea eax, [esp + 0x18]
push eax
push 0x4542bc
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0x10], 0
je 0x44387f
lea ecx, [esp + 0xc]
lea eax, [esp + 0x10]
push ecx
mov ecx, esi
mov dword [esp + 0x10], eax
call fcn.00443670
lea edx, [esp + 0xc]
push edx
mov ecx, esi
mov dword [edi], eax
call fcn.00443670
mov dword [edi + 4], eax
mov al, 1
mov ecx, dword [esp + 0x94]
call fcn.0044c98b
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esp + 0x94]
xor al, al
call fcn.0044c98b
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4438a0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov eax, dword [0x472388]
mov edx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov dword [esp + 0x94], eax
mov esi, ecx
xor eax, eax
mov word [esp + 0x10], 0
mov ecx, 0x1f
lea edi, [esp + 0x12]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push 0x40
lea ecx, [esp + 0x18]
push ecx
push 0x4542bc
push edx
push eax
mov dword [edi], 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0x10], 0
je 0x443955
lea ecx, [esp + 0x10]
lea edx, [esp + 0xc]
mov dword [esp + 0xc], ecx
push edx
mov ecx, esi
call fcn.00443670
xor ebx, ebx
mov bh, al
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.00443670
mov bl, al
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
shl ebx, 8
call fcn.00443670
movzx edx, al
or ebx, edx
mov dword [edi], ebx
mov al, 1
mov ecx, dword [esp + 0x94]
call fcn.0044c98b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esp + 0x94]
xor al, al
call fcn.0044c98b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x44c744
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x74
push 0x463af0
call fcn.0044ccfc
xor edi, edi
mov dword [ebp - 0x20], edi
push edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call ebx
cmp word [eax], 0x5a4d
jne 0x44c784
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x44c784
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x44c79c
cmp eax, 0x20b
je 0x44c789
mov dword [ebp - 0x1c], edi
jmp 0x44c7b0
cmp dword [ecx + 0x84], 0xe
jbe 0x44c784
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x44c7aa
cmp dword [ecx + 0x74], 0xe
jbe 0x44c784
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 2
call dword [sym.imp.MSVCR71.dll___set_app_type]
pop ecx
or dword [0x479418], 0xffffffff
or dword [0x47941c], 0xffffffff
call dword [sym.imp.MSVCR71.dll___p__fmode]
mov ecx, dword [0x4793a0]
mov dword [eax], ecx
call dword [sym.imp.MSVCR71.dll___p__commode]
mov ecx, dword [0x47939c]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCR71.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x479414], eax
call fcn.0044cd54
call fcn.0044cdf4
cmp dword [0x4723b0], edi
jne 0x44c810
push fcn.0044cdf4
call dword [sym.imp.MSVCR71.dll___setusermatherr]
pop ecx
call fcn.0044cde2
push 0x4720c4
push 0x4720c0
call sub.MSVCR71.dll__initterm
push 0x44cd98
call fcn.0044c9c6
mov eax, dword [0x479398]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x479394]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.MSVCR71.dll___wgetmainargs]
add esp, 0x20
mov dword [ebp - 0x3c], eax
cmp eax, edi
jge 0x44c864
push 8
call sub.MSVCR71.dll__amsg_exit
pop ecx
push 0x4720bc
push section..data
call sub.MSVCR71.dll__initterm
pop ecx
pop ecx
mov eax, dword [sym.imp.MSVCR71.dll__wcmdln]
mov esi, dword [eax]
cmp esi, edi
jne 0x44c88e
or dword [ebp - 4], 0xffffffff
mov eax, 0xff
jmp 0x44c948
mov dword [ebp - 0x24], esi
mov ax, word [esi]
cmp ax, 0x20
ja 0x44c8fd
cmp ax, di
je 0x44c8a4
cmp dword [ebp - 0x20], edi
jne 0x44c8fd
mov ax, word [esi]
cmp ax, di
je 0x44c8b9
cmp ax, 0x20
ja 0x44c8b9
inc esi
inc esi
mov dword [ebp - 0x24], esi
jmp 0x44c8a4
mov dword [ebp - 0x58], edi
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
test byte [ebp - 0x58], 1
je 0x44c8d5
movzx eax, word [ebp - 0x54]
jmp 0x44c8d8
push 0xa
pop eax
push eax
push esi
push edi
push edi
call ebx
push eax
call fcn.0044d5ea
mov esi, eax
mov dword [ebp - 0x40], esi
cmp dword [ebp - 0x1c], edi
jne 0x44c8f5
push esi
call dword [sym.imp.MSVCR71.dll_exit]
call dword [sym.imp.MSVCR71.dll__cexit]
jmp 0x44c942
cmp ax, 0x22
jne 0x44c90e
xor eax, eax
cmp dword [ebp - 0x20], edi
sete al
mov dword [ebp - 0x20], eax
inc esi
inc esi
jmp 0x44c88e
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.0044cd37
ret
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408f6c
nop
nop
mov ecx, 0x111b418f
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0x3758461d
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x40c650
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x40cb08
call fcn.0040c94c
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x40c6b0
cmp eax, 0xffffffff
je 0x40c6b0
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x40c6a9
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x40c6a9
cmp edx, 0x10000000
jae 0x40c6a9
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x40c6a6
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x40c730
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 0x40c76e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x40c766
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x40c770
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x40c756
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x40c850
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40c87f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40c87f
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x75fe5114
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
loop 0x430060
nop
nop
nop
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x423d27af
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x401850
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3b578
call fcn.00403360
mov eax, dword [0x405004]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x3b558], 0
push eax
push eax
push eax
mov word [ebp - 0x3b544], ax
lea eax, [ebp - 0x3b554]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x3b558]
mov dword [ebp - 0x3b554], 0x10001
push eax
mov dword [ebp - 0x3b550], 0x1fa4
mov dword [ebp - 0x3b54c], 0x1fa4
mov dword [ebp - 0x3b548], 0x80001
call dword [sym.imp.WINMM.dll_waveOutOpen]
push 0x3b538
lea eax, [ebp - 0x3b540]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor eax, eax
mov edx, eax
mov ecx, eax
shr edx, 8
shr ecx, 1
or dl, cl
movsx ecx, al
add dl, 2
movsx edx, dl
imul edx, ecx
xor dl, al
mov byte [ebp + eax - 0x3b540], dl
inc eax
cmp eax, 0x3b538
jb 0x4018d3
lea eax, [ebp - 0x3b540]
mov dword [ebp - 0x3b574], 0x3b538
mov dword [ebp - 0x3b578], eax
lea eax, [ebp - 0x3b578]
push 0x20
push eax
push dword [ebp - 0x3b558]
mov dword [ebp - 0x3b570], 0
mov dword [ebp - 0x3b56c], 0
mov dword [ebp - 0x3b568], 0
mov dword [ebp - 0x3b564], 0
mov dword [ebp - 0x3b560], 0
mov dword [ebp - 0x3b55c], 0
call dword [sym.imp.WINMM.dll_waveOutPrepareHeader]
push 0x20
lea eax, [ebp - 0x3b578]
push eax
push dword [ebp - 0x3b558]
call dword [sym.imp.WINMM.dll_waveOutWrite]
push 0x20
lea eax, [ebp - 0x3b578]
push eax
push dword [ebp - 0x3b558]
call dword [sym.imp.WINMM.dll_waveOutUnprepareHeader]
push dword [ebp - 0x3b558]
call dword [sym.imp.WINMM.dll_waveOutClose]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040275c
mov esp, ebp
pop ebp
ret
Function at 0x4019b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x50c44
call fcn.00403360
mov eax, dword [0x405004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
mov dword [ebp - 0x50c20], 0
push eax
push eax
push eax
mov word [ebp - 0x50c0c], ax
lea eax, [ebp - 0x50c1c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x50c20]
mov dword [ebp - 0x50c1c], 0x10001
push eax
mov dword [ebp - 0x50c18], 0x2b11
mov dword [ebp - 0x50c14], 0x2b11
mov dword [ebp - 0x50c10], 0x80001
call dword [sym.imp.WINMM.dll_waveOutOpen]
push 0x50bfe
lea eax, [ebp - 0x50c08]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x50c44], edx
nop word [eax + eax]
mov eax, edx
mov ebx, edx
xor eax, 0x80000
shr ebx, 7
shr eax, 0x13
mov ecx, 4
and eax, 7
sub ecx, eax
mov eax, dword [ebp - 0x50c44]
shr edx, cl
mov cl, al
add cl, cl
shr eax, 0xc
add cl, bl
and cl, al
mov al, byte [ebp - 0x50c44]
add al, al
xor cl, al
mov eax, dword [ebp - 0x50c44]
or dl, cl
movsx eax, al
or dl, bl
movsx ecx, dl
mov edx, dword [ebp - 0x50c44]
imul ecx, eax
mov byte [ebp + edx - 0x50c08], cl
inc edx
mov dword [ebp - 0x50c44], edx
cmp edx, 0x50bfe
jb 0x401a40
lea eax, [ebp - 0x50c08]
mov dword [ebp - 0x50c3c], 0x50bfe
mov dword [ebp - 0x50c40], eax
lea eax, [ebp - 0x50c40]
push 0x20
push eax
push dword [ebp - 0x50c20]
mov dword [ebp - 0x50c38], 0
mov dword [ebp - 0x50c34], 0
mov dword [ebp - 0x50c30], 0
mov dword [ebp - 0x50c2c], 0
mov dword [ebp - 0x50c28], 0
mov dword [ebp - 0x50c24], 0
call dword [sym.imp.WINMM.dll_waveOutPrepareHeader]
push 0x20
lea eax, [ebp - 0x50c40]
push eax
push dword [ebp - 0x50c20]
call dword [sym.imp.WINMM.dll_waveOutWrite]
push 0x20
lea eax, [ebp - 0x50c40]
push eax
push dword [ebp - 0x50c20]
call dword [sym.imp.WINMM.dll_waveOutUnprepareHeader]
push dword [ebp - 0x50c20]
call dword [sym.imp.WINMM.dll_waveOutClose]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040275c
mov esp, ebp
pop ebp
ret
Function at 0x401b60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3a9c4
call fcn.00403360
mov eax, dword [0x405004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
mov dword [ebp - 0x3a9a0], 0
push eax
push eax
push eax
mov word [ebp - 0x3a98c], ax
lea eax, [ebp - 0x3a99c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x3a9a0]
mov dword [ebp - 0x3a99c], 0x10001
push eax
mov dword [ebp - 0x3a998], 0x1f40
mov dword [ebp - 0x3a994], 0x1f40
mov dword [ebp - 0x3a990], 0x80001
call dword [sym.imp.WINMM.dll_waveOutOpen]
push 0x3a980
lea eax, [ebp - 0x3a988]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor ebx, ebx
mov ecx, ebx
movsx eax, bl
shr ecx, 8
mov edx, ebx
and ecx, 0xa
shr edx, cl
and dl, 0x32
movsx ecx, dl
imul ecx, eax
mov al, bl
shl al, 2
xor cl, bl
or cl, al
mov byte [ebp + ebx - 0x3a988], cl
inc ebx
cmp ebx, 0x3a980
jb 0x401be4
lea eax, [ebp - 0x3a988]
mov dword [ebp - 0x3a9bc], 0x3a980
mov dword [ebp - 0x3a9c0], eax
lea eax, [ebp - 0x3a9c0]
push 0x20
push eax
push dword [ebp - 0x3a9a0]
mov dword [ebp - 0x3a9b8], 0
mov dword [ebp - 0x3a9b4], 0
mov dword [ebp - 0x3a9b0], 0
mov dword [ebp - 0x3a9ac], 0
mov dword [ebp - 0x3a9a8], 0
mov dword [ebp - 0x3a9a4], 0
call dword [sym.imp.WINMM.dll_waveOutPrepareHeader]
push 0x20
lea eax, [ebp - 0x3a9c0]
push eax
push dword [ebp - 0x3a9a0]
call dword [sym.imp.WINMM.dll_waveOutWrite]
push 0x20
lea eax, [ebp - 0x3a9c0]
push eax
push dword [ebp - 0x3a9a0]
call dword [sym.imp.WINMM.dll_waveOutUnprepareHeader]
push dword [ebp - 0x3a9a0]
call dword [sym.imp.WINMM.dll_waveOutClose]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040275c
mov esp, ebp
pop ebp
ret