joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401870
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x25c
mov eax, dword [0x422050]
xor eax, esp
mov dword [esp + 0x258], eax
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push esi
call edi
test eax, eax
jne 0x4018ad
xor eax, eax
pop edi
mov ecx, dword [esp + 0x258]
xor ecx, esp
call fcn.00409660
mov esp, ebp
pop ebp
ret
push esi
call edi
test eax, eax
je 0x401898
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x401898
push 0x250
lea eax, [esp + 0xc]
push 0
push eax
call fcn.0040c8b0
add esp, 0xc
lea ecx, [esp + 8]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x401898
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x25c]
mov eax, dword [esp + 0x28]
pop edi
xor ecx, esp
call fcn.00409660
mov esp, ebp
pop ebp
ret

Function at 0x401a90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x41b58b
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [0x422050]
xor eax, esp
mov dword [esp + 0x414], eax
push ebx
mov eax, dword [0x422050]
xor eax, esp
push eax
lea eax, [esp + 0x420]
mov dword fs:[0], eax
xor ebx, ebx
push 0x206
lea ecx, [esp + 0x12]
xor eax, eax
push ebx
mov dword [esp + 0x10], ebx
push ecx
mov word [esp + 0x18], ax
call fcn.0040c8b0
push 0x206
lea eax, [esp + 0x226]
xor edx, edx
push ebx
push eax
mov word [esp + 0x22c], dx
call fcn.0040c8b0
push 0x104
lea ecx, [esp + 0x230]
push ecx
push 0x104
lea edx, [esp + 0x30]
push edx
push ebx
push ebx
push ebx
push ebx
push edi
call fcn.0040b2e1
add esp, 0x3c
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x10]
call fcn.00407a30
push eax
mov dword [esp + 0x42c], ebx
push esi
lea ebx, [esp + 0x21c]
call fcn.00405700
mov dword [esp + 0x430], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401b77
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x420]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x414]
xor ecx, esp
call fcn.00409660
add esp, 0x424
ret
Function at 0x4020b0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x41b512
mov eax, dword fs:[0]
push eax
sub esp, 0x80c
mov eax, dword [0x422050]
xor eax, esp
mov dword [esp + 0x808], eax
push edi
mov eax, dword [0x422050]
xor eax, esp
push eax
lea eax, [esp + 0x814]
mov dword fs:[0], eax
xor eax, eax
mov edi, ecx
push 0x7fe
mov dword [esp + 0x820], 0
push eax
lea ecx, [esp + 0x1a]
mov dword [esp + 0x10], 0
push ecx
mov dword [esp + 0x18], edi
mov word [esp + 0x1c], ax
call fcn.0040c8b0
add esp, 0xc
lea edx, [esp + 0x10]
push edx
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push edi
lea ecx, [esp + 0x14]
call fcn.00407a30
mov dword [esp + 0x81c], 0
mov edx, dword [edi]
mov eax, dword [edx - 0xc]
mov dword [esp + 8], 1
test eax, eax
je 0x402171
lea ecx, [eax - 1]
test ecx, ecx
jl 0x402198
cmp ecx, eax
jg 0x402198
movzx eax, word [edx + ecx*2]
cmp ax, 0x2f
je 0x402171
cmp ax, 0x5c
je 0x402171
call fcn.00407ae0
mov eax, edi
mov ecx, dword [esp + 0x814]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x808]
xor ecx, esp
call fcn.00409660
add esp, 0x818
ret
push 0x80070057
call fcn.00407f10
int3

