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

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x20]
test eax, eax
je 0x427e37
push 0x64
push eax
call dword [sym.imp.USER32.dll_KillTimer]
cmp dword [esi + 0x7c], 0
je 0x427f23
mov eax, dword [esi + 0x90]
test eax, eax
je 0x427e98
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x427e98
mov ecx, dword [esi + 0x2cc]
test ecx, ecx
je 0x427e7a
mov eax, dword [esi + 0x90]
test eax, eax
je 0x427e7a
mov edx, dword [ecx]
push 0
push 0
push 0x64
push 2
push eax
mov eax, dword [edx + 0x20]
call eax
mov ecx, dword [esi + 0x7c]
push 0x3e8
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x427eb7
mov edx, dword [esi + 0x7c]
push 0
push edx
jmp 0x427eb1
mov eax, dword [esi + 0x7c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x427eb7
mov ecx, dword [esi + 0x7c]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [esi + 0x7c]
push edi
lea edx, [ebp - 4]
push edx
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [esi + 0x80]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x427ee0
push eax
call edi
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x427eea
push eax
call edi
xor eax, eax
cmp byte [ebp + 8], 1
mov dword [esi + 0x90], 0
mov dword [esi + 0x7c], eax
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], eax
mov dword [esi + 0x88], eax
pop edi
jne 0x427f23
mov ecx, dword [esi + 0x8c]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
mov edx, dword [edx + 0xc]
push eax
call edx
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x427f30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x467a74]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x220], eax
cmp dword [esi + 0x8c], ebx
jne 0x427f6e
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00442c00
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x20], ebx
jne 0x427fbc
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x218], ebx
mov dword [ebp - 0x214], ebx
mov dword [ebp - 0x210], ebx
call sub.mfc100u.dll_AfxGetThread
cmp eax, ebx
je 0x427f9f
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x7c]
call eax
jmp 0x427fa1
xor eax, eax
mov edx, dword [esi]
mov edx, dword [edx + 0x5c]
push ebx
push 0x64
push eax
lea eax, [ebp - 0x21c]
push eax
push 0x40000000
push ebx
push ebx
mov ecx, esi
call edx
push edi
cmp dword [esi + 0x2cc], ebx
jne 0x42801c
lea ecx, [esi + 0x94]
call fcn.0042fff0
test al, al
je 0x428107
mov eax, dword [esi + 0x74]
mov ebx, dword [esi + 0x2cc]
mov edx, dword [eax + 4]
mov edi, dword [ebx]
lea ecx, [esi + 0x74]
push 0x1010100
push 0x453b78
call edx
push eax
mov eax, dword [edi + 0xc]
mov ecx, ebx
call eax
test al, al
je 0x428107
mov ecx, dword [esi + 0x2cc]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
test al, al
je 0x428107
xor ebx, ebx
mov eax, dword [esi + 0x7c]
lea edi, [esi + 0x7c]
cmp eax, ebx
je 0x428071
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x428071
mov eax, dword [esi + 0x90]
cmp eax, ebx
je 0x428140
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x428140
mov ecx, dword [esi + 0x8c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
push 1
call eax
push 0x65
push 2
mov ecx, esi
call fcn.004273b0
jmp 0x428140
mov ecx, dword [esi + 0x2cc]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov ebx, eax
call dword [sym.imp.PlatformData.dll_public:_static_class_CParameterGlobal____cdecl_CParameterGlobal::GetInstance_void_]
mov ecx, dword [ebp - 0x220]
mov eax, ebx
cdq
push edx
push eax
push ecx
push 0x453df4
lea edx, [ebp - 0x20c]
push 0x104
push edx
call dword [sym.imp.MSVCR100.dll__snwprintf]
push 0x44
lea eax, [ebp - 0x264]
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0x24
push edi
lea edx, [ebp - 0x264]
push edx
push 0
push 0
push 0x4000000
push 0
push 0
push 0
lea eax, [ebp - 0x20c]
push eax
mov ecx, 3
push 0
mov dword [ebp - 0x264], 0x44
mov word [ebp - 0x234], cx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x42811c
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00442c00
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [0x46dc9c]
test ecx, ecx
je 0x42812d
push 6
call sub.mfc100u.dll_CWnd::ShowWindow
mov ecx, dword [esi + 0x20]
push 0
push 0x4e20
push 0x64
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.00442c00
mov esp, ebp
pop ebp
ret 4
Function at 0x42e860
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
mov eax, dword [0x467a74]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov eax, 0x14a
push esi
mov esi, ecx
cmp word [ebp + 0xc], ax
je 0x42e899
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00442c00
mov esp, ebp
pop ebp
ret 8
cmp word [ebx], 0x12
jne 0x42e8bc
mov eax, dword [ebx + 6]
mov edx, dword [esi + 0x22b50]
mov edx, dword [edx + 0x44]
push eax
lea eax, [ebx + 0x4a]
lea ecx, [esi + 0x22b50]
push eax
lea eax, [ebx + 0xa]
push eax
call edx
cmp word [ebx], 0x13
jne 0x42e8df
mov edx, dword [ebx + 6]
mov eax, dword [esi + 0x22b50]
mov eax, dword [eax + 0x48]
push edx
lea edx, [ebx + 0x4a]
lea ecx, [esi + 0x22b50]
push edx
lea edx, [ebx + 0xa]
push edx
call eax
mov ecx, dword [esi + 0xe0]
mov edx, dword [ecx]
mov eax, dword [edx + 0x24]
call eax
cmp dword [ebx + 2], eax
jne 0x42e92b
mov ecx, dword [esi + 0xe0]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
cmp word [ebx], 0x12
jne 0x42e90c
mov ecx, 0xffff
add word [eax], cx
cmp word [ebx], 0x13
jne 0x42e91b
mov edx, 0xffff
add word [eax + 2], dx
mov ecx, dword [esi + 0x1f88]
test ecx, ecx
je 0x42e92b
call dword [sym.imp.GameProperty.dll_public:_void___thiscall_CDlgTrumpetItem::UpdateControlSurface_void_]
lea ecx, [esi + 0x1b5c]
push edi
mov dword [ebp - 0x154], ecx
call fcn.00427140
test al, al
je 0x42e998
mov eax, dword [ebx + 2]
mov cx, word [ebx]
mov edx, dword [ebx + 6]
mov word [ebp - 0x150], cx
mov dword [ebp - 0x14c], eax
push 0x14c
mov dword [ebp - 0x148], edx
lea eax, [ebp - 0x150]
lea esi, [ebx + 0xa]
mov ecx, 0x10
lea edi, [ebp - 0x144]
rep movsd dword es:[edi], dword [esi]
push eax
lea esi, [ebx + 0x4a]
mov ecx, 0x40
lea edi, [ebp - 0x104]
push 0x68
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x154]
push 5
call fcn.004273f0
call dword [sym.imp.PlatformData.dll_public:_static_class_CParameterGlobal____cdecl_CParameterGlobal::GetInstance_void_]
cmp byte [eax + 0x1a], 0
je 0x42ea22
call sub.mfc100u.dll_AfxGetModuleState
mov esi, dword [eax + 8]
call dword [sym.imp.GameEngine.dll_public:_static_class_CD3DSound____cdecl_CD3DSound::GetInstance_void_]
test eax, eax
je 0x42e9db
cmp word [ebx], 0x12
mov ecx, str.BUGLE
je 0x42e9c6
mov ecx, 0x45492c
push 0
push 0x452658
push ecx
push esi
mov ecx, eax
call dword [sym.imp.GameEngine.dll_public:_bool___thiscall_CD3DSound::PlaySoundW_struct_HINSTANCE_____wchar_t_const___wchar_t_const___bool_]
test al, al
jne 0x42ea22
cmp word [ebx], 0x12
mov eax, str.BUGLE
je 0x42e9eb
mov eax, 0x45492c
push 0x452658
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x42ea22
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x42ea1b
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push 7
push esi
push eax
call dword [sym.imp.WINMM.dll_PlaySoundW]
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.00442c00
mov esp, ebp
pop ebp
ret 8
Function at 0x4330f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447cfc
mov eax, dword fs:[0]
push eax
sub esp, 0x328
mov eax, dword [0x467a74]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov si, word [ebp + 0xc]
mov edi, dword [ebp + 8]
mov ebx, ecx
mov dword [ebp - 0x334], ebx
cmp si, 8
jbe 0x43331a
movzx ecx, word [edi + 2]
movzx eax, si
lea edx, [ecx + ecx + 8]
cmp eax, edx
jb 0x43331a
mov eax, 0x500
test word [edi], ax
je 0x433183
lea ecx, [ebx + 0x197c]
call fcn.0041aff0
mov ecx, dword [ebx + 0x21c4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x24]
call eax
push 0
lea ecx, [ebx + 0x1b5c]
call fcn.00427e20
mov dword [ebx + 0xec], 5
push 0
lea ecx, [ebp - 0x324]
call dword [sym.imp.ShareControl.dll_public:_void___thiscall_CInformation::constructor_class_CWnd__]
push 0
push 0x40
lea ecx, [edi + 8]
push ecx
lea ecx, [ebp - 0x324]
mov dword [ebp - 4], 0
call dword [sym.imp.ShareControl.dll_public:_int___thiscall_CInformation::ShowMessageBox_wchar_t_const___unsigned_int__unsigned_int_]
mov dx, word [edi + 2]
add dx, 4
add dx, dx
movzx ecx, dx
mov dword [ebp - 0x330], eax
mov dword [ebp - 0x328], ecx
cmp cx, si
jae 0x4332d0
mov ebx, dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x4331ea
mov ecx, dword [ebp - 0x328]
mov si, word [ebp + 0xc]
movzx eax, word [ebp - 0x328]
lea edx, [eax + 7]
mov dword [ebp - 0x32c], edx
movzx edx, si
cmp dword [ebp - 0x32c], edx
ja 0x433307
lea esi, [eax + edi + 4]
mov dword [ebp - 0x32c], esi
movzx esi, word [esi]
lea esi, [esi + eax + 7]
cmp esi, edx
ja 0x433307
mov edx, dword [ebp - 0x330]
cmp edx, dword [eax + edi]
jne 0x4332a2
movzx eax, byte [eax + edi + 6]
dec eax
je 0x43326e
dec eax
jne 0x4332a2
add ecx, 7
movzx esi, cx
add esi, edi
test byte [esi], 1
je 0x433256
push 1
push eax
push eax
lea eax, [esi + 1]
push eax
push 0x44e998
push 0
call ebx
test byte [esi], 2
je 0x4332a2
push 1
push 0
push 0
inc esi
push esi
push 0x44e998
push 0
call ebx
jmp 0x4332a2
add ecx, 7
movzx esi, cx
add esi, edi
test byte [esi], 1
je 0x43328e
push 1
push 0
push 0
lea ecx, [esi + 1]
push ecx
push 0x44e998
push 0
call ebx
test byte [esi], 2
je 0x4332a2
mov ecx, dword [0x46dc98]
push 1
inc esi
push esi
call fcn.00424c10
mov edx, dword [ebp - 0x32c]
mov cx, word [edx]
mov ax, word [ebp - 0x328]
add cx, 7
add ax, cx
mov word [ebp - 0x328], ax
cmp ax, word [ebp + 0xc]
jb 0x4331e0
mov ebx, dword [ebp - 0x334]
mov edx, pe_nt_image_headers32
test word [edi], dx
je 0x4332f0
mov eax, dword [ebx + 0x20]
push 0
push 0x801a
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [ebp - 0x324]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.ShareControl.dll_public_virtual:_void___thiscall_CInformation::destructor_void_]
mov al, 1
jmp 0x43331c
lea ecx, [ebp - 0x324]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.ShareControl.dll_public_virtual:_void___thiscall_CInformation::destructor_void_]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00442c00
mov esp, ebp
pop ebp
ret 8
Function at 0x438e30
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x467a74]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
xor edx, edx
push 0x7e
mov dword [ebp - 0x8c], eax
mov edi, ecx
mov ecx, dword [ebp + 0x14]
push edx
lea eax, [ebp - 0x82]
push eax
mov dword [ebp - 0x88], ecx
mov word [ebp - 0x84], dx
call sub.MSVCR100.dll_memset
mov ecx, dword [ebp - 0x88]
add esp, 0xc
xor eax, eax
push ecx
mov dword [esi], eax
push 0x40
mov dword [esi + 4], eax
lea edx, [ebp - 0x84]
push edx
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x8c]
push 0x44b36c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x84], 0
je 0x438f19
lea ecx, [ebp - 0x84]
lea edx, [ebp - 0x88]
mov dword [ebp - 0x88], ecx
push edx
mov ecx, edi
call fcn.00438dd0
mov dword [esi], eax
lea eax, [ebp - 0x88]
push eax
mov ecx, edi
call fcn.00438dd0
lea ecx, [ebp - 0x88]
push ecx
mov ecx, edi
mov dword [esi + 4], eax
call fcn.00438dd0
lea edx, [ebp - 0x88]
push edx
mov ecx, edi
mov dword [esi + 8], eax
call fcn.00438dd0
pop edi
mov dword [esi + 0xc], eax
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00442c00
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.00442c00
mov esp, ebp
pop ebp
ret 0x10

