joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406128
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x40614d
mov dword [0x40a0f4], eax
add esp, 0xfffffff8
push 0x4060ec
push eax
call fcn.00407c20
jmp 0x406152
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x406168
mov dword [0x409054], 0x40624c
jmp 0x406172
mov dword [0x409054], 0x406200
leave
ret

Function at 0x433006
Capabilities:
Encode data using xor

Disassembly:
call 0x43300c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x401f25
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2004
call fcn.0040c8b0
push ebx
push esi
mov esi, 0x1fff
xor ebx, ebx
push esi
lea eax, [ebp - 0x2003]
push ebx
push eax
mov byte [ebp - 0x2004], bl
call sub.msvcrt.dll_memset
add esp, 0xc
push ebx
push ebx
push esi
lea eax, [ebp - 0x2004]
push eax
push 0xffffffffffffffff
push dword [ebp + 0xc]
push ebx
push 0xfde9
call dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
push ebx
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x2004]
push eax
call sub.msvcrt.dll_strlen
pop ecx
push eax
lea eax, [ebp - 0x2004]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
pop esi
pop ebx
leave
ret

Function at 0x4024c0
Capabilities:
Link many functions at runtime

Disassembly:
cmp dword [esi], 0
jne 0x402555
push edi
push 0x40d76c
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.CryptAcquireContextW
push eax
mov dword [esi], eax
call edi
push str.CryptReleaseContext
push dword [esi]
mov dword [esi + 4], eax
call edi
push str.CryptCreateHash
push dword [esi]
mov dword [esi + 8], eax
call edi
push str.CryptGetHashParam
push dword [esi]
mov dword [esi + 0xc], eax
call edi
push str.CryptHashData
push dword [esi]
mov dword [esi + 0x10], eax
call edi
push str.CryptDestroyHash
push dword [esi]
mov dword [esi + 0x14], eax
call edi
push str.CryptDecrypt
push dword [esi]
mov dword [esi + 0x18], eax
call edi
push str.CryptDeriveKey
push dword [esi]
mov dword [esi + 0x1c], eax
call edi
push str.CryptImportKey
push dword [esi]
mov dword [esi + 0x20], eax
call edi
push str.CryptDestroyKey
push dword [esi]
mov dword [esi + 0x24], eax
call edi
mov dword [esi + 0x28], eax
pop edi
ret
Function at 0x40310b
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push dword [ebp + 0xc]
call fcn.00404b3c
test eax, eax
pop ecx
je 0x4031ec
push dword [ebp + 0xc]
call fcn.00404781
cmp eax, 0xffffffff
pop ecx
mov dword [ebp - 4], eax
je 0x4031ec
push ebx
push esi
xor esi, esi
push esi
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov ebx, eax
cmp ebx, esi
jbe 0x4031e1
mov eax, 0x1388
push edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
lea edi, [ebx + 0xa]
lea esi, [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], eax
call fcn.00405a0c
mov esi, dword [ebp - 0x1c]
push ebx
push esi
push dword [ebp - 4]
call fcn.00405124
push 8
push 0
add esi, ebx
push esi
call sub.msvcrt.dll_memset
imul ebx, ebx, 3
add esp, 0x18
mov edi, ebx
lea esi, [ebp - 0x10]
call fcn.00405a0c
shr ebx, 1
push ebx
push dword [ebp - 0x10]
push 0xffffffffffffffff
push dword [ebp - 0x1c]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00402d52
lea esi, [ebp - 0x28]
call fcn.004059f7
lea esi, [ebp - 0x10]
call fcn.004059f7
lea esi, [ebp - 0x1c]
call fcn.004059f7
pop edi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop esi
pop ebx
leave
ret 8
Function at 0x4047b3
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
call sub.msvcrt.dll_wcslen
pop ecx
add eax, eax
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
leave
ret

Function at 0x40493a
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push esi
xor esi, esi
call dword [sym.imp.USER32.dll_EmptyClipboard]
test ebp, ebp
je 0x404997
push ebx
push edi
push ebp
call sub.msvcrt.dll_wcslen
pop ecx
lea ebx, [eax + eax + 2]
push ebx
push 0x2000
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x404995
push edi
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
push ebx
push ebp
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
mov esi, eax
neg esi
sbb esi, esi
neg esi
pop edi
pop ebx
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, esi
pop esi
pop ebp
ret