Function at 0x4021b0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x41b4bb
mov eax, dword fs:[0]
push eax
sub esp, 0x828
mov eax, dword [0x422050]
xor eax, esp
mov dword [esp + 0x824], eax
push esi
push edi
mov eax, dword [0x422050]
xor eax, esp
push eax
lea eax, [esp + 0x834]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
call fcn.00407a30
xor esi, esi
mov dword [esp + 0x83c], esi
mov edx, dword [esp + 0xc]
mov eax, dword [edx - 0xc]
cmp eax, esi
je 0x402233
lea ecx, [eax - 1]
cmp ecx, esi
jl 0x402303
cmp ecx, eax
jg 0x402303
movzx eax, word [edx + ecx*2]
cmp ax, 0x2f
je 0x402233
cmp ax, 0x5c
je 0x402233
lea edi, [esp + 0xc]
call fcn.00407ae0
push 3
push 0x41eab0
lea ecx, [esp + 0x14]
push ecx
call fcn.00405c50
push 0x400
lea edx, [esp + 0x34]
push esi
push edx
call fcn.0040c8b0
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x40]
push 0x400
push ecx
call fcn.00409d97
mov edx, dword [esp + 0x24]
mov eax, dword [edx - 0xc]
xor ecx, ecx
mov word [esp + eax*2 + 0x4a], cx
add esp, 0x18
lea ecx, [esp + 0x10]
lea edx, [esp + 0x30]
mov eax, 0x14
push ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], 3
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], esi
mov word [esp + 0x24], ax
mov dword [esp + 0x26], esi
mov dword [esp + 0x2a], esi
mov dword [esp + 0x2e], esi
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov dword [esp + 0x83c], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4022dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x834]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x824]
xor ecx, esp
call fcn.00409660
add esp, 0x834
ret
push 0x80070057
call fcn.00407f10
int3
Function at 0x402310
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x41b7f8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
mov eax, dword [0x422050]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
lea ebx, [esp + 0xc]
mov dword [esp + 0x10], 0
call fcn.00401ce0
mov eax, ebx
push eax
lea ecx, [esp + 0xc]
push ecx
mov ebx, str.oem.ini
mov dword [esp + 0x24], 0
call fcn.00405700
add esp, 8
mov byte [esp + 0x1c], 1
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x402389
mov eax, dword [esp + 8]
add eax, 0xfffffff0
call fcn.00407b40
add eax, 0x10
mov dword [esi], eax
jmp 0x4023db
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
mov ebx, str.config.dat
call fcn.00405700
add esp, 8
mov byte [esp + 0x1c], 2
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.00407b40
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x1c], 1
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4023db
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1c], 0
mov eax, dword [esp + 8]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402400
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x1c], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402428
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x18
ret

Function at 0x402980
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push esi
lea eax, [esp + 4]
push eax
push 0x20019
xor esi, esi
push esi
push str..htm
push SysReAllocStringLen
mov dword [esp + 0x1c], 0x400
mov dword [esp + 0x18], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4029eb
mov edx, dword [esp + 0x18]
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x14]
push eax
push esi
push ecx
push edx
mov dword [esp + 0x24], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4029e0
lea esi, [eax + 1]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0xc
ret
Function at 0x402a00
Capabilities:
Set registry value

Disassembly:
push ecx
push ebx
push esi
lea eax, [esp + 8]
push eax
push 0xf003f
xor ebx, ebx
push ebx
push str..htm
push SysReAllocStringLen
mov dword [esp + 0x1c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x402a47
push ebx
lea ecx, [esp + 0xc]
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str..htm
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, dword [esp + 8]
cmp esi, ebx
je 0x402a8a
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x402a54
sub eax, edx
sar eax, 1
lea edx, [eax + eax + 2]
mov eax, dword [esp + 0x10]
push edx
push edi
push 1
push ebx
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x402a7f
lea ebx, [eax + 1]
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov eax, ebx
pop ebx
pop ecx
ret
Function at 0x404460
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41b7c0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebp
push esi
push edi
mov eax, dword [0x422050]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
mov esi, edx
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.00404e20
push eax
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x30], 0
call fcn.00403e80
add esp, 8
mov byte [esp + 0x28], 2
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4044d1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebp, dword [esp + 0x18]
cmp dword [ebp - 0xc], 0
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
jne 0x404515
call fcn.00404e20
lea edx, [esp + 0x10]
push edx
mov byte [esp + 0x2c], 3
call fcn.00404740
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00403b60
add esp, 0xc
mov byte [esp + 0x28], 4
call fcn.00407820
mov byte [esp + 0x28], 3
jmp 0x404541
call fcn.00404e20
lea edx, [esp + 0x10]
push edx
mov ecx, ebp
lea esi, [esp + 0x20]
mov byte [esp + 0x2c], 5
call fcn.00403e60
add esp, 4
mov byte [esp + 0x28], 6
call fcn.00407820
mov byte [esp + 0x28], 5
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404561
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x28], 2
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404586
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4045aa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x1c
ret

