joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x401d92
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x401d9c
repz ret
jmp fcn.0041143a

Function at 0x401da1
Capabilities:
Create thread

Disassembly:
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x50], edi
je 0x401de7
cmp dword [esi + 4], edi
je 0x401dca
push edi
push edi
push 0x12
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_PostThreadMessageA]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], edi
lea eax, [esi + 0xc]
push eax
push edi
push esi
push 0x403e3b
push edi
push edi
mov dword [esi + 8], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
pop edi
pop esi
ret

Function at 0x40212b
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x804], ax
lea eax, [ebp - 0x802]
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x400
lea eax, [ebp - 0x804]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.cfgs_setup.cfg
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x804]
push eax
push 0x409
push str.UILanguage
push str.Local
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401d92
leave
ret

Function at 0x4024a1
Capabilities:
Accept command line arguments

Disassembly:
push 0x24
mov eax, 0x4119ab
call fcn.004019d4
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004021b7
mov ecx, dword [esi]
and dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
push eax
call fcn.004026ca
mov ebx, eax
neg ebx
sbb bl, bl
or dword [ebp - 4], 0xffffffff
xor edi, edi
push 0
inc edi
push edi
lea ecx, [ebp - 0x2c]
call fcn.0040236a
inc bl
je 0x4024f1
or eax, 0xffffffff
jmp 0x40258a
mov ecx, esi
call fcn.00402fd9
mov ecx, esi
call fcn.0040322d
mov ecx, dword [esi]
call fcn.004033eb
dec eax
je 0x402580
dec eax
je 0x402576
dec eax
je 0x40256c
dec eax
je 0x402562
dec eax
je 0x402558
dec eax
je 0x40254f
dec eax
je 0x40251f
mov eax, edi
jmp 0x40258a
call fcn.00410b6e
lea ecx, [ebp - 0x30]
call fcn.00410bee
mov ecx, esi
mov dword [ebp - 4], edi
mov dword [esi + 4], 2
call fcn.00406532
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
mov esi, eax
call fcn.0040482d
mov eax, esi
jmp 0x40258a
mov ecx, esi
call fcn.004060f4
jmp 0x40258a
mov ecx, dword [esi + 8]
call fcn.0040f0b9
jmp 0x40258a
mov ecx, dword [esi + 8]
call fcn.0040f911
jmp 0x40258a
mov ecx, dword [esi + 8]
call fcn.0040efca
jmp 0x40258a
mov ecx, dword [esi + 8]
call fcn.0040f786
jmp 0x40258a
mov ecx, esi
mov dword [esi + 4], edi
call fcn.004064b2
call fcn.00401d83
ret
Function at 0x40345e
Capabilities:
Accept command line arguments

Disassembly:
push 0x60
mov eax, 0x413094
call fcn.004019d4
mov edi, dword [ebp + 8]
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x68], ebx
mov dword [esi], ebx
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
mov dword [ebp - 0x6c], esi
mov word [esi + 4], ax
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push str._PerfTool
push eax
call dword [sym.imp.MSVCR100.dll_wcsstr]
pop ecx
pop ecx
test eax, eax
je 0x4035ec
cmp dword [edi + 0x10], ebx
jne 0x4034c4
lea eax, [ebp - 0x48]
push eax
call fcn.004110be
pop ecx
mov byte [ebp - 4], 1
mov dword [ebp - 0x68], 1
jmp 0x4034d6
push edi
lea ecx, [ebp - 0x64]
call fcn.00402bc9
push 2
pop ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x68], ecx
push str.perftool.dll
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00410f86
add esp, 0xc
mov dword [ebp - 4], 3
test byte [ebp - 0x68], 2
je 0x403504
and dword [ebp - 0x68], 0xfffffffd
push ebx
push 1
lea ecx, [ebp - 0x64]
call fcn.0040236a
test byte [ebp - 0x68], 1
mov byte [ebp - 4], 5
je 0x403519
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.0040236a
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.00410eba
push edi
mov ecx, esi
call fcn.00410ff8
test al, al
je 0x4035de
push str.PerfToolInit
mov ecx, esi
call fcn.00410e11
push str.PerfToolTerm
mov ecx, esi
mov dword [0x41b2d0], eax
call fcn.00410e11
push str.PerfToolTermForce
mov ecx, esi
mov dword [0x41b2d4], eax
call fcn.00410e11
push str.PerfLogBegin
mov ecx, esi
mov dword [0x41b2d8], eax
call fcn.00410e11
push str.PerfLogEnd
mov ecx, esi
mov dword [0x41b2dc], eax
call fcn.00410e11
push str.PerfLogBegin2
mov ecx, esi
mov dword [0x41b2e0], eax
call fcn.00410e11
push str.PerfLogEnd2
mov ecx, esi
mov dword [0x41b2e4], eax
call fcn.00410e11
push str.AddToStrTable
mov ecx, esi
mov dword [0x41b2e8], eax
call fcn.00410e11
push str.PerfStubBegin
mov ecx, esi
mov dword [0x41b2ec], eax
call fcn.00410e11
push str.PerfStubEnd
mov ecx, esi
mov dword [0x41b2f0], eax
call fcn.00410e11
mov dword [0x41b2f4], eax
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.0040236a
mov eax, dword [0x41b2d0]
cmp eax, ebx
je 0x4035f7
call eax
mov eax, esi
call fcn.00401d83
ret 4