Function at 0x4049a2
Capabilities:
Get file size
Read file on windows
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_EmptyClipboard]
push dword [ebp + 8]
call fcn.00404781
cmp eax, 0xffffffff
pop ecx
mov dword [ebp - 8], eax
je 0x404a34
push ebx
push esi
push edi
push 0
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov esi, eax
lea eax, [esi + 2]
push eax
push 0x2000
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x404a1d
push ebx
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
push 0
mov edi, eax
lea eax, [ebp - 0xc]
push eax
push esi
push edi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x404a1d
shr esi, 1
and word [edi + esi*2], 0
push ebx
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
push ebx
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
jmp 0x404a26
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 4], eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
pop esi
pop ebx
jmp 0x404a3d
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp - 4]
leave
ret

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

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret

Function at 0x404d98
Capabilities:
Get common file path

Disassembly:
cmp word [0x411220], 0
push esi
mov esi, 0x411220
jne 0x404db9
push 0x104
push esi
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryW]
mov dword [0x41142c], eax
push esi
push dword [esp + 0xc]
call sub.msvcrt.dll_wcscpy
mov eax, dword [0x41142c]
pop ecx
pop ecx
pop esi
ret
Function at 0x404fb2
Capabilities:
Create process on windows

Disassembly:
push 5
mov eax, 0x40d3d0
push eax
push eax
push dword [esp + 0x14]
push 0x40dc68
push dword [esp + 0x18]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0x20
pop ecx
cmp ecx, eax
sbb eax, eax
neg eax
ret

Function at 0x40584d
Capabilities:
Enumerate files on windows

Disassembly:
push ecx
push esi
mov esi, eax
mov eax, dword [esi]
cmp eax, 0xffffffff
jne 0x405879
lea eax, [esi + 0x28c]
push eax
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov dword [esi], eax
mov dword [esp + 4], ecx
jmp 0x405894
lea ecx, [esi + 0x28c]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
mov dword [esp + 4], eax
jne 0x40589b
call fcn.004058e6
cmp dword [esp + 4], 0
je 0x4058df
push ebx
push ebp
push edi
lea edi, [esi + 0x4dc]
lea ebx, [esi + 0x2b8]
add esi, 0x764
push esi
call sub.msvcrt.dll_wcslen
push ebx
mov ebp, eax
call sub.msvcrt.dll_wcslen
lea eax, [eax + ebp + 1]
cmp eax, 0x143
pop ecx
pop ecx
jae 0x4058d8
push ebx
push esi
mov eax, edi
call fcn.00404d1e
pop ecx
pop ecx
jmp 0x4058dc
and word [edi], 0
pop edi
pop ebp
pop ebx
mov eax, dword [esp + 4]
pop esi
pop ecx
ret

Function at 0x40602c
Capabilities:
Read .ini file

Disassembly:
and word [esi], 0
push 0x410b98
push dword [esp + 0xc]
push esi
push 0x40d3d0
push dword [esp + 0x14]
push 0x410da8
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringW]
mov eax, esi
ret

Function at 0x406051
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2004
call fcn.0040c8b0
and word [ebp - 0x2004], 0
push 0x2000
lea eax, [ebp - 0x2002]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x410b98
push 0x1000
lea eax, [ebp - 0x2004]
push eax
push 0x40d3d0
push dword [ebp + 8]
push 0x410da8
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringW]
cmp word [ebp - 0x2004], 0
je 0x4060c0
lea eax, [ebp - 0x2004]
push eax
push dword [ebp + 0xc]
call sub.msvcrt.dll_wcscpy
pop ecx
xor eax, eax
pop ecx
inc eax
leave
ret
xor eax, eax
leave
ret

Function at 0x4060c4
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2004
call fcn.0040c8b0
and word [ebp - 0x2004], 0
push esi
push edi
push 0x2000
lea eax, [ebp - 0x2002]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov edi, 0x410b98
push edi
push 0x1000
lea eax, [ebp - 0x2004]
push eax
push 0x40d3d0
push dword [ebp + 8]
mov esi, 0x410da8
push esi
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringW]
cmp word [ebp - 0x2004], 0
je 0x40612b
cmp dword [ebp + 0x10], 0
jne 0x40612b
xor eax, eax
jmp 0x406139
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.DLL_WritePrivateProfileStringW]
pop edi
pop esi
leave
ret
Function at 0x40648c
Capabilities:
Read .ini file

