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

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x42fa70
push esi
call fcn.00406055
push esi
call fcn.00405ab4
mov edi, eax
test edi, edi
jne 0x405b32
xor eax, eax
jmp 0x405b8a
push edi
call fcn.004062e9
test byte [0x434f18], 0x80
je 0x405b4f
mov ax, word [edi]
test ax, ax
je 0x405b2e
cmp ax, 0x5c
je 0x405b2e
sub edi, esi
sar edi, 1
jmp 0x405b69
call fcn.00406398
test eax, eax
je 0x405b63
test byte [eax], 0x10
je 0x405b2e
push esi
call fcn.00405a55
push esi
call sub.KERNEL32.dll_lstrlenW
cmp eax, edi
push esi
jg 0x405b55
call fcn.00405a09
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop edi
pop esi
ret 4

Function at 0x405c05
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
je 0x405c24
and al, 0xfe
push eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, esi
pop esi
ret 4

Function at 0x405c2a
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
push 0
inc ecx
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
ret 0xc

Function at 0x405c59
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x64
pop edi
mov eax, dword [0x40a570]
dec edi
mov dword [ebp - 8], eax
mov eax, dword [0x40a574]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1a
xor edx, edx
pop ecx
div ecx
push esi
lea eax, [ebp - 8]
push 0
push eax
push dword [ebp + 0xc]
add word [ebp - 4], dx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x405ca9
test edi, edi
jne 0x405c66
and word [esi], di
pop edi
pop esi
leave
ret 8
mov eax, esi
jmp 0x405ca3
Function at 0x405d84
Capabilities:
Get file size

Disassembly:
push ebx
push ebp
push esi
push edi
mov ebx, 0x430908
push 0x40a594
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov esi, dword [esp + 0x18]
mov ebp, dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test esi, esi
mov edi, 0x400
je 0x405dd2
push 1
push 0
push esi
call fcn.00405c2a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebx
push esi
call ebp
test eax, eax
je 0x405ef1
cmp eax, edi
jg 0x405ef1
mov esi, 0x431108
push edi
push esi
push dword [esp + 0x1c]
call ebp
test eax, eax
je 0x405ef1
cmp eax, edi
jg 0x405ef1
push esi
push ebx
push str._ls_ls_r_n
push 0x430508
call dword [sym.imp.USER32.dll_wsprintfA]
mov ebx, eax
mov eax, dword [0x434f10]
add esp, 0x10
push dword [eax + 0x128]
push esi
call fcn.00406077
push 4
push 0xc0000000
push esi
call fcn.00405c2a
mov ebp, eax
cmp ebp, 0xffffffff
mov dword [esp + 0x18], ebp
je 0x405ef1
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi + ebx + 0xa]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x405eea
push edi
push esi
push ebp
call fcn.00405cad
test eax, eax
je 0x405eea
push str._Rename__r_n
push esi
call fcn.00405b8f
test eax, eax
jne 0x405e88
lea eax, [esi + edi]
push str._Rename__r_n
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
add edi, 0xa
jmp 0x405ebd
add eax, 0xa
push 0x40a578
push eax
call fcn.00405b8f
mov ebp, eax
test ebp, ebp
je 0x405eb9
lea ecx, [esi + edi]
lea eax, [ecx + ebx]
jmp 0x405eaa
mov dl, byte [ecx]
mov byte [eax], dl
dec eax
dec ecx
cmp ecx, ebp
ja 0x405ea4
sub ebp, esi
inc ebp
mov eax, ebp
mov ebp, dword [esp + 0x18]
jmp 0x405ebf
mov ebp, dword [esp + 0x18]
mov eax, edi
push ebx
add eax, esi
push 0x430508
push eax
call fcn.00405be5
xor eax, eax
push eax
push eax
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
add edi, ebx
push edi
push esi
push ebp
call fcn.00405cdc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x405ef6
Capabilities:
Move file

Disassembly:
push 5
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x405f19
push dword [esp + 8]
push dword [esp + 8]
call fcn.00405d84
pop ecx
pop ecx
inc dword [0x434f90]
ret 8
Function at 0x405f22
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
lea eax, [ebp + 0x18]
push edi
push eax
mov eax, dword [ebp + 0x18]
xor edi, edi
neg eax
sbb eax, eax
mov esi, dword [ebp + 0x14]
and eax, 0x100
or eax, 0x20019
mov word [esi], di
push eax
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x405f96
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0x800
push eax
lea eax, [ebp + 0x14]
push esi
push eax
push edi
push dword [ebp + 0x10]
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x405f83
cmp dword [ebp + 0x14], 1
je 0x405f86
cmp dword [ebp + 0x14], 2
je 0x405f86
mov word [esi], di
push dword [ebp + 0x18]
mov word [esi + 0x7fe], di
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
ret 0x14
Function at 0x4063bf
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4063e3
xor eax, eax
test eax, eax
je 0x4063f6
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4063f6
xor ecx, ecx
jmp 0x4063f9
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
leave
ret 4

Function at 0x4064dc
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x43190c], 0
push esi
jne 0x406513
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4064ed
mov dword [ecx*4 + 0x431908], eax
inc ecx
cmp ecx, 0x100
jl 0x4064e8
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406544
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x431908]
xor eax, esi
inc ecx
dec edx
jne 0x406526
pop edi
not eax
pop esi
ret 0xc
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x434008]
jne 0x40100a
repz ret
jmp fcn.00401671

Function at 0x40482b
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.00402cea
and dword [ebp - 4], 0
cmp dword [0x435cb0], 0
mov ebx, eax
jne 0x4048dc
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40498d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40498d
push eax
call fcn.00402c78
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x435cb0], eax
call esi
push eax
call fcn.00402c78
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x435cb4], eax
call esi
push eax
call fcn.00402c78
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x435cb8], eax
call esi
push eax
call fcn.00402c78
pop ecx
mov dword [0x435cc0], eax
test eax, eax
je 0x4048dc
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402c78
pop ecx
mov dword [0x435cbc], eax
mov eax, dword [0x435cbc]
cmp eax, ebx
je 0x404934
cmp dword [0x435cc0], ebx
je 0x404934
push eax
call fcn.00402cf3
push dword [0x435cc0]
mov esi, eax
call fcn.00402cf3
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x404934
test edi, edi
je 0x404934
call esi
test eax, eax
je 0x40492b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40492b
test byte [ebp - 0xc], 1
jne 0x404934
or dword [ebp + 0x10], 0x200000
jmp 0x40496d
mov eax, dword [0x435cb4]
cmp eax, ebx
je 0x40496d
push eax
call fcn.00402cf3
pop ecx
test eax, eax
je 0x40496d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40496d
mov eax, dword [0x435cb8]
cmp eax, ebx
je 0x40496d
push eax
call fcn.00402cf3
pop ecx
test eax, eax
je 0x40496d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x435cb0]
call fcn.00402cf3
pop ecx
test eax, eax
je 0x40498d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40498f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4313e0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x434008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x50e3dc]
push ebx
push esi
mov esi, dword [0x50e224]
mov ebx, eax
cmp eax, 0x5dd
jne 0x43141a
push 0
lea eax, [ebp - 0x404]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
mov eax, dword [0x434c60]
call fcn.004312e0
cmp dword [0x50e3dc], 0x2f
jne 0x431435
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push esi
call fcn.00431320
add esp, 4
cmp dword [0x50e3dc], 0x568
pop esi
pop ebx
jne 0x43145c
push 0
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
push 0
call dword [sym.imp.KERNEL32.dll_GetNumaHighestNodeNumber]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401000
mov esp, ebp
pop ebp
ret
Function at 0x403492
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
xor eax, eax
push ebx
mov ebx, 0xbb40e64e
cmp dword [0x4014ac], eax
je 0x4034b4
cmp dword [0x4014ac], ebx
jne 0x40354d
push esi
push eax
push eax
push 1
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov esi, dword [ebp - 8]
xor esi, dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor esi, eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 0x10]
xor eax, dword [ebp - 0x14]
xor esi, eax
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x4014ac
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [0x4014ac], esi
test esi, esi
jne 0x403523
mov dword [0x4014ac], ebx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
mov esi, 0x4014ac
push 4
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 4
push esi
call sub.KERNEL32.dll_WerRegisterMemoryBlock
mov eax, dword [0x4014ac]
not eax
mov dword [0x407248], eax
pop esi
pop ebx
leave
ret

Function at 0x403550
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4014ac]
jne 0x4039bf
ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x4073f8], eax
mov dword [0x4073f4], ecx
mov dword [0x4073f0], edx
mov dword [0x4073ec], ebx
mov dword [0x4073e8], esi
mov dword [0x4073e4], edi
mov word [0x407410], ss
mov word [0x407404], cs
mov word [0x4073e0], ds
mov word [0x4073dc], es
mov word [0x4073d8], fs
mov word [0x4073d4], gs
pushfd
pop dword [0x407408]
mov eax, dword [ebp]
mov dword [0x4073fc], eax
mov eax, dword [ebp + 4]
mov dword [0x407400], eax
lea eax, [ebp + 8]
mov dword [0x40740c], eax
mov eax, dword [ebp - 0x320]
mov dword [0x407348], 0x10001
mov eax, dword [0x407400]
mov dword [0x4072fc], eax
mov dword [0x4072f0], 0xc0000409
mov dword [0x4072f4], 1
mov eax, dword [0x4014ac]
mov dword [ebp - 0x328], eax
mov eax, dword [0x407248]
mov dword [ebp - 0x324], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x407340], eax
push 1
call sub.MSVCR100.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x4014b8
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x407340], 0
jne 0x403aab
push 1
call sub.MSVCR100.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
leave
ret
Function at 0x40383b
Capabilities:
Terminate process

Disassembly:
push 0x5c
push 0x405340
call fcn.00403d60
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
cmp dword [0x407680], ebx
jne 0x4035d6
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x24], ebx
mov edi, 0x407674
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x403610
cmp eax, esi
jne 0x403603
xor esi, esi
inc esi
mov dword [ebp - 0x24], esi
jmp 0x403613
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4035ea
xor esi, esi
inc esi
mov eax, dword [0x407670]
cmp eax, esi
jne 0x403626
push 0x1f
call fcn.0055d000
pop ecx
jmp 0x403661
mov eax, dword [0x407670]
test eax, eax
jne 0x40365b
mov dword [0x407670], esi
push 0x40118c
push 0x40117c
call sub.MSVCR100.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x403661
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x40377b
mov dword [0x4072e8], esi
mov eax, dword [0x407670]
cmp eax, esi
jne 0x403685
push 0x401178
push 0x40116c
call sub.MSVCR100.dll__initterm
pop ecx
pop ecx
mov dword [0x407670], 2
cmp dword [ebp - 0x24], ebx
jne 0x403692
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x407684], ebx
je 0x4036b3
push 0x407684
call fcn.00403c98
pop ecx
test eax, eax
je 0x4036b3
push ebx
push 2
push ebx
call dword [0x407684]
mov eax, dword [sym.imp.MSVCR100.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x40370c
cmp al, bl
je 0x4036cc
cmp dword [ebp - 0x1c], ebx
jne 0x40370c
mov al, byte [esi]
cmp al, bl
je 0x4036dc
cmp al, 0x20
ja 0x4036dc
inc esi
mov dword [ebp - 0x20], esi
jmp 0x4036cc
test byte [ebp - 0x40], 1
je 0x4036e8
movzx eax, word [ebp - 0x3c]
jmp 0x4036eb
push 0xa
pop eax
push eax
push esi
push ebx
push 0x400000
call main
mov dword [0x4072e4], eax
cmp dword [0x4072d8], ebx
jne 0x403761
push eax
call dword [sym.imp.MSVCR100.dll_exit]
cmp al, 0x22
jne 0x40371b
xor ecx, ecx
cmp dword [ebp - 0x1c], ebx
sete cl
mov dword [ebp - 0x1c], ecx
movzx eax, al
push eax
call dword [sym.imp.MSVCR100.dll__ismbblead]
pop ecx
test eax, eax
je 0x40372e
inc esi
mov dword [ebp - 0x20], esi
inc esi
jmp 0x4036ba
cmp dword [0x4072e8], ebx
jne 0x40376f
call dword [sym.imp.MSVCR100.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x4072e4]
call fcn.00403da5
ret
call fcn.00403492
jmp 0x4035a8
Function at 0x404829
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4014ac]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, eax
push 0x206
xor esi, esi
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push esi
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
push esi
mov word [edi], ax
push 0x2b
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x40489b
cmp word [ebp - 0x20c], si
je 0x40489b
push dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
push edi
push 0x401898
push eax
call fcn.00404736
mov esi, eax
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00403550
leave
ret 8

Function at 0x4048e5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push esi
push edi
push 0x16
pop edi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
and dword [ebp - 8], esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x404980
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp + 0xc]
push eax
push esi
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x404980
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0x18]
ja 0x404980
add eax, eax
push eax
call dword [sym.imp.MSVCR100.dll_malloc]
mov esi, eax
pop ecx
test esi, esi
je 0x404980
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x404980
mov eax, dword [ebp - 8]
shr eax, 1
xor ecx, ecx
mov word [esi + eax*2 - 2], cx
push dword [ebp - 8]
push esi
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call dword [sym.imp.MSVCR100.dll_wcsncpy_s]
add esp, 0x10
mov edi, eax
cmp dword [ebp - 4], 0
je 0x404993
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 4], 0
test esi, esi
je 0x40499f
push esi
call dword [sym.imp.MSVCR100.dll_free]
pop ecx
mov eax, edi
pop edi
pop esi
leave
ret 0x14
Function at 0x4049a7
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x320
mov eax, dword [0x4014ac]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x320]
push eax
mov dword [ebp - 0x320], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x31c], 6
jne 0x404a6c
cmp dword [ebp - 0x318], 0
jne 0x404a5c
push esi
push edi
mov edi, 0x104
push edi
xor esi, esi
lea eax, [ebp - 0x20c]
push esi
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
push edi
lea eax, [ebp - 0x20c]
push eax
push 0x4018bc
push 0x4018e0
push 0x80000002
call fcn.004048e5
mov ecx, 0x40193c
lea eax, [ebp - 0x20c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x404a4c
test dx, dx
je 0x404a51
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x404a4c
add eax, 4
add ecx, 4
test dx, dx
jne 0x404a28
jmp 0x404a51
sbb esi, esi
sbb esi, 0xffffffff
xor eax, eax
test esi, esi
pop edi
setne al
pop esi
jmp 0x404a75
cmp dword [ebp - 0x318], 2
jae 0x404a72
cmp dword [ebp - 0x31c], 6
ja 0x404a72
xor eax, eax
jmp 0x404a75
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403550
leave
ret
Function at 0x100ac110
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x100ac2dd
pushal
mov esi, section.UPX1
lea edi, [esi - 0x78000]
push edi
or ebp, 0xffffffff
jmp 0x100ac13a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x100ac141
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x100ac130
mov eax, 1
add ebx, ebx
jne 0x100ac153
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x100ac148
jne 0x100ac164
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x100ac148
xor ecx, ecx
sub eax, 3
jb 0x100ac178
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x100ac1ea
mov ebp, eax
add ebx, ebx
jne 0x100ac183
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x100ac190
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x100ac1b4
inc ecx
add ebx, ebx
jne 0x100ac1a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x100ac195
jne 0x100ac1b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x100ac195
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x100ac1d4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x100ac1c5
jmp 0x100ac136
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x100ac1d4
add edi, ecx
jmp 0x100ac136
pop esi
mov edi, esi
mov ecx, 0x31c8
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x100ac1f2
cmp byte [edi], 0x21
jne 0x100ac1f2
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 0x100ac1f7
lea edi, [esi + 0xa7000]
mov eax, dword [edi]
or eax, eax
je 0x100ac26f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xac000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xac12c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x100ac224
mov ecx, edi
jns 0x100ac253
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xac130]
or eax, eax
je 0x100ac269
mov dword [ebx], eax
add ebx, 4
jmp 0x100ac241
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 0x100ac2a0
cmp al, 0xef
ja 0x100ac293
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x100ac275
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x100ac282
mov ebp, dword [esi + 0xac134]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x100ac2d4
sub esp, 0xffffff80
jmp 0x10059325
Function at 0x10003a90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ea6d5
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x1015f6c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x10], edx
mov esi, dword [ebp + 8]
test esi, esi
je 0x10003c21
cmp esi, 0x15555555
ja 0x10003c34
lea edi, [esi + esi*2]
shl edi, 2
mov dword [ebp - 0x14], edi
test edi, edi
je 0x10003b1d
cmp edi, 0x1000
jb 0x10003b0f
lea eax, [edi + 0x23]
cmp eax, edi
jbe 0x10003c39
push eax
call fcn.100beeb0
add esp, 4
test eax, eax
je 0x10003c3e
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x10003b1a
push edi
call fcn.100beeb0
add esp, 4
mov edi, eax
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov dword [edx], edi
add ecx, edi
mov dword [edx + 4], edi
mov dword [edx + 8], ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edx
mov byte [ebp - 4], 1
test esi, esi
je 0x10003c10
nop dword [eax]
push 0x7c
call fcn.100beeb0
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
test esi, esi
je 0x10003bf1
lea eax, [esi + 0xc]
mov dword [esi], vtable.std::_Associated_state_int_.0
mov dword [esi + 4], 1
mov dword [esi + 8], 0
push eax
mov dword [eax], 0
mov dword [eax + 4], 0
call fcn.100bcb88
xorps xmm0, xmm0
lea eax, [esi + 0x44]
movups xmmword [esi + 0x20], xmm0
push eax
movq qword [esi + 0x30], xmm0
mov dword [esi + 0x38], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x3c], 0xffffffff
mov dword [esi + 0x14], 2
mov dword [esi + 0x40], 0
call fcn.100bcb88
add esp, 8
mov byte [esi + 0x6c], 0
mov dword [esi + 0x70], 0
mov word [esi + 0x74], 0
mov byte [esi + 0x76], 0
mov dword [esi + 0x78], 0
jmp 0x10003bf3
xor esi, esi
mov dword [edi], esi
mov byte [edi + 4], 0
mov byte [edi + 8], 0
add edi, 0xc
sub dword [ebp + 8], 1
mov dword [ebp - 0x20], edi
jne 0x10003b50
mov edx, dword [ebp - 0x10]
push edx
push edi
push edi
call fcn.10003cd0
mov eax, dword [ebp - 0x10]
add esp, 0xc
mov dword [eax + 4], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
call fcn.1001fa10
call fcn.1001f4e0
call fcn.100c45bf
int3