Function at 0x407900
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push edi
push ebx
push ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x407917
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x407948
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x407944
cmp esi, eax
jae 0x407948
sub edi, 1
movzx ecx, word [esi]
lea esi, [esi + ecx*2 + 2]
jne 0x407934
cmp esi, eax
jb 0x40794e
pop esi
pop edi
xor eax, eax
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret
Function at 0x407f30
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41b9e8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x422050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov ebx, 0x80004005
lea esi, [ebp - 0x14]
mov dword [ebp - 0x1c], ebx
call fcn.00401980
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407f95
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
mov dword [ebp - 0x18], esi
test esi, esi
jne 0x408003
call fcn.00409130
lea esi, [ebp - 0x18]
mov edi, eax
call fcn.00401e70
mov dword [ebp - 4], 0
mov eax, dword [eax]
mov edx, dword [edi]
push eax
mov eax, dword [edx]
mov ecx, edi
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407fec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.DllRegisterServer
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40802c
mov dword [ebp - 4], 1
call eax
mov ebx, eax
jmp 0x40802c
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x408140
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x864
mov eax, dword [0x422050]
xor eax, esp
mov dword [esp + 0x85c], eax
xor eax, eax
push 0x44
push eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x18]
push eax
call fcn.0040c8b0
xor edx, edx
push 0x7fe
push edx
lea eax, [esp + 0x6e]
xor ecx, ecx
push eax
mov dword [esp + 0x28], 0x44
mov dword [esp + 0x54], 1
mov word [esp + 0x58], cx
mov word [esp + 0x70], dx
call fcn.0040c8b0
push esi
lea ecx, [esp + 0x74]
push 0x400
push ecx
call fcn.00409d97
add esp, 0x24
lea edx, [esp]
push edx
lea eax, [esp + 0x14]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x78]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4081ef
mov ecx, dword [esp + 0x85c]
xor ecx, esp
call fcn.00409660
add esp, 0x864
ret
mov edx, dword [esp]
push 0x1d4c0
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0x85c]
xor ecx, esp
mov eax, 1
call fcn.00409660
add esp, 0x864
ret
Function at 0x409660
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x422050]
jne 0x40966a
repz ret
jmp fcn.0040d046

Function at 0x416ff8
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.0040e21f
and dword [ebp - 4], 0
cmp dword [0x4246c8], 0
mov ebx, eax
jne 0x4170a9
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x41715a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x41715a
push eax
call fcn.0040e1ad
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4246c8], eax
call esi
push eax
call fcn.0040e1ad
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4246cc], eax
call esi
push eax
call fcn.0040e1ad
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4246d0], eax
call esi
push eax
call fcn.0040e1ad
pop ecx
mov dword [0x4246d8], eax
test eax, eax
je 0x4170a9
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040e1ad
pop ecx
mov dword [0x4246d4], eax
mov eax, dword [0x4246d4]
cmp eax, ebx
je 0x417101
cmp dword [0x4246d8], ebx
je 0x417101
push eax
call fcn.0040e228
push dword [0x4246d8]
mov esi, eax
call fcn.0040e228
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x417101
test edi, edi
je 0x417101
call esi
test eax, eax
je 0x4170f8
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4170f8
test byte [ebp - 0xc], 1
jne 0x417101
or dword [ebp + 0x10], 0x200000
jmp 0x41713a
mov eax, dword [0x4246cc]
cmp eax, ebx
je 0x41713a
push eax
call fcn.0040e228
pop ecx
test eax, eax
je 0x41713a
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x41713a
mov eax, dword [0x4246d0]
cmp eax, ebx
je 0x41713a
push eax
call fcn.0040e228
pop ecx
test eax, eax
je 0x41713a
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4246c8]
call fcn.0040e228
pop ecx
test eax, eax
je 0x41715a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x41715c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4014c0
Capabilities:
Execute command
Move file

Disassembly:
push str.dataStrangeman.exe
push str.dataStrangeman.vex
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_rename]
push str.Start_dataStrangeman.exe
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
push str.dataStrangeman.vex
push str.dataStrangeman.exe
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_rename]
add esp, 0x14
ret
Function at 0x4014f0
Capabilities:
Execute command
Terminate process