Disassembly:
push dword [esp + 4]
call fcn.00404b3c
test eax, eax
pop ecx
je 0x406513
push esi
push edi
push dword [esp + 0xc]
mov edi, 0x410b98
push edi
call sub.msvcrt.dll_wcscpy
push str.general
mov esi, 0x410da8
push esi
call sub.msvcrt.dll_wcscpy
add esp, 0x10
push edi
push 0
push 0x40dd14
push esi
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileIntW]
dec eax
neg eax
sbb eax, eax
inc eax
push 0x3f
push str.charset
mov esi, 0x410e30
mov dword [0x410e2c], eax
call fcn.0040602c
push 0x3f
push str.TranslatorName
mov esi, 0x410eb0
call fcn.0040602c
push 0xff
push str.TranslatorURL
mov esi, 0x410f30
call fcn.0040602c
add esp, 0x18
pop edi
pop esi
ret

Function at 0x4073d8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2004
call fcn.0040c8b0
push ebx
push esi
mov esi, 0x1fff
xor ebx, ebx
push esi
lea eax, [ebp - 0x2003]
push ebx
push eax
mov byte [ebp - 0x2004], bl
call sub.msvcrt.dll_memset
add esp, 0xc
push ebx
push ebx
push esi
lea eax, [ebp - 0x2004]
push eax
push 0xffffffffffffffff
push dword [ebp + 0xc]
push ebx
push ebx
call dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
push ebx
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x2004]
push eax
call sub.msvcrt.dll_strlen
pop ecx
push eax
lea eax, [ebp - 0x2004]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
pop esi
pop ebx
leave
ret
Function at 0x4080d9
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2bc
push ebx
mov ebx, dword [sym.imp.COMCTL32.dll_ImageList_Create]
push ebp
push esi
mov esi, eax
xor ebp, ebp
cmp dword [esi + 0x2a4], ebp
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
je 0x408183
cmp dword [esi + 0x2ac], ebp
je 0x408151
push 0x2b0
lea eax, [esp + 0x20]
push ebp
push eax
mov dword [esp + 0x24], ebp
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x4001
push 0x2b4
lea eax, [esp + 0x20]
push eax
push ebp
push 0x40d3d0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push eax
push 1
push 0x1003
push dword [esi + 0x290]
mov dword [esi + 0x298], eax
call edi
jmp 0x408183
push 1
push 1
push 0x19
push 0x10
push 0x10
call ebx
push 1
lea ebp, [esi + 0x298]
push eax
mov dword [ebp], eax
call dword [sym.imp.COMCTL32.dll_ImageList_SetImageCount]
push dword [ebp]
push 1
push 0x1003
push dword [esi + 0x290]
call edi
xor ebp, ebp
cmp dword [esi + 0x2a8], ebp
je 0x4081bb
push 1
push 1
push 0x19
push 0x20
push 0x20
call ebx
push 1
lea ebp, [esi + 0x29c]
push eax
mov dword [ebp], eax
call dword [sym.imp.COMCTL32.dll_ImageList_SetImageCount]
push dword [ebp]
push 0
push 0x1003
push dword [esi + 0x290]
call edi
push 1
push 1
push 0x19
push 0x10
pop ebp
push ebp
push ebp
call ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
push 0
mov dword [esi + 0x294], eax
call ebx
push 0x1000
push ebp
push ebp
mov ebp, dword [sym.imp.USER32.dll_LoadImageW]
push 0
push 0x85
push eax
call ebp
push 0
mov dword [esp + 0x14], eax
call ebx
push 0x1000
push 0x10
push 0x10
push 0
push 0x86
push eax
call ebp
push 0
push dword [esi + 0x294]
mov ebx, eax
call dword [sym.imp.COMCTL32.dll_ImageList_SetImageCount]
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
mov ebp, dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
push eax
push dword [esp + 0x14]
mov dword [esp + 0x1c], eax
push dword [esi + 0x294]
call ebp
push dword [esp + 0x14]
push ebx
push dword [esi + 0x294]
call ebp
push dword [esp + 0x10]
mov ebp, dword [sym.imp.GDI32.dll_DeleteObject]
call ebp
push ebx
call ebp
mov eax, dword [esi + 0x294]
mov esi, dword [esi + 0x290]
push eax
push 0
push 0x1208
push esi
call fcn.00402807
pop ecx
push eax
call edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2bc
ret
Function at 0x40950a
Capabilities:
Delete file
Get common file path
Open clipboard

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push esi
push edi
mov esi, eax
lea eax, [ebp - 0x410]
push eax
mov edi, 0x104
push edi
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
test eax, eax
jne 0x40953c
push edi
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryW]
and word [ebp - 0x208], 0
lea eax, [ebp - 0x208]
push eax
push 0
push 0x40e2e8
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.DLL_GetTempFileNameW]
mov eax, dword [esi + 0x694]
push 1
push 1
lea ecx, [ebp - 0x208]
push ecx
push eax
push 2
pop edx
call fcn.004093cb
test eax, eax
je 0x4095c1
push dword [esi + 0x208]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x40959c
lea eax, [ebp - 0x208]
push eax
call fcn.004049a2
pop ecx
jmp 0x4095a2
call dword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
je 0x4095b4
push dword [esi + 0x208]
mov ecx, eax
call fcn.004047fa
pop ecx
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
pop edi
pop esi
leave
ret
Function at 0x40b205
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4004
call fcn.0040c8b0
push esi
push edi
xor eax, eax
cmp dword [ebp + 8], eax
push 0x4000
push eax
mov word [ebp - 0x4004], ax
lea eax, [ebp - 0x4002]
mov edi, ecx
push eax
je 0x40b264
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x4004]
push eax
push dword [edi]
push dword [ebp + 0x14]
call fcn.00405162
add esp, 0x18
push dword [ebp + 0x18]
lea eax, [ebp - 0x4004]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_WritePrivateProfileStringW]
mov esi, eax
jmp 0x40b2a5
call sub.msvcrt.dll_memset
add esp, 0xc
push dword [ebp + 0x18]
lea eax, [ebp - 0x4004]
push 0x2000
push eax
push 0x40d3d0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringW]
push dword [ebp + 0x14]
xor ecx, ecx
cmp ecx, eax
sbb esi, esi
push edi
lea edi, [ebp - 0x4004]
neg esi
call fcn.004051eb
pop ecx
pop ecx
pop edi
mov eax, esi
pop esi
leave
ret

