joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40dd6e
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 0x2c], 0x417718
mov dword [ebp - 0x28], 0x417728
mov dword [ebp - 0x24], 0x417738
mov dword [ebp - 0x20], 0x417748
mov dword [ebp - 0x1c], 0x417758
mov dword [ebp - 0x18], 0x417768
mov dword [ebp - 0x14], 0x417778
mov dword [ebp - 0x10], 0x417788
mov dword [ebp - 0xc], 0x417798
mov dword [ebp - 8], 0x4177a8
mov dword [ebp - 4], 0x4177b8
mov word [ebp - 0x30], 0
jmp 0x40ddd5
mov ax, word [ebp - 0x30]
add ax, 1
mov word [ebp - 0x30], ax
mov ecx, dword [ebp - 0x30]
and ecx, 0xffff
mov edx, dword [ebp + 8]
and edx, 0xffff
cmp ecx, edx
jge 0x40de29
xor eax, eax
mov ax, word [0x418a82]
mov ecx, dword [ebp + eax*4 - 0x30]
add ecx, 2
push ecx
mov edx, dword [ebp - 0x30]
and edx, 0xffff
add edx, 1
push edx
push 0x4177c0
mov eax, dword [0x418a20]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0x418d40
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x40ddc9
mov esp, ebp
pop ebp
ret
Function at 0x410419
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x417c28
cmp edx, dword [eax]
je 0x41043b
add eax, 8
inc ecx
cmp eax, 0x417cb8
jl 0x41042c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x417c28]
jne 0x410569
mov eax, dword [0x4185f0]
cmp eax, 1
je 0x410543
test eax, eax
jne 0x41046c
cmp dword [0x417ac4], 1
je 0x410543
cmp edx, 0xfc
je 0x410569
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4104a3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00410c00
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004111d0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4104e6
lea eax, [ebp - 0x1a4]
push eax
call fcn.004111d0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x415678
push edi
call fcn.00412ff0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00410c00
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00410c10
lea eax, [ebp - 0xa0]
push 0x415658
push eax
call fcn.00410c10
push dword [esi + 0x417c2c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00410c10
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00412f59
add esp, 0x2c
pop edi
jmp 0x410569
lea eax, [ebp + 8]
lea esi, [esi + 0x417c2c]
push 0
push eax
push dword [esi]
call fcn.004111d0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x404fb2
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push ebx
push eax
add esp, 4
sub ebx, 0xf5f4
xor ebx, 0xde88
and ebx, 0x17a2f
pop ebx
push ecx
push ecx
add esp, 4
sub ecx, 0x4174
pop ecx
push edi
sub edi, 0x122f
add edi, 0x126d8
pop edi
lea ecx, [ebp - 0x1738]
mov dword [ebp - 0xc94], ecx
mov edx, dword [ebp - 0x504]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0xc90], eax
xor ecx, ecx
mov word [ebp - 0x210], cx
xor edx, edx
mov word [ebp - 0x10c], dx
push ebx
or ebx, 0x11026
call fcn.00404fb2
add byte [edi + 0x44], al
inc esi
inc edx
dec esi
dec esi
add esp, 4
xor ebx, 0x630f
pop ebx
push ebx
push edx
add esp, 4
jmp 0x404fc7
pop ebx
push ebx
xor ebx, 0x16d7d
pop ebx
mov eax, dword [ebp - 0xc90]
mov cx, word [eax]
mov word [ebp - 0x1032], cx
mov edx, dword [ebp - 0xc90]
add edx, 2
mov dword [ebp - 0xc90], edx
mov ax, word [ebp - 0x1032]
mov word [ebp - 0x210], ax
mov ecx, dword [ebp - 0xc94]
mov dx, word [ecx]
mov word [ebp - 0x1034], dx
mov eax, dword [ebp - 0xc94]
add eax, 2
mov dword [ebp - 0xc94], eax
mov cx, word [ebp - 0x1034]
mov word [ebp - 0x10c], cx
push esi
push edi
add esp, 4
and esi, 0x6dcc
add esi, 0x12be4
or esi, 0x116b6
sub esi, 0x118af
pop esi
push ecx
push edx
add esp, 4
sub ecx, 0xbff
pop ecx
push eax
and eax, 0x1557c
pop eax
movzx edx, word [ebp - 0x10c]
test edx, edx
jne 0x40507f
movzx eax, word [ebp - 0x210]
movzx ecx, word [ebp - 0x10c]
sub eax, ecx
mov dword [ebp - 0x15e0], eax
jmp 0x4050e2
movzx edx, word [ebp - 0x210]
movzx eax, word [ebp - 0x10c]
cmp edx, eax
je 0x404f9e
movzx ecx, word [ebp - 0x210]
xor ecx, 0x20
movzx edx, word [ebp - 0x10c]
cmp ecx, edx
je 0x404f9e
movzx eax, word [ebp - 0x210]
movzx ecx, word [ebp - 0x10c]
cmp eax, ecx
jge 0x4050cc
mov dword [ebp - 0x15dc], 0xffffffff
jmp 0x4050d6
mov dword [ebp - 0x15dc], 1
mov edx, dword [ebp - 0x15dc]
mov dword [ebp - 0x15e0], edx
cmp dword [ebp - 0x15e0], 0
jne 0x40512b
push ecx
or ecx, 0x515a
add ecx, 0xcc97
and ecx, 0x2db4
pop ecx
push eax
push ebx
add esp, 4
add eax, 0xe7b2
call 0x405119
add byte [edi], dh
inc ecx
dec ecx
inc ebp
dec ecx
inc ebp
cmp ecx, dword [edi - 0x7d]
les eax, [eax + ebx*2]
mov eax, dword [ebp - 0x504]
mov dword [ebp - 0x31c], eax
jmp 0x405193
push edi
push edi
add esp, 4
or edi, 0x148d1
pop edi
push eax
push ecx
add esp, 4
or eax, 0xe7df
xor eax, 0xfa7a
add eax, 0x5852
pop eax
push edi
add edi, 0xf071
and edi, 0x1819f
pop edi
mov ecx, dword [ebp - 0x504]
mov edx, dword [ecx]
mov dword [ebp - 0x504], edx
mov eax, dword [ebp - 0x504]
cmp eax, dword [ebp - 0xc98]
je 0x405189
mov ecx, dword [ebp - 0x504]
cmp dword [ecx + 0x30], 0
jne 0x404f3f
mov dword [ebp - 0x31c], 0
Function at 0x405119
Capabilities:
Contain obfuscated stackstrings
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push ebx
push eax
add esp, 4
sub ebx, 0xf5f4
xor ebx, 0xde88
and ebx, 0x17a2f
pop ebx
push ecx
push ecx
add esp, 4
sub ecx, 0x4174
pop ecx
push edi
sub edi, 0x122f
add edi, 0x126d8
pop edi
lea ecx, [ebp - 0x1738]
mov dword [ebp - 0xc94], ecx
mov edx, dword [ebp - 0x504]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0xc90], eax
xor ecx, ecx
mov word [ebp - 0x210], cx
xor edx, edx
mov word [ebp - 0x10c], dx
push ebx
or ebx, 0x11026
call fcn.00404fb2
add byte [edi + 0x44], al
inc esi
inc edx
dec esi
dec esi
add esp, 4
xor ebx, 0x630f
pop ebx
push ebx
push edx
add esp, 4
jmp 0x404fc7
pop ebx
push ebx
xor ebx, 0x16d7d
pop ebx
mov eax, dword [ebp - 0xc90]
mov cx, word [eax]
mov word [ebp - 0x1032], cx
mov edx, dword [ebp - 0xc90]
add edx, 2
mov dword [ebp - 0xc90], edx
mov ax, word [ebp - 0x1032]
mov word [ebp - 0x210], ax
mov ecx, dword [ebp - 0xc94]
mov dx, word [ecx]
mov word [ebp - 0x1034], dx
mov eax, dword [ebp - 0xc94]
add eax, 2
mov dword [ebp - 0xc94], eax
mov cx, word [ebp - 0x1034]
mov word [ebp - 0x10c], cx
push esi
push edi
add esp, 4
and esi, 0x6dcc
add esi, 0x12be4
or esi, 0x116b6
sub esi, 0x118af
pop esi
push ecx
push edx
add esp, 4
sub ecx, 0xbff
pop ecx
push eax
and eax, 0x1557c
pop eax
movzx edx, word [ebp - 0x10c]
test edx, edx
jne 0x40507f
movzx eax, word [ebp - 0x210]
movzx ecx, word [ebp - 0x10c]
sub eax, ecx
mov dword [ebp - 0x15e0], eax
jmp 0x4050e2
movzx edx, word [ebp - 0x210]
movzx eax, word [ebp - 0x10c]
cmp edx, eax
je 0x404f9e
movzx ecx, word [ebp - 0x210]
xor ecx, 0x20
movzx edx, word [ebp - 0x10c]
cmp ecx, edx
je 0x404f9e
movzx eax, word [ebp - 0x210]
movzx ecx, word [ebp - 0x10c]
cmp eax, ecx
jge 0x4050cc
mov dword [ebp - 0x15dc], 0xffffffff
jmp 0x4050d6
mov dword [ebp - 0x15dc], 1
mov edx, dword [ebp - 0x15dc]
mov dword [ebp - 0x15e0], edx
cmp dword [ebp - 0x15e0], 0
jne 0x40512b
push ecx
or ecx, 0x515a
add ecx, 0xcc97
and ecx, 0x2db4
pop ecx
push eax
push ebx
add esp, 4
add eax, 0xe7b2
call 0x405119
add byte [edi], dh
inc ecx
dec ecx
inc ebp
dec ecx
inc ebp
cmp ecx, dword [edi - 0x7d]
les eax, [eax + ebx*2]
mov eax, dword [ebp - 0x504]
mov dword [ebp - 0x31c], eax
jmp 0x405193
push edi
push edi
add esp, 4
or edi, 0x148d1
pop edi
push eax
push ecx
add esp, 4
or eax, 0xe7df
xor eax, 0xfa7a
add eax, 0x5852
pop eax
push edi
add edi, 0xf071
and edi, 0x1819f
pop edi
mov ecx, dword [ebp - 0x504]
mov edx, dword [ecx]
mov dword [ebp - 0x504], edx
mov eax, dword [ebp - 0x504]
cmp eax, dword [ebp - 0xc98]
je 0x405189
mov ecx, dword [ebp - 0x504]
cmp dword [ecx + 0x30], 0
jne 0x404f3f
mov dword [ebp - 0x31c], 0
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x431030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x403240
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x415611
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x41e018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], ecx
push 0x41e950
lea ecx, [ebp - 0x14]
call fcn.00403dc0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call dword [0x417198]
mov byte [ebp - 4], 1
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [0x41e9c4]
call fcn.00404350
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [0x41ea44], ecx
mov dword [0x41ea48], edx
jmp 0x4032bb
push 0
lea eax, [ebp - 0x28]
push eax
mov ecx, 0x41ea44
call fcn.00404c50
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [0x41e9c4]
call fcn.00404380
push eax
mov ecx, 0x41ea44
call fcn.00404c90
movzx edx, al
test edx, edx
je 0x403329
mov ecx, 0x41ea44
call fcn.00404c30
mov eax, dword [eax + 8]
push eax
mov ecx, 0x41ea44
call fcn.00404c30
mov ecx, dword [eax + 4]
push ecx
mov ecx, 0x41ea44
call fcn.00404c30
mov edx, dword [eax]
push edx
push str._Dump:_Pointer___d___nRefCount___d___nUniqueID___d___r_n
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
add esp, 0x14
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc90u.dll_]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x4032ab
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004024e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4036f0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4155b1
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x41e018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], ecx
push 0x41e950
lea ecx, [ebp - 0x14]
call fcn.00403e60
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call dword [0x417198]
mov byte [ebp - 4], 1
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [0x41e9c4]
call fcn.00404350
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [0x41ea44], ecx
mov dword [0x41ea48], edx
jmp 0x40376b
push 0
lea eax, [ebp - 0x28]
push eax
mov ecx, 0x41ea44
call fcn.00404c50
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [0x41e9c4]
call fcn.00404380
push eax
mov ecx, 0x41ea44
call fcn.00404c90
movzx edx, al
test edx, edx
je 0x4037d9
mov ecx, 0x41ea44
call fcn.00404c30
mov eax, dword [eax + 8]
push eax
mov ecx, 0x41ea44
call fcn.00404c30
mov ecx, dword [eax + 4]
push ecx
mov ecx, 0x41ea44
call fcn.00404c30
mov edx, dword [eax]
push edx
push str._Dump:_Pointer___d___nRefCount___d___nUniqueID___d___r_n
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
add esp, 0x14
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc90u.dll_]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x40375b
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00402510
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x403bb0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x415551
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x41e018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], ecx
push 0x41e950
lea ecx, [ebp - 0x14]
call fcn.00403f50
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call dword [0x417198]
mov byte [ebp - 4], 1
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [0x41e9c4]
call fcn.00404350
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [0x41ea44], ecx
mov dword [0x41ea48], edx
jmp 0x403c2b
push 0
lea eax, [ebp - 0x28]
push eax
mov ecx, 0x41ea44
call fcn.00404c50
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [0x41e9c4]
call fcn.00404380
push eax
mov ecx, 0x41ea44
call fcn.00404c90
movzx edx, al
test edx, edx
je 0x403c99
mov ecx, 0x41ea44
call fcn.00404c30
mov eax, dword [eax + 8]
push eax
mov ecx, 0x41ea44
call fcn.00404c30
mov ecx, dword [eax + 4]
push ecx
mov ecx, 0x41ea44
call fcn.00404c30
mov edx, dword [eax]
push edx
push str._Dump:_Pointer___d___nRefCount___d___nUniqueID___d___r_n
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
add esp, 0x14
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc90u.dll_]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x403c1b
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00402540
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x40df76
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41e018]
jne 0x40df80
repz ret
jmp fcn.0040e475
Function at 0x412f70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4147a5
mov eax, dword fs:[0]
push eax
sub esp, 0x820
mov eax, dword [0x41e018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x820], 0
lea eax, [ebp - 0x414]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [ebp - 0x818]
push ecx
call fcn.00412a90
add esp, 4
mov dword [ebp - 0x824], eax
mov edx, dword [ebp - 0x824]
mov dword [ebp - 0x828], edx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x828]
call dword [sym.imp.mfc90u.dll_]
push eax
lea eax, [ebp - 0x81c]
push eax
call fcn.00412b30
add esp, 8
mov dword [ebp - 0x82c], eax
mov ecx, dword [ebp - 0x82c]
mov edx, dword [ecx]
push edx
push 0x418210
lea eax, [ebp - 0x814]
push eax
call fcn.00403d90
add esp, 0xc
lea ecx, [ebp - 0x81c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x818]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push 0x418218
lea ecx, [ebp - 0x814]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov ecx, 0x41ea34
call dword [sym.imp.mfc90u.dll_]
push eax
lea edx, [ebp - 0x814]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x814]
push eax
mov ecx, dword [ebp + 8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
mov ecx, dword [ebp - 0x820]
or ecx, 1
mov dword [ebp - 0x820], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040df76
mov esp, ebp
pop ebp
ret

Function at 0x413280
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
push eax
call fcn.00412f70
add esp, 4
mov dword [ebp - 8], eax
push 1
push 0
push 0
mov ecx, dword [ebp - 8]
call dword [sym.imp.mfc90u.dll_]
push eax
push 0x41821c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 4]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov esp, ebp
pop ebp
ret
Function at 0x40ac03
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
jge 0x40ac2c
mov eax, 0xfffffffd
jmp 0x40adcd
mov ebx, dword [0x12f7cc8]
add ebx, 0x1c
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 0
je 0x40ad9b
mov ebx, dword [0x12f7cc8]
add ebx, 4
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 0xa
jne 0x40ac7b
mov ebx, dword [0x12f7cc8]
add ebx, 8
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 0
jne 0x40ac7b
mov eax, 1
jmp 0x40ac80
mov eax, 0
test eax, eax
je 0x40acb0
call fcn.0040add3
mov dword [ebp - 4], eax
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x40ac9d
mov eax, dword [ebp + 8]
call dword [ebp - 4]
nop
nop
leave
ret 4
mov ebx, dword [0x12f7cc8]
add ebx, 4
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 6
jne 0x40ace7
mov ebx, dword [0x12f7cc8]
add ebx, 8
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 2
jne 0x40ace7
mov eax, 1
jmp 0x40acec
mov eax, 0
test eax, eax
jne 0x40ad3c
mov ebx, dword [0x12f7cc8]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
cmp dword [ebx], 6
jne 0x40ad2b
mov ebx, dword [0x12f7cc8]
add ebx, 8
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
cmp dword [ebx], 3
jne 0x40ad2b
mov eax, 1
jmp 0x40ad30
mov eax, 0
test eax, eax
jne 0x40ad3c
xor eax, eax
jmp 0x40ad41
mov eax, 1
test eax, eax
je 0x40ad6d
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x40ad56
mov eax, dword [ebp + 8]
call dword fs:[0xc0]
nop
nop
leave
ret 4
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
and ecx, 0xffff
mov edx, dword [ebp]
lea edx, [edx + 8]
call dword fs:[0xc0]
nop
nop
nop
nop
nop
leave
ret 4
mov ebx, dword [0x12f7cc8]
add ebx, 0x1c
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 0
jne 0x40adc3
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x40adcd
mov esp, ebp
pop ebp
ret 4