Function at 0x403c23
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 4]
push eax
push 0x2001f
xor esi, esi
push esi
push dword [ebp + 0xc]
mov dword [ebp - 4], esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x403c83
push edi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push dword [ebp + 0x10]
mov dword [ebp - 0x10], esi
push dword [ebp - 4]
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
cmp edi, esi
pop edi
je 0x403c86
mov eax, dword [ebp + 0x14]
pop esi
leave
ret
Function at 0x403d13
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x2001f
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x403d3f
mov eax, 0x80004005
leave
ret
push esi
mov esi, dword [ebp + 0x18]
mov eax, dword [esi]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x14]
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 0x10]
mov dword [ebp - 8], 3
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 8], 3
je 0x403d75
mov eax, 0x80004005
jmp 0x403d85
mov eax, dword [ebp - 0xc]
push dword [ebp - 4]
mov dword [esi], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
leave
ret
Function at 0x4042c6
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x58], 0xffffffff
jne 0x4043fe
xor eax, eax
inc eax
mov dword [esi + 0x58], eax
cmp dword [esi + 0x44], eax
jl 0x4043fe
push ebx
push edi
mov edi, 0x3ff
xor ebx, ebx
push edi
lea eax, [ebp - 0x403]
push ebx
push eax
mov byte [ebp - 0x404], bl
call sub.MSVCR100.dll_memset
mov eax, dword [esi + 0x48]
push dword [eax]
lea eax, [ebp - 0x404]
push eax
call sub.MSVCR100.dll_strcat
lea eax, [ebp - 0x404]
push 0x5c
push eax
call dword [sym.imp.MSVCR100.dll_strrchr]
add esp, 0x1c
cmp eax, ebx
je 0x4043fc
mov byte [eax], bl
lea eax, [ebp - 0x404]
push str.qt.conf
push eax
call sub.MSVCR100.dll_strcat
push edi
lea eax, [ebp - 0x803]
push ebx
push eax
mov byte [ebp - 0x804], bl
call sub.MSVCR100.dll_memset
add esp, 0x14
lea eax, [ebp - 0x404]
push eax
push 0x400
lea eax, [ebp - 0x804]
push eax
push str.false
push str.DPIAware
push str.Support
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x804]
push str.true
push eax
call dword [sym.imp.MSVCR100.dll__stricmp]
pop ecx
pop ecx
test eax, eax
jne 0x4043fc
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
je 0x4043fc
push str.SetProcessDPIAware
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x4043fc
call eax
push ebx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0x58
push edi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push edi
push ebx
mov dword [ebp - 0x808], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
fild dword [ebp - 0x808]
fdiv qword [0x416940]
call fcn.00404420
mov dword [esi + 0x58], eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00401d92
leave
ret

Function at 0x4048f9
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x40490d
xor al, al
pop ebp
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x404909
mov ecx, 0xe0
cmp word [eax + 0x14], cx
jne 0x404909
add ecx, 0x2b
cmp word [eax + 0x18], cx
sete al
pop ebp
ret