Function at 0x40b2ab
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push dword [ebp + 0x18]
je 0x40b2c9
push dword [esi]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0040b1b8
add esp, 0x10
pop ebp
ret
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileIntW]
mov dword [esi], eax
pop ebp
ret

Function at 0x40b4af
Capabilities:
Get file size

Disassembly:
mov eax, dword [esi]
push ebx
xor ebx, ebx
cmp eax, ebx
push edi
je 0x40b4c2
push eax
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
mov dword [esi], ebx
push dword [esp + 0xc]
call fcn.00404781
mov edi, eax
cmp edi, 0xffffffff
pop ecx
je 0x40b50d
push 0
push edi
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
push eax
mov dword [esi + 4], eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
push dword [esi + 4]
mov dword [esi], eax
push eax
push edi
call fcn.00405124
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x40b506
mov eax, dword [esi]
cmp dword [eax], 0x66676572
je 0x40b506
xor ebx, ebx
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
mov eax, ebx
pop ebx
ret 4
Function at 0x40c36e
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
push ebx
push esi
mov esi, eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
cmp eax, ebx
mov dword [ebp - 4], eax
jbe 0x40c544
lea eax, [esi + 0x18]
mov dword [ebp - 0x30], eax
mov word [eax], bx
lea eax, [esi + 0x218]
mov dword [ebp - 0x1c], eax
mov word [eax], bx
lea eax, [esi + 0x418]
mov dword [ebp - 8], eax
mov word [eax], bx
lea eax, [esi + 0x618]
mov dword [ebp - 0xc], eax
mov word [eax], bx
lea eax, [esi + 0x818]
mov dword [ebp - 0x10], eax
mov word [eax], bx
lea eax, [esi + 0xa18]
mov dword [ebp - 0x18], eax
mov word [eax], bx
lea eax, [esi + 0xc18]
push edi
push dword [ebp - 4]
mov dword [ebp - 0x20], eax
mov word [eax], bx
lea eax, [esi + 0xe18]
mov dword [ebp - 0x28], eax
mov word [eax], bx
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov edi, eax
push edi
push dword [ebp - 4]
push ebx
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
push 0x40dc10
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40c44a
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x30]
mov dword [esi + 4], ecx
mov ecx, dword [eax + 8]
mov dword [esi], ecx
mov ecx, dword [eax + 0x14]
mov dword [esi + 0xc], ecx
mov ecx, dword [eax + 0x10]
mov dword [esi + 8], ecx
mov ecx, dword [eax + 0x24]
mov dword [esi + 0x10], ecx
mov eax, dword [eax + 0x28]
mov dword [esi + 0x14], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x14]
push eax
push str.VarFileInfoTranslation
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40c499
mov eax, dword [ebp - 0x14]
movzx ecx, word [eax + 2]
movzx eax, word [eax]
push ecx
push eax
push str._4.4X_4.4X
lea eax, [ebp - 0x58]
push 0x14
push eax
call sub.msvcrt.dll__snwprintf
add esp, 0x14
push 0x40d3d0
lea eax, [ebp - 0x58]
push eax
push edi
lea esi, [ebp - 0x258]
call fcn.0040c2df
test eax, eax
jne 0x40c4a9
lea eax, [ebp - 0x58]
push str.040904E4
push eax
call sub.msvcrt.dll_wcscpy
pop ecx
pop ecx
mov esi, dword [ebp - 0x30]
push 0x40eb54
lea eax, [ebp - 0x58]
push eax
push edi
call fcn.0040c2df
mov esi, dword [ebp - 0x1c]
push 0x40eb6c
lea eax, [ebp - 0x58]
push eax
push edi
call fcn.0040c2df
mov esi, dword [ebp - 8]
push 0x40eb8c
lea eax, [ebp - 0x58]
push eax
push edi
call fcn.0040c2df
mov esi, dword [ebp - 0xc]
push 0x40eba4
lea eax, [ebp - 0x58]
push eax
push edi
call fcn.0040c2df
mov esi, dword [ebp - 0x10]
push 0x40ebc4
lea eax, [ebp - 0x58]
push eax
push edi
call fcn.0040c2df
mov esi, dword [ebp - 0x18]
push 0x40ebdc
lea eax, [ebp - 0x58]
push eax
push edi
call fcn.0040c2df
mov esi, dword [ebp - 0x20]
push 0x40ebf8
lea eax, [ebp - 0x58]
push eax
push edi
call fcn.0040c2df
mov esi, dword [ebp - 0x28]
push str.OriginalFileName
lea eax, [ebp - 0x58]
push eax
push edi
call fcn.0040c2df
xor ebx, ebx
push edi
inc ebx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 4
Function at 0x40c626
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x70
push 0x40d388
call fcn.0040c838
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x40c661
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40c661
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x40c679
cmp eax, 0x20b
je 0x40c666
mov dword [ebp - 0x1c], edi
jmp 0x40c68d
cmp dword [ecx + 0x84], 0xe
jbe 0x40c661
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x40c687
cmp dword [ecx + 0x74], 0xe
jbe 0x40c661
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 2
pop ebx
push ebx
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x411640], 0xffffffff
or dword [0x411644], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x4102ec]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x4102e8]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x41163c], eax
call fcn.0040c834
cmp dword [section..data], edi
jne 0x40c6ea
push fcn.0040c834
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.0040c822
push 0x40d380
push 0x40d37c
call sub.msvcrt.dll__initterm
mov eax, dword [0x4102e4]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [0x4102e0]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___wgetmainargs]
mov dword [ebp - 0x30], eax
push 0x40d378
push 0x40d360
call sub.msvcrt.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.msvcrt.dll__wcmdln]
mov esi, dword [eax]
cmp esi, edi
jne 0x40c750
or dword [ebp - 4], 0xffffffff
mov eax, 0xff
jmp 0x40c80a
mov dword [ebp - 0x34], esi
cmp word [esi], 0x22
jne 0x40c79e
add esi, ebx
mov dword [ebp - 0x34], esi
mov ax, word [esi]
cmp ax, di
je 0x40c76c
cmp ax, 0x22
jne 0x40c759
cmp word [esi], 0x22
jne 0x40c777
add esi, ebx
mov dword [ebp - 0x34], esi
mov ax, word [esi]
cmp ax, di
je 0x40c785
cmp ax, 0x20
jbe 0x40c772
mov dword [ebp - 0x4c], edi
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.DLL_GetStartupInfoW]
test byte [ebp - 0x4c], 1
je 0x40c7ab
movzx eax, word [ebp - 0x48]
jmp 0x40c7ae
cmp word [esi], 0x20
jbe 0x40c777
add esi, ebx
mov dword [ebp - 0x34], esi
jmp 0x40c79e
push 0xa
pop eax
push eax
push esi
push edi
push edi
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
call main
mov esi, eax
mov dword [ebp - 0x7c], esi
cmp dword [ebp - 0x1c], edi
jne 0x40c7cf
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x40c804
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.0040c871
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
mov ebx, 0x40de38
nop
mov ecx, 0x5bde3e5f
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x6ce8141b
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219