Function at 0x438f30
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x467a74]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x8c], ecx
xor ecx, ecx
push 0x7e
push ecx
lea edx, [ebp - 0x82]
push edx
mov dword [ebp - 0x88], eax
mov word [ebp - 0x84], cx
call sub.MSVCR100.dll_memset
xor eax, eax
add esp, 0xc
mov dword [esi], eax
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x88]
push eax
push 0x40
lea ecx, [ebp - 0x84]
push ecx
push 0x44b36c
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x84], 0
je 0x438fef
mov edi, dword [ebp - 0x8c]
lea eax, [ebp - 0x88]
lea edx, [ebp - 0x84]
push eax
mov ecx, edi
mov dword [ebp - 0x88], edx
call fcn.00438dd0
lea ecx, [ebp - 0x88]
push ecx
mov ecx, edi
mov dword [esi], eax
call fcn.00438dd0
pop edi
mov dword [esi + 4], eax
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00442c00
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.00442c00
mov esp, ebp
pop ebp
ret 0x10
Function at 0x442c00
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x467a74]
jne 0x442c0a
repz ret
jmp fcn.0044334f

Function at 0x401026
Capabilities:
Create process on windows
Delete file
Read file on windows
Set file attributes
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov edx, section..text
push edi
push esi
push ebx
sub esp, 0x574
lea ecx, [esp + 0x64]
cmp edx, entry0
jae 0x40104c
movzx eax, byte [edx]
inc edx
xor al, 0xd9
mov byte [ecx], al
inc ecx
jmp 0x401039
mov byte [ecx], 0
lea esi, [esp + 0x64]
push esi
push 1
push 0
call 0x401220
push 0x104
lea ebx, [esp + 0x468]
push ebx
push 0
call sub.KERNEL32.dll_GetModuleFileNameA
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push ebx
call sub.KERNEL32.dll_CreateFileA
test eax, eax
mov ebx, eax
je 0x401205
cmp eax, 0xffffffff
je 0x401205
push 2
push 0
push 0xffffffffffffff9c
push eax
call sub.KERNEL32.dll_SetFilePointer
push 0
lea ebp, [esp + 4]
push ebp
push 0x64
push esi
push ebx
call sub.KERNEL32.dll_ReadFile
push ebx
call sub.KERNEL32.dll_CloseHandle
lea edx, [esp + 0x65]
lea ecx, [esp + 0xc7]
cmp edx, ecx
jae 0x4010d4
movzx eax, byte [esp + 0x64]
xor byte [edx], al
inc edx
jmp 0x4010c6
lea edx, [esp + 0x14]
lea eax, [esp + 0x58]
cmp edx, eax
jae 0x4010e6
mov byte [edx], 0
inc edx
jmp 0x4010dc
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x18]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x8d]
push eax
call sub.KERNEL32.dll_CreateProcessA
test eax, eax
jne 0x401205
push 0
push 0
push 3
push 0
push 1
push 0x80000000
lea eax, [esp + 0x47c]
push eax
call sub.KERNEL32.dll_CreateFileA
test eax, eax
mov ebx, eax
je 0x401205
cmp eax, 0xffffffff
je 0x401205
push 2
mov eax, 0xffffff9c
push 0
sub eax, dword [esp + 0x6d]
push eax
push ebx
call sub.KERNEL32.dll_SetFilePointer
push 0
push ebp
push dword [esp + 0x6d]
push dword [esp + 0x71]
push 0
call sub.KERNEL32.dll_GetProcessHeap
push eax
call sub.KERNEL32.dll_HeapAlloc
push eax
mov esi, eax
push ebx
call sub.KERNEL32.dll_ReadFile
push ebx
call sub.KERNEL32.dll_CloseHandle
mov eax, esi
mov edx, esi
add eax, dword [esp + 0x65]
cmp esi, eax
jae 0x40119b
movzx eax, byte [esp + 0x64]
xor byte [edx], al
mov eax, esi
inc edx
add eax, dword [esp + 0x65]
cmp edx, eax
jmp 0x401187
push pe_nt_image_headers32
lea edi, [esp + 0x6d]
push edi
call sub.KERNEL32.dll_SetFileAttributesA
push edi
call sub.KERNEL32.dll_DeleteFileA
push 0
push pe_nt_image_headers32
push 2
push 0
push 0
push 0x40000000
push edi
call sub.KERNEL32.dll_CreateFileA
test eax, eax
mov ebx, eax
je 0x401205
cmp eax, 0xffffffff
je 0x401205
push 0
push ebp
push dword [esp + 0x6d]
push esi
push eax
call sub.KERNEL32.dll_WriteFile
push ebx
call sub.KERNEL32.dll_CloseHandle
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x18]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push edi
call sub.KERNEL32.dll_CreateProcessA
push 0
call sub.KERNEL32.dll_ExitProcess
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
jmp dword [sym.imp.KERNEL32.dll_CreateMutexA]
Function at 0x40e9f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push edi
push 0x4c0ed0
push dword [ebp + 8]
xor edi, edi
call fcn.0046f500
mov ecx, eax
mov dword [ebp - 0xc], edi
add esp, 8
mov dword [ebp - 0x14], ecx
mov eax, dword [ecx + 0x18]
cmp dword [ecx + 8], edi
jle 0x40eabe
mov ecx, dword [ebp + 0x10]
neg eax
push ebx
sbb eax, eax
and eax, 0xffff
push esi
movzx esi, ax
movzx eax, si
mov dword [ebp - 8], eax
lea eax, [ecx + 4]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
sub ecx, eax
mov dword [ebp - 0x10], esi
lea edx, [ecx - 4]
lea ebx, [eax + 4]
mov dword [ebp + 0xc], edx
nop dword [eax + eax]
movzx ecx, word [ebx - 4]
lea ebx, [ebx + 6]
mov eax, ecx
xor eax, esi
mov word [edx + ebx - 6], ax
mov edx, edi
or edx, 1
cmp cx, si
movzx ecx, word [ebx - 8]
cmove edx, edi
mov eax, ecx
xor eax, esi
mov esi, dword [ebp - 4]
mov word [esi - 2], ax
mov esi, edx
or esi, 2
cmp cx, word [ebp - 8]
movzx ecx, word [ebx - 6]
cmove esi, edx
mov eax, ecx
mov edx, dword [ebp - 4]
mov edi, esi
xor eax, dword [ebp - 0x10]
or edi, 4
cmp cx, word [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov word [edx], ax
cmove edi, esi
mov eax, dword [ebp - 0x14]
add edx, 6
mov esi, dword [ebp - 0x10]
inc ecx
mov dword [ebp - 4], edx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0xc], ecx
cmp ecx, dword [eax + 8]
jl 0x40ea50
pop esi
pop ebx
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x40f3e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
push 0x4c0ed0
push dword [ebp + 8]
xor edi, edi
call fcn.0046f500
mov ecx, eax
mov dword [ebp - 0xc], edi
add esp, 8
mov dword [ebp - 0x10], ecx
mov eax, dword [ecx + 0x18]
cmp dword [ecx + 8], edi
jle 0x40f4bf
mov edx, dword [ebp + 0xc]
neg eax
push ebx
sbb eax, eax
add edx, 2
and eax, 0xffff
mov dword [ebp + 0xc], edx
push esi
mov esi, dword [ebp + 0x10]
movzx ebx, ax
add esi, 4
mov eax, ebx
mov dword [ebp - 4], esi
mov dword [ebp - 8], eax
mov eax, 0x101
movzx ecx, byte [edx - 2]
mov edx, edi
movzx eax, ax
or edx, 1
imul ecx, eax
mov eax, ecx
xor eax, ebx
cmp cx, bx
mov word [esi - 4], ax
mov eax, dword [ebp + 0xc]
cmove edx, edi
mov edi, 0x101
movzx ecx, byte [eax - 1]
imul ecx, edi
mov eax, ecx
xor eax, ebx
mov word [esi - 2], ax
mov esi, edx
or esi, 2
cmp cx, word [ebp - 8]
cmove esi, edx
mov edx, dword [ebp + 0xc]
movzx ecx, byte [edx]
imul ecx, edi
mov edi, dword [ebp - 4]
mov eax, ecx
xor eax, ebx
mov word [edi], ax
mov edi, esi
mov eax, dword [ebp - 0x10]
or edi, 4
cmp cx, word [ebp - 8]
mov ecx, dword [ebp - 0xc]
cmove edi, esi
mov esi, dword [ebp - 4]
inc ecx
add edx, 3
add esi, 6
mov dword [ebp + 0xc], edx
cmp ecx, dword [eax + 8]
mov eax, 0x101
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], ecx
jl 0x40f437
pop esi
pop ebx
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x411670
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, 7
push 0x4c0ed0
push dword [ebp + 8]
call fcn.0046f500
add esp, 8
mov dword [ebp + 0xc], eax
mov edx, dword [eax + 0x18]
neg edx
sbb edx, edx
xor ebx, ebx
and edx, 0xffff
cmp dword [eax + 8], ebx
jle 0x4116e3
mov ecx, dword [ebp + 0x10]
add ecx, 4
nop dword [eax + eax]
movzx eax, byte [edi]
lea edi, [edi + 1]
imul eax, eax, 0xff
lea ecx, [ecx + 6]
xor eax, edx
movzx eax, ax
mov word [ecx - 0xa], ax
mov word [ecx - 8], ax
mov word [ecx - 6], ax
mov eax, 0
cmove eax, esi
inc ebx
mov esi, eax
mov eax, dword [ebp + 0xc]
cmp ebx, dword [eax + 8]
jl 0x4116b0
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret
Function at 0x4149f0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b78c5
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x587614]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x128], esi
mov dword [ebp - 0x12c], esi
call sub.mfc140u.dll_CWnd::CWnd
push 0xc
mov dword [ebp - 4], 0
mov dword [esi], vtable.CColourPickerXP.0
mov dword [esi + 0x80], 0xff000000
call dword [sym.imp.USER32.dll_GetSysColor]
push 0x4c1c80
lea ecx, [esi + 0x88]
mov dword [esi + 0x84], eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__19]
push str.More_Colors...
lea ecx, [esi + 0x8c]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__19]
push 0x4c1cb4
lea ecx, [esi + 0xa8]
mov byte [ebp - 4], 2
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0x98], 0
mov dword [esi + 0xa0], 0
mov dword [esi + 0xa4], 0
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__19]
push 0x4c0400
lea ecx, [esi + 0xac]
mov byte [ebp - 4], 3
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__19]
lea ecx, [esi + 0xb0]
mov byte [ebp - 4], 4
call fcn.00493370
lea ecx, [esi + 0xb4]
mov byte [ebp - 4], 5
call fcn.00493370
lea ecx, [esi + 0xb8]
mov byte [ebp - 4], 6
call fcn.00493370
lea eax, [ebp - 0x124]
mov dword [ebp - 0x124], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 2
jne 0x414b3d
mov eax, dword [ebp - 0x120]
cmp eax, 5
ja 0x414b39
jne 0x414b3d
cmp dword [ebp - 0x11c], 1
jb 0x414b3d
mov al, 1
jmp 0x414b3f
xor al, al
mov dword [esi + 0x9c], 0
lea ecx, [esi + 0x9c]
test al, al
je 0x414b63
push 0
push ecx
push 0
push 0x1022
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b61c2
mov esp, ebp
pop ebp
ret