Function at 0x404b3e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
lea eax, [ebp - 4]
push eax
push 1
xor esi, esi
push esi
push str.SoftwarekingsoftOffice6.0CommonApplication_Settings
push 0x80000001
mov edi, ecx
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x404ba0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push esi
push esi
push str.oleForceShowSplash
push dword [ebp - 4]
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x404b97
cmp dword [ebp - 8], esi
setne al
mov dword [edi + 0x4c], eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
leave
ret
Function at 0x4051ea
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x4052d7
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x4052d6
push edi
push 9
pop ecx
xor eax, eax
lea edi, [ebp - 0x2c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0x28], 0
jne 0x40522a
mov dword [ebp - 0x28], 0x1000
mov edi, dword [ebp + 0x10]
lea edx, [ebx + esi - 1]
xor esi, esi
xor ecx, ecx
mov dword [ebp + 8], ebx
mov dword [ebp - 8], edx
test edi, edi
je 0x405249
mov eax, dword [edi]
mov ecx, dword [eax]
cmp ecx, eax
jne 0x405249
xor edi, edi
cmp ebx, edx
jae 0x4052c8
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
test edi, edi
je 0x4052b5
mov edx, dword [ecx + 0xc]
cmp esi, edx
seta bl
cmp edx, esi
jae 0x405275
mov eax, dword [edi]
mov ecx, dword [ecx]
cmp ecx, eax
sete dl
test dl, dl
jne 0x4052c8
cmp dword [ecx + 0xc], esi
jb 0x405265
test bl, bl
je 0x40529c
mov eax, dword [ebp - 0x28]
mov edx, dword [ecx + 8]
add eax, esi
cmp eax, edx
jae 0x40529c
mov eax, edx
sub eax, esi
xor edx, edx
div dword [ebp - 0x28]
test eax, eax
jne 0x405293
inc eax
imul eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
jmp 0x4052b0
mov eax, dword [ebp - 0x28]
add eax, esi
cmp eax, dword [ecx + 8]
jb 0x4052b0
cmp esi, dword [ecx + 0xc]
ja 0x4052b0
mov eax, dword [ebp + 8]
mov al, byte [eax]
add esi, dword [ebp - 4]
jmp 0x4052ba
mov eax, dword [ebp + 8]
mov al, byte [eax]
mov eax, dword [ebp - 4]
add dword [ebp + 8], eax
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 8]
jb 0x40524d
test edi, edi
je 0x4052d0
cmp ecx, dword [edi]
je 0x4052d5
mov eax, dword [ebp - 8]
mov al, byte [eax]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4052da
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004049f5
xor ebx, ebx
test eax, eax
je 0x405405
push ebx
push 0x48000000
push 3
push ebx
push 7
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x40531a
xor al, al
jmp 0x405446
push 4
push 0x1000
mov edi, 0x100000
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0xc], eax
cmp eax, ebx
je 0x405313
push 0x14
lea eax, [ebp - 0x20]
push ebx
push eax
call sub.MSVCR100.dll_memset
mov eax, dword [ebp + 0xc]
add esp, 0xc
xor esi, esi
mov dword [ebp - 0x18], ebx
cmp eax, ebx
je 0x40535b
mov eax, dword [eax]
mov esi, dword [eax]
cmp esi, eax
jne 0x40535b
mov dword [ebp + 0xc], ebx
mov eax, dword [ebp + 0xc]
mov edx, edi
cmp eax, ebx
je 0x405399
mov ecx, dword [ebp - 0x18]
cmp dword [esi + 0xc], ecx
jae 0x405381
mov ecx, dword [eax]
mov esi, dword [esi]
cmp esi, ecx
sete al
cmp al, bl
jne 0x4053eb
mov eax, dword [ebp - 0x18]
cmp dword [esi + 0xc], eax
jb 0x40536e
mov eax, dword [esi + 8]
cmp dword [ebp - 0x18], eax
ja 0x40538c
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0xc]
sub eax, dword [ebp - 0x18]
inc eax
cmp eax, edi
jae 0x405399
mov edx, eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 4]
push eax
push edx
push dword [ebp - 0xc]
mov dword [ebp - 4], ebx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4053d9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x4053eb
push 1
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
je 0x4053eb
mov eax, dword [ebp - 4]
cmp eax, ebx
jbe 0x4053eb
add dword [ebp - 0x18], eax
mov dword [ebp - 4], ebx
jmp 0x40535b
push 0x8000
push ebx
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x405444
push 9
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
cmp esi, ebx
je 0x405313
push esi
call fcn.004048f9
pop ecx
test al, al
je 0x405313
push dword [ebp + 0xc]
mov eax, dword [esi + 0x3c]
push dword [eax + esi + 0x50]
push esi
call fcn.004051ea
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, 1
pop edi
pop esi
pop ebx
leave
ret