Disassembly:
mov eax, dword [0x4085c4]
cmp eax, 1
jne 0x4015df
push 0x53
push str.Strangeman
mov ecx, 0x408094
call fcn.00402940
push 0x3b
push 0x40542c
mov ecx, 0x4080f4
call fcn.00402940
push 0x36
push 0x405468
mov ecx, 0x40816c
call fcn.00402940
push 0x34
push 0x4054a0
mov ecx, 0x408064
call fcn.00402940
push 0x54
push 0x4054d8
mov ecx, 0x40801c
call fcn.00402940
push 0x10
push 0x405530
mov ecx, 0x408034
call fcn.00402940
push 0x12
push 0x405544
mov ecx, 0x40807c
call fcn.00402940
push 0x1c
push 0x405558
mov ecx, 0x408124
call fcn.00402940
push 0x50
push 0x405578
mov ecx, 0x40819c
call fcn.00402940
push 0x57
push 0x4055d0
mov ecx, 0x4080ac
call fcn.00402940
push 0x1d
push 0x405628
mov ecx, 0x40813c
call fcn.00402940
push 0x86
push 0x405648
mov ecx, 0x40810c
call fcn.00402940
push 0xc
push 0x4056d0
mov ecx, 0x408184
call fcn.00402940
ret
test eax, eax
jne 0x4016c8
push 0x4b
push str.Strangeman_Main_Menu_n1.Play_the_game_n2.Exit_the_game_n3.Minigame_n4.Settings_n
mov ecx, 0x408094
call fcn.00402940
push 0x3f
push str.Settings:_n1.Launch_type_n2.Change_language_n3.Exit_from_settings_n
mov ecx, 0x4080f4
call fcn.00402940
push 0x2f
push str.1.Launch_game__2.Launch_setup_3.Lauch_as_usual_n
mov ecx, 0x40816c
call fcn.00402940
push 0x37
push 0x4057a0
mov ecx, 0x408064
call fcn.00402940
push 0x5e
push str.Minigame:_fight_with_Shisha._nShisha_come._Enter_1_to_strike_Shisha_or_enter_2_to_dont_strike_n
mov ecx, 0x40801c
call fcn.00402940
push 0x14
push str.You_punched_Shisha__n
mov ecx, 0x408034
call fcn.00402940
push 0x1b
push str.You_got_punched_by_Shisha__n
mov ecx, 0x40807c
call fcn.00402940
push 0x27
push str.1.Strike_Shisha_2._Dont_strike_Shisha_n
mov ecx, 0x408124
call fcn.00402940
push 0x5d
push str.You_got_beaten_up_by_Shisha____Youre_such_an_asshole._Youre_dead._nEntering_to_main_menu..._n
mov ecx, 0x40819c
call fcn.00402940
push 0x60
push str.YOU_WIN____URAAAAAAAAAAAAAAAAA____YOU_BEAT_SHISHA_YOURE_NOT_DEAD______nEntering_to_main_menu..._n
mov ecx, 0x4080ac
call fcn.00402940
push 0x29
push str.Youre_standing_and_Shisha_standing_too._n
mov ecx, 0x40813c
call fcn.00402940
push 0xa0
push str.You_didnt_want_to_beat_each_other_up._Shisha_said_thank_you_and_shook_your_hand._You_went_your_separate_ways._PEACE_FRIENDSHIP_GUM____nEntering_to_main_menu..._n
mov ecx, 0x40810c
call fcn.00402940
push 0xb
push str.Loading..._n
mov ecx, 0x408184
call fcn.00402940
ret
push str.color_4F
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 4
push 0x15
push str.BAD_VALUE
push str.FATAL_ERROR_
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
sub eax, 2
je 0x401706
sub eax, 2
jne 0x4015de
push str.Start_vexdos.exe
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 4
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x403f73
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x403fb2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x403fb2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x403fb2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x403fb2
cmp dword [ecx + 0x74], 0xe
jbe 0x403fb2
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x40cd10
Capabilities:
Packed with generic packer

Disassembly:
push ebx
mov ebx, dword [eax + 0x138]
push esi
mov esi, dword [ebx + 0x30]
cmp esi, 0x10
push edi
jne 0x40cd45
mov eax, dword [eax + 0x8c]
mov edi, dword [eax + 0x81c]
mov eax, edi
call fcn.00521310
test eax, eax
je 0x40cd45
mov eax, edi
call fcn.00521310
mov eax, dword [eax]
pop edi
pop esi
pop ebx
ret
cmp esi, 1
je 0x40cd65
cmp esi, 2
je 0x40cd65
cmp esi, 3
je 0x40cd65
cmp esi, 4
je 0x40cd65
cmp esi, 5
je 0x40cd65
pop edi
pop esi
or eax, 0xffffffff
pop ebx
ret
jmp 0x7941b2
Function at 0x45a8a0
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6498f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
push 0x14
mov esi, ecx
xor ebx, ebx
push str.soundsmainmusic.mo3
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
call fcn.00404330
lea eax, [esp + 0xc]
push eax
push 1
push esi
mov dword [esp + 0x40], ebx
jmp section.PvZ
Function at 0x52b110
Capabilities:
Packed with generic packer

Disassembly:
push ebx
push esi
mov esi, eax
cmp dword [esi + 0x64], 6
push edi
jne 0x52b120
call fcn.0052b010
cmp dword [esi + 0x64], 0xa
jne 0x52b12d
mov eax, esi
call fcn.005291e0
mov eax, dword [esi + 0x64]
cmp eax, 2
je 0x52b143
cmp eax, 1
je 0x52b143
cmp byte [esi + 0xbd], 0
je 0x52b14a
mov edi, esi
call fcn.005295f0
mov eax, dword [esi + 0x64]
cmp eax, 4
je 0x52b157
cmp eax, 5
jne 0x52b15e
mov ecx, esi
call fcn.005296e0
cmp dword [esi + 0x64], 7
jne 0x52b169
call fcn.00529770
cmp dword [esi + 0x64], 8
jne 0x52b174
call fcn.00534730
cmp dword [esi + 0x24], 3
jne 0x52b180
push esi
call fcn.00525dc0
cmp dword [esi + 0x24], 0x16
jne 0x52b18d
mov eax, esi
call fcn.005259d0
cmp dword [esi + 0x24], 0xe
jne 0x52b19a
mov eax, esi
call fcn.005261e0
jmp 0x794445