joyce8/EMBER2024-capa huggingface dataset:
Function at 0x601000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x601131
push esi
call fcn.00604145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.005f3080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x601131
push 0
push ebp
call fcn.005f33a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.005f3260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0x60108b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.005f32f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x601121
push 0x619918
push edi
call fcn.006023f0
push eax
push ebx
push esi
call fcn.00600f60
push 0x6198f8
push edi
call fcn.006023f0
push eax
push ebx
push esi
call fcn.00600f60
push 0x6198d8
push edi
call fcn.006023f0
push eax
push ebx
push esi
call fcn.00600f60
push 0x6198c0
push edi
call fcn.006023f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.00600f60
push 0x6198a0
push edi
call fcn.006023f0
push eax
push ebx
push esi
call fcn.00600f60
push 0x619888
push edi
call fcn.006023f0
push eax
push ebx
push esi
call fcn.00600f60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x6021b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00602140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00602140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00602140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00602140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x602bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x602c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x61487c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x602c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x602c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x401000
Capabilities:
Encode data using xor
Write file on windows

Disassembly:
push ecx
cmp byte [0x411007], 0
mov dword [esp], 0
je 0x40102d
push str.password:
call fcn.00401617
lea eax, [esp + 4]
push eax
push 0x40e1b0
call fcn.004015fa
add esp, 0xc
push esi
push 0x40e1ac
push str.RunTmpXXX.exe
call fcn.00401566
mov esi, eax
add esp, 8
test esi, esi
je 0x4010c2
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x401070
mov eax, 0xc
jmp 0x401060
xor dword [eax + section..data], ecx
add eax, 4
cmp eax, 0xeaf8e8
jl 0x401060
push esi
push 0xeaf8dc
push 1
push 0x41100c
call fcn.00401430
push esi
call fcn.00401265
push str.RunTmpXXX2.exe
call fcn.004011c8
push str.RunTmpXXX.exe
call fcn.004010d9
push str.RunTmpXXX2.exe
call fcn.004010d9
push str.RunTmpXXX.exe
call fcn.004011c8
push str.RunTmpXXX2.exe
call fcn.004011c8
add esp, 0x28
xor eax, eax
pop esi
pop ecx
ret
push str.Cant_create_run_file_nPress_Enter_n
call fcn.00401617
add esp, 4
call fcn.004011c3
xor eax, eax
pop esi
pop ecx
ret

Function at 0x401f8e
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x401fb5
call fcn.00401f58
mov dword [eax], esi
call fcn.00401f45
push 0x16
pop esi
mov dword [eax], esi
call fcn.004019f2
mov eax, esi
jmp 0x40200a
test dword [ebp + 0xc], 0xfffffff9
jne 0x401f9b
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x401fe2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00401f6b
pop ecx
call fcn.00401f45
mov eax, dword [eax]
jmp 0x40200a
test al, 0x10
jne 0x402008
test al, 1
je 0x402008
test byte [ebp + 0xc], 2
je 0x402008
call fcn.00401f58
mov dword [eax], 5
call fcn.00401f45
mov dword [eax], 0xd
jmp 0x401fd9
xor eax, eax
pop esi
pop ebp
ret