Function at 0x405ebe
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
cmp edi, dword [ebp + 0xc]
je 0x405ef9
push esi
push dword [edi]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x405ef0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add edi, 4
cmp edi, dword [ebp + 0xc]
jne 0x405ecb
pop esi
lea ecx, [ebp + 8]
pop edi
pop ebp
jmp fcn.004088ea
Function at 0x405f69
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x82c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp edi, ebx
je 0x40603f
cmp word [edi], bx
je 0x40603f
cmp esi, ebx
je 0x40603f
push 0x820
lea eax, [ebp - 0x824]
push ebx
push eax
mov dword [ebp - 0x828], 0x824
call sub.MSVCR100.dll_memset
add esp, 0xc
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x82c], eax
cmp ebx, 0xffffffff
je 0x40603f
lea eax, [ebp - 0x828]
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
jmp 0x406026
lea eax, [ebp - 0x804]
push edi
push eax
call dword [sym.imp.MSVCR100.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x406019
mov eax, dword [ebp - 0x82c]
cmp dword [ebp - 0x820], eax
je 0x406019
lea eax, [ebp - 0x820]
push eax
mov ecx, esi
call fcn.00405f03
lea eax, [ebp - 0x828]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x405fe9
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi]
xor ecx, ecx
cmp eax, dword [esi + 4]
setne cl
mov eax, ecx
jmp 0x406041
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401d92
leave
ret

Function at 0x406e49
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp + 8]
mov esi, ecx
push 0x406c75
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp + 8], eax
test eax, eax
je 0x406e82
lea ecx, [esi + 0x24]
mov eax, dword [ecx]
lea edx, [ebp + 8]
push edx
push eax
call fcn.0040688d
pop esi
leave
ret 4

Function at 0x4086bc
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x811c9dc5
jmp 0x4086d7
movzx edx, word [ecx]
imul eax, eax, 0x1000193
xor eax, edx
add ecx, 2
cmp ecx, dword [ebp + 0xc]
jne 0x4086c9
pop ebp
ret
Function at 0x408d27
Capabilities:
Get common file path

Disassembly:
push 0x850
mov eax, 0x411f6f
call fcn.004019d4
mov eax, dword [ebp + 8]
mov dword [ebp - 0x858], eax
xor eax, eax
xor ebx, ebx
push 0x7fe
mov word [ebp - 0x838], ax
lea eax, [ebp - 0x836]
push ebx
push eax
mov dword [ebp - 0x85c], ebx
call sub.MSVCR100.dll_memset
add esp, 0xc
lea eax, [ebp - 0x838]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor eax, eax
mov dword [ebp - 0x840], 7
mov dword [ebp - 0x844], ebx
mov word [ebp - 0x854], ax
push 9
pop ecx
mov word [ebp - 0x38], ax
lea edi, [ebp - 0x36]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0xf
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [sym.imp.MSVCR100.dll__itow]
push eax
call edi
mov esi, dword [sym.imp.MSVCR100.dll_wcslen]
lea eax, [ebp - 0x38]
push eax
call esi
add esp, 0x10
push eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x854]
call fcn.004021e9
lea eax, [ebp - 0x38]
push 0xf
push eax
push eax
call edi
lea eax, [ebp - 0x38]
push eax
call esi
add esp, 0x10
push eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x854]
call fcn.0040544b
mov edi, str..exe
push edi
call esi
pop ecx
push eax
push edi
lea ecx, [ebp - 0x854]
call fcn.0040544b
cmp dword [ebp - 0x840], 8
mov eax, dword [ebp - 0x854]
jae 0x408e22
lea eax, [ebp - 0x854]
push eax
lea eax, [ebp - 0x838]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov ecx, dword [ebp - 0x858]
lea eax, [ebp - 0x838]
push eax
call fcn.004021b7
push ebx
push 1
lea ecx, [ebp - 0x854]
call fcn.0040236a
mov eax, dword [ebp - 0x858]
call fcn.00401d83
ret
Function at 0x408e5c
Capabilities:
Accept command line arguments
Copy file
Create process on windows