Function at 0x40bbaa
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.0040bc0c
test eax, eax
je 0x40bbed
xor eax, eax
xchg dword [ebp + 8], eax
cmp eax, 0xffff
jle 0x40bbed
cmp word [eax], 0x5a4d
jne 0x40bbed
add eax, dword [eax + 0x3c]
cmp dword [eax], 0x4550
jne 0x40bbed
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.0040bcde
mov eax, dword [ebp + 8]
jmp 0x40bc06
mov esp, ebp
pop ebp
ret 4

Function at 0x40bc0c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x40bcbf
mov eax, dword [ebp + 8]
leave
sub esp, 0x60
pushfd
pushal
push dword [esp + 0x84]
push 0
push eax
fnsave dword [esp + 0x30]
wait
push dword fs:[0]
mov dword fs:[0], esp
mov eax, 1
jmp dword [esp + 0xc]
Function at 0x4d051c
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
mov eax, 0x564d5868
mov ebx, 0
mov ecx, 0xa
mov edx, 0x5658
in eax, dx
cmp ebx, 0x564d5868
sete byte [ebp - 4]
mov eax, dword [ebp - 4]
jmp 0x4d0553
mov esp, ebp
pop ebp
ret

Function at 0x4e322d
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x4e3265
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x4e3253
mov al, 1
jmp 0x4e32af
cmp dword [ebx + 0x54], ecx
jne 0x4e325c
mov al, 2
jmp 0x4e32af
cmp dword [ebx + 0x7c], ecx
jne 0x4e32af
mov al, 3
jmp 0x4e32af
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x4e327a
mov al, 4
jmp 0x4e32af
cmp ecx, 5
jne 0x4e329a
cmp ebx, 0
jne 0x4e3288
mov al, 5
jmp 0x4e32af
cmp ebx, 1
jne 0x4e3291
mov al, 6
jmp 0x4e32af
cmp ebx, 2
jne 0x4e329a
mov al, 7
jmp 0x4e32af
cmp ecx, 6
jne 0x4e32a6
cmp ebx, 0
jne 0x4e32a8
mov al, 8
jmp 0x4e32af
cmp ebx, 1
jne 0x4e32af
mov al, 9
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x50d8b9
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x50d96c
mov eax, dword [ebp + 8]
leave
sub esp, 0x60
pushfd
pushal
push dword [esp + 0x84]
push 0
push eax
fnsave dword [esp + 0x30]
wait
push dword fs:[0]
mov dword fs:[0], esp
mov eax, 1
jmp dword [esp + 0xc]
Function at 0x512657
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.0050d8b9
test eax, eax
je 0x51269a
xor eax, eax
xchg dword [ebp + 8], eax
cmp eax, 0xffff
jle 0x51269a
cmp word [eax], 0x5a4d
jne 0x51269a
add eax, dword [eax + 0x3c]
cmp dword [eax], 0x4550
jne 0x51269a
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.005126b9
mov eax, dword [ebp + 8]
jmp 0x5126b3
mov esp, ebp
pop ebp
ret 4

Function at 0x51286f
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
jge 0x512898
mov eax, 0xfffffffd
jmp 0x512a39
mov ebx, dword [0x12f8128]
add ebx, 0x1c
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 0
je 0x512a07
mov ebx, dword [0x12f8128]
add ebx, 4
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 0xa
jne 0x5128e7
mov ebx, dword [0x12f8128]
add ebx, 8
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 0
jne 0x5128e7
mov eax, 1
jmp 0x5128ec
mov eax, 0
test eax, eax
je 0x51291c
call fcn.00512a3f
mov dword [ebp - 4], eax
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x512909
mov eax, dword [ebp + 8]
call dword [ebp - 4]
nop
nop
leave
ret 4
mov ebx, dword [0x12f8128]
add ebx, 4
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 6
jne 0x512953
mov ebx, dword [0x12f8128]
add ebx, 8
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 2
jne 0x512953
mov eax, 1
jmp 0x512958
mov eax, 0
test eax, eax
jne 0x5129a8
mov ebx, dword [0x12f8128]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
cmp dword [ebx], 6
jne 0x512997
mov ebx, dword [0x12f8128]
add ebx, 8
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
cmp dword [ebx], 3
jne 0x512997
mov eax, 1
jmp 0x51299c
mov eax, 0
test eax, eax
jne 0x5129a8
xor eax, eax
jmp 0x5129ad
mov eax, 1
test eax, eax
je 0x5129d9
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x5129c2
mov eax, dword [ebp + 8]
call dword fs:[0xc0]
nop
nop
leave
ret 4
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
and ecx, 0xffff
mov edx, dword [ebp]
lea edx, [edx + 8]
call dword fs:[0xc0]
nop
nop
nop
nop
nop
leave
ret 4
mov ebx, dword [0x12f8128]
add ebx, 0x1c
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 0
jne 0x512a2f
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x512a39
mov esp, ebp
pop ebp
ret 4