Function at 0x406be2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x12c0cf0]
jne 0x406bec
repz ret
jmp fcn.0040aa89
Function at 0x40a6b3
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x12c0cf0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004066ad
and dword [ebp - 0x14], 0
cmp dword [0x12c20f4], 0
mov dword [ebp - 0x18], eax
jne 0x40a766
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40a80e
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40a80e
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x12c20f4], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x12c20f8], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x12c20fc], eax
call edi
push eax
call esi
mov dword [0x12c2104], eax
test eax, eax
je 0x40a766
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x12c2100], eax
mov eax, dword [0x12c2100]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40a7bf
cmp dword [0x12c2104], ecx
je 0x40a7bf
push eax
call esi
push dword [0x12c2104]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40a7bf
test ebx, ebx
je 0x40a7bf
call edi
test eax, eax
je 0x40a7b6
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40a7b6
test byte [ebp - 8], 1
jne 0x40a7bf
or dword [ebp + 0x10], 0x200000
jmp 0x40a7f2
mov eax, dword [0x12c20f8]
cmp eax, dword [ebp - 0x18]
je 0x40a7f2
push eax
call esi
test eax, eax
je 0x40a7f2
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40a7f2
mov eax, dword [0x12c20fc]
cmp eax, dword [ebp - 0x18]
je 0x40a7f2
push eax
call esi
test eax, eax
je 0x40a7f2
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x12c20f4]
call esi
test eax, eax
je 0x40a80e
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40a810
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406be2
leave
ret
Function at 0x412402
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
cmp dword [0x4186e0], 0
push ebx
push esi
mov esi, 0x4186e8
jne 0x41242e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push esi
mov dword [0x418700], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x4186e0], 1
push dword [0x418700]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
jne 0x4124cb
push 0x14
push 8
push dword [0x418068]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x4124f5
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x4186e4]
test eax, eax
je 0x412470
mov dword [eax], ebx
push edi
push esi
mov dword [ebx + 4], eax
mov dword [0x4186e4], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edi, [ebx + 0x10]
push 0
push 0
push 0x100000
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 8
push 0xffffffffffffffff
push ebx
push 0x4124fa
push dword [edi]
lea eax, [ebx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
push ebx
push dword [0x418700]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
push 0xc
push 0
push dword [0x418068]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x4124f5
mov ecx, dword [esp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 8]
mov dword [eax], ecx
mov dword [ebx + 8], eax
pop esi
pop ebx
ret 8

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x7561925
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
mov ecx, 0x3cbe7166
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x401000
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
mov eax, dword [0x427ab0]
xor eax, ebp
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x20]
call fcn.00401550
mov eax, 1
test eax, eax
je 0x4011b7
push 0x428e80
push 0xff
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0x420480
push 0x428e80
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push eax
lea ecx, [ebp - 0x20]
call fcn.004015a0
push 0
lea ecx, [ebp - 0x20]
call fcn.004015c0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x420464
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x3c]
push edx
call fcn.00401c90
add esp, 0xc
mov ecx, eax
call fcn.004015c0
push eax
push 0x69
call fcn.004011f0
add esp, 8
lea ecx, [ebp - 0x3c]
call fcn.00401580
push 0x420458
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x58]
push ecx
call fcn.00401c90
add esp, 0xc
mov ecx, eax
call fcn.004015c0
push eax
push 0x66
call fcn.004011f0
add esp, 8
lea ecx, [ebp - 0x58]
call fcn.00401580
push 0x420448
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x74]
push eax
call fcn.00401c90
add esp, 0xc
mov ecx, eax
call fcn.004015c0
push eax
push 0x68
call fcn.004011f0
add esp, 8
lea ecx, [ebp - 0x74]
call fcn.00401580
push 0x420438
push 0x420424
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x90]
push edx
call fcn.00401c90
add esp, 0xc
mov ecx, eax
call fcn.004015c0
push eax
push 0x420448
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0xac]
push ecx
call fcn.00401c90
add esp, 0xc
mov ecx, eax
call fcn.004015c0
push eax
call fcn.00401400
add esp, 0xc
lea ecx, [ebp - 0xac]
call fcn.00401580
lea ecx, [ebp - 0x90]
call fcn.00401580
sub esp, 0x1c
mov edx, esp
mov dword [ebp - 0xb0], esp
push 0x420418
lea eax, [ebp - 0x20]
push eax
push edx
call fcn.00401c90
add esp, 0xc
call fcn.00401350
add esp, 0x1c
mov ecx, dword [ebp + 0x10]
push ecx
push 0x420424
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0xcc]
push eax
call fcn.00401c90
add esp, 0xc
mov ecx, eax
call fcn.004015c0
push eax
lea ecx, [ebp - 0x20]
call fcn.004015c0
push eax
call fcn.004014e0
add esp, 0xc
lea ecx, [ebp - 0xcc]
call fcn.00401580
xor ecx, ecx
jne 0x40101b
mov dword [ebp - 0xd0], 0
lea ecx, [ebp - 0x20]
call fcn.00401580
mov eax, dword [ebp - 0xd0]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040c5b1
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4011f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41e8b0
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x427ab0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, 1
test eax, eax
je 0x401333
mov dword [ebp - 4], 0
push 0x420490
movzx ecx, word [ebp + 8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x40133b
mov edx, dword [ebp - 0x2c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x40133b
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x40133b
mov ecx, dword [ebp - 0x2c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x40133b
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x20], eax
push 0
mov eax, dword [ebp - 0x14]
push eax
push 0
push 4
push 0
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x40133b
push 0
push 0
push 0
push 2
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.0040c5c0
add esp, 0xc
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40132c
mov dword [ebp - 4], 0xffffffff
xor eax, eax
jne 0x40121c
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 0x401333
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41e8b0
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x427ab0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, 1
test eax, eax
je 0x401333
mov dword [ebp - 4], 0
push 0x420490
movzx ecx, word [ebp + 8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x40133b
mov edx, dword [ebp - 0x2c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x40133b
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x40133b
mov ecx, dword [ebp - 0x2c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x40133b
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x20], eax
push 0
mov eax, dword [ebp - 0x14]
push eax
push 0
push 4
push 0
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x40133b
push 0
push 0
push 0
push 2
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.0040c5c0
add esp, 0xc
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40132c
mov dword [ebp - 4], 0xffffffff
xor eax, eax
jne 0x40121c
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 0x401350
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41e8d8
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x427ab0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov eax, 1
test eax, eax
je 0x4013d4
mov byte [ebp - 0x11c], 0
push 0x103
push 0
lea ecx, [ebp - 0x11b]
push ecx
call fcn.0040cd10
add esp, 0xc
push 0x104
lea edx, [ebp - 0x11c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
lea ecx, [ebp + 8]
call fcn.004015c0
push eax
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
xor ecx, ecx
jne 0x401382
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401580
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040c5b1
mov esp, ebp
pop ebp
ret
Function at 0x4014e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, 1
test eax, eax
je 0x40153a
push 0x44
push 0
lea ecx, [ebp - 0x58]
push ecx
call fcn.0040cd10
add esp, 0xc
mov dword [ebp - 0x58], 0x44
push 0x10
push 0
lea edx, [ebp - 0x10]
push edx
call fcn.0040cd10
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x58]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
xor edx, edx
jne 0x4014e6
mov esp, ebp
pop ebp
ret

Function at 0x40c5b1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x427ab0]
jne 0x40c5bb
repz ret
jmp fcn.0041047b

Function at 0x41a6cf
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.004114d5
and dword [ebp - 4], 0
cmp dword [0x42b7d8], 0
mov ebx, eax
jne 0x41a780
push 0x4229fc
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x41a831
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4229f0
push edi
call esi
test eax, eax
je 0x41a831
push eax
call fcn.00411463
mov dword [esp], 0x4229e0
push edi
mov dword [0x42b7d8], eax
call esi
push eax
call fcn.00411463
mov dword [esp], 0x4229cc
push edi
mov dword [0x42b7dc], eax
call esi
push eax
call fcn.00411463
mov dword [esp], 0x4229b0
push edi
mov dword [0x42b7e0], eax
call esi
push eax
call fcn.00411463
pop ecx
mov dword [0x42b7e8], eax
test eax, eax
je 0x41a780
push 0x422998
push edi
call esi
push eax
call fcn.00411463
pop ecx
mov dword [0x42b7e4], eax
mov eax, dword [0x42b7e4]
cmp eax, ebx
je 0x41a7d8
cmp dword [0x42b7e8], ebx
je 0x41a7d8
push eax
call fcn.004114de
push dword [0x42b7e8]
mov esi, eax
call fcn.004114de
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x41a7d8
test edi, edi
je 0x41a7d8
call esi
test eax, eax
je 0x41a7cf
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41a7cf
test byte [ebp - 0xc], 1
jne 0x41a7d8
or dword [ebp + 0x10], 0x200000
jmp 0x41a811
mov eax, dword [0x42b7dc]
cmp eax, ebx
je 0x41a811
push eax
call fcn.004114de
pop ecx
test eax, eax
je 0x41a811
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x41a811
mov eax, dword [0x42b7e0]
cmp eax, ebx
je 0x41a811
push eax
call fcn.004114de
pop ecx
test eax, eax
je 0x41a811
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42b7d8]
call fcn.004114de
pop ecx
test eax, eax
je 0x41a831
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x41a833
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x695054e2
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x40416617
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x1006ae20
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x1006b004
pushal
mov esi, 0x1004c00d
lea edi, [esi - 0x4b00d]
push edi
or ebp, 0xffffffff
jmp 0x1006ae4a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1006ae51
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1006ae40
mov eax, 1
add ebx, ebx
jne 0x1006ae63
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1006ae74
jne 0x1006ae93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1006ae93
dec eax
add ebx, ebx
jne 0x1006ae80
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1006ae58
add ebx, ebx
jne 0x1006ae8f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1006aee5
xor ecx, ecx
sub eax, 3
jb 0x1006aeab
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1006af1a
sar eax, 1
mov ebp, eax
jmp 0x1006aeb6
add ebx, ebx
jne 0x1006aeb6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1006ae84
inc ecx
add ebx, ebx
jne 0x1006aec4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1006ae84
add ebx, ebx
jne 0x1006aed1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1006aec6
jne 0x1006aee2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1006aec6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1006af04
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1006aef6
jmp 0x1006ae46
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1006af04
add edi, ecx
jmp 0x1006ae46
pop esi
mov edi, esi
mov ecx, 0x4ed
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1006af22
cmp byte [edi], 0xe
jne 0x1006af22
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x1006af27
lea edi, [esi + 0x66000]
mov eax, dword [edi]
or eax, eax
je 0x1006af96
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x6b0e4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x6b1f0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1006af54
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x6b1f4]
or eax, eax
je 0x1006af90
mov dword [ebx], eax
add ebx, 4
jmp 0x1006af71
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1006afc7
cmp al, 0xef
ja 0x1006afba
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1006af9c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1006afa9
mov ebp, dword [esi + 0x6b1f8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x197]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x1006affb
sub esp, 0xffffff80
jmp 0x10022902