Disassembly:
push 0x90c
mov eax, 0x411fe4
call fcn.004019d4
lea ecx, [ebp - 0x918]
call fcn.00401f0f
xor ebx, ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x848]
call fcn.004021b7
lea eax, [ebp - 0x848]
push eax
lea ecx, [ebp - 0x918]
mov byte [ebp - 4], 1
call fcn.004026ca
push ebx
push 1
lea ecx, [ebp - 0x848]
mov byte [ebp - 4], bl
call fcn.0040236a
push 0x416ea8
lea ecx, [ebp - 0x89c]
call fcn.004021b7
push str.Temporary
lea ecx, [ebp - 0x848]
mov byte [ebp - 4], 2
call fcn.004021b7
lea eax, [ebp - 0x89c]
push eax
lea eax, [ebp - 0x848]
push eax
lea ecx, [ebp - 0x918]
mov byte [ebp - 4], 3
call fcn.004082be
push ebx
push 1
lea ecx, [ebp - 0x848]
call fcn.0040236a
push ebx
push 1
lea ecx, [ebp - 0x89c]
mov byte [ebp - 4], bl
call fcn.0040236a
lea eax, [ebp - 0x880]
push eax
lea ecx, [ebp - 0x918]
call fcn.00407584
lea eax, [ebp - 0x864]
push eax
lea ecx, [ebp - 0x918]
mov byte [ebp - 4], 4
call fcn.0040848f
lea eax, [ebp - 0x82c]
push eax
mov byte [ebp - 4], 5
call fcn.00408d27
pop ecx
mov ecx, dword [ebp - 0x82c]
push 8
pop esi
cmp dword [ebp - 0x818], esi
jae 0x408f64
lea ecx, [ebp - 0x82c]
mov eax, dword [ebp - 0x880]
cmp dword [ebp - 0x86c], esi
jae 0x408f78
lea eax, [ebp - 0x880]
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x408fc8
xor esi, esi
push ebx
push 1
lea ecx, [ebp - 0x82c]
call fcn.0040236a
push ebx
push 1
lea ecx, [ebp - 0x864]
call fcn.0040236a
push ebx
push 1
lea ecx, [ebp - 0x880]
call fcn.0040236a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x918]
call fcn.004046b0
mov eax, esi
call fcn.00401d83
ret
xor eax, eax
push 0x7fe
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push ebx
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x400
lea eax, [ebp - 0x810]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov edi, dword [ebp - 0x864]
cmp dword [ebp - 0x850], esi
jae 0x40901a
lea edi, [ebp - 0x864]
cmp dword [ebp - 0x818], esi
mov esi, dword [ebp - 0x82c]
jae 0x40902e
lea esi, [ebp - 0x82c]
call fcn.0040868d
push eax
lea eax, [ebp - 0x810]
push eax
push edi
push esi
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor ecx, ecx
cmp eax, 0x20
setg cl
mov esi, ecx
jmp 0x408f87
Function at 0x409054
Capabilities:
Accept command line arguments

Disassembly:
push 0x9c
mov eax, 0x41202f
call fcn.004019d4
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0xa8]
call fcn.00401f0f
xor ebx, ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004021b7
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 1
call fcn.004026ca
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.0040236a
push 0x416eac
lea ecx, [ebp - 0x2c]
call fcn.004021b7
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 2
call fcn.00408329
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.0040236a
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0xa8]
call fcn.004085ee
push esi
push eax
mov byte [ebp - 4], 3
call fcn.00405cd7
mov ecx, eax
call fcn.00405ce1
mov ecx, eax
call fcn.0040d3a9
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov esi, eax
call fcn.0040236a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa8]
call fcn.004046b0
mov eax, esi
call fcn.00401d83
ret 4