joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4151d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x43b010]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x43e6fc], 0
push esi
mov esi, ecx
je 0x4152f5
mov al, byte [0x4366cc]
movdqu xmm0, xmmword [str.SoftwareHewlett_PackardXPS_Drv]
push 0
mov byte [ebp - 0x40], al
lea eax, [ebp - 0x64]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
movdqu xmmword [ebp - 0x60], xmm0
lea eax, [ebp - 0x60]
mov dword [ebp - 0x64], 0
movdqu xmm0, xmmword [0x4366bc]
push eax
push 0x80000001
movdqu xmmword [ebp - 0x50], xmm0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x41528d
mov eax, dword [0x4366d8]
mov ecx, esi
movq xmm0, qword [str.LeakedModule]
mov dword [ebp - 0xc], eax
mov al, byte [0x4366dc]
movq qword [ebp - 0x14], xmm0
lea edx, [ecx + 1]
mov byte [ebp - 8], al
mov al, byte [ecx]
inc ecx
test al, al
jne 0x415261
sub ecx, edx
lea eax, [ebp - 0x14]
push ecx
push esi
push 3
push 0
push eax
push dword [ebp - 0x64]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x64]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x64], 0
movdqu xmm0, xmmword [str.Logging_memory_leak_information_to:_r_n]
mov eax, dword [0x436700]
lea edx, [ebp - 0x3c]
mov dword [ebp - 0x1c], eax
lea ecx, [edx + 1]
mov ax, word [0x436704]
movdqu xmmword [ebp - 0x3c], xmm0
mov word [ebp - 0x18], ax
movdqu xmm0, xmmword [0x4366f0]
movdqu xmmword [ebp - 0x2c], xmm0
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x4152c0
sub edx, ecx
lea ecx, [ebp - 0x3c]
call fcn.00415d90
mov edx, esi
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x4152d6
sub edx, ecx
mov ecx, esi
call fcn.00415d90
mov edx, 2
mov ecx, 0x435a44
call fcn.00415d90
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0041729b
mov esp, ebp
pop ebp
ret
Function at 0x4155d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x20019
push 0
push str.SOFTWAREHewlett_PackardHPProfiler
push 0x80000002
xor bl, bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41563f
mov eax, dword [ebp - 4]
test eax, eax
je 0x41563f
lea ecx, [ebp - 0xc]
mov dword [ebp - 8], 0
push ecx
lea ecx, [ebp - 8]
mov dword [ebp - 0xc], 4
push ecx
push 0
push 0
push str.AppendCSLSymbolServerPath
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x415636
cmp dword [ebp - 8], eax
seta bl
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x415d90
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
mov eax, edx
mov dword [ebp - 4], eax
test ebx, ebx
je 0x415dee
push edi
lea edi, [eax + 1]
lea eax, [edi - 1]
cmp eax, 0x7ffdeeff
ja 0x415ded
push esi
push edi
push 0
push edi
call fcn.004193be
add esp, 4
push eax
call fcn.0041a7b0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x415dec
push dword [ebp - 4]
push ebx
push edi
push esi
call fcn.004187c9
add esp, 0x10
test eax, eax
jne 0x415de3
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.00417993
add esp, 4
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4161e0
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x4162c3
cmp dword [0x43c300], 1
jle 0x4162c3
xor bl, bl
mov edi, 1
cmp byte [0x43ed14], bl
jne 0x416245
push str.kernel32.dll
mov byte [0x43ed14], 1
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x416245
push 0x436a14
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x416245
call eax
movzx edx, byte [0x43ed15]
test eax, eax
cmovne edx, edi
mov byte [0x43ed15], dl
jmp 0x41624b
mov dl, byte [0x43ed15]
mov ecx, dword [esi + 0x44]
xor eax, eax
test ecx, ecx
je 0x416278
cmp byte [esi + eax + 0x48], 0xd0
jne 0x416262
inc eax
cmp eax, ecx
jb 0x416254
jmp 0x416278
mov byte [esi + 0x38], 1
mov bl, 1
test dl, dl
je 0x416278
call dword [sym.imp.KERNEL32.dll_DebugBreak]
mov dl, byte [0x43ed15]
mov edi, dword [esi + 0x3c]
xor eax, eax
test edi, edi
je 0x416293
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x416293
cmp byte [ecx + eax], 0xd0
jne 0x4162a6
inc eax
cmp eax, edi
jb 0x416284
test bl, bl
je 0x4162c3
mov edx, 1
mov ecx, esi
pop edi
pop esi
pop ebx
jmp fcn.004150f0
mov byte [esi + 0x39], 1
test dl, dl
je 0x416297
call dword [sym.imp.KERNEL32.dll_DebugBreak]
mov edx, 1
mov ecx, esi
pop edi
pop esi
pop ebx
jmp fcn.004150f0
pop edi
pop esi
pop ebx
ret
Function at 0x416a30
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x43b010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor bl, bl
call dword [sym.imp.dbghelp.dll_SymGetOptions]
or eax, 0x80000006
push eax
call dword [sym.imp.dbghelp.dll_SymSetOptions]
push 0x11c
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.0041a7b0
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
jae 0x416a9e
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0
push 0x1000
jmp 0x416aac
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [0x43e920], eax
test eax, eax
je 0x416af6
push 1
push 0
push eax
call dword [sym.imp.dbghelp.dll_SymInitialize]
test eax, eax
je 0x416adb
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041729b
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x43e920]
test ecx, ecx
je 0x416af6
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x43e920], 0
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.0041729b
mov esp, ebp
pop ebp
ret
Function at 0x42634a
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43b010]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0041e8a3
mov dword [ebp - 0x14], eax
cmp dword [0x43e578], esi
jne 0x42643d
push 0x800
push esi
push 0x4348e4
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4263ca
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x42651d
push esi
push esi
push 0x4348e4
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x42651d
push 0x4348fc
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42651d
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x43e578], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x43e57c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x43e580], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43e588], eax
test eax, eax
je 0x42643a
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43e584], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x426462
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x426455
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x426477
push 4
pop eax
jmp 0x42651f
cmp dword [ebp - 0x14], esi
je 0x426477
push dword [0x43e578]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x42645c
mov eax, dword [0x43e584]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4264d5
cmp dword [0x43e588], edi
je 0x4264d5
push eax
call ebx
push dword [0x43e588]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4264d5
test eax, eax
je 0x4264d5
call ecx
test eax, eax
je 0x4264ca
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 0x4264ca
test byte [ebp - 8], 1
jne 0x4264d5
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x426505
mov eax, dword [0x43e57c]
cmp eax, edi
je 0x426502
push eax
call ebx
test eax, eax
je 0x426502
call eax
mov esi, eax
test esi, esi
je 0x426502
mov eax, dword [0x43e580]
cmp eax, edi
je 0x426502
push eax
call ebx
test eax, eax
je 0x426502
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x43e578]
call ebx
test eax, eax
je 0x42651d
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x42651f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041729b
mov esp, ebp
pop ebp
ret
Function at 0x40244d
Capabilities:
Create process on windows
Hide graphical window

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffff7c0
mov ebx, eax
mov al, byte [0x414528]
test al, al
mov byte [esp], dl
lea esi, [esp + 4]
je 0x402489
xor edx, edx
mov dl, al
cmp edx, 0x20
je 0x40247d
mov edx, 0x413116
mov eax, ebx
call fcn.0040e7c8
mov edx, 0x414528
mov eax, ebx
call fcn.0040e7c8
mov eax, esi
mov ecx, 0x3c
xor edx, edx
call fcn.0040e5f4
mov dword [esi], 0x3c
xor eax, eax
mov dword [esi + 4], 0x5c0
mov al, byte [ebx]
cmp eax, 0x22
jne 0x4024b2
lea edx, [ebx + 1]
jmp 0x4024b4
mov edx, ebx
mov dword [esi + 0x10], edx
xor eax, eax
jmp 0x402505
xor ecx, ecx
mov cl, dl
cmp ecx, 0x22
jne 0x4024dd
jmp 0x4024d6
xor edx, edx
mov dl, byte [ebx + eax]
cmp edx, 0x22
jne 0x4024d6
mov byte [ebx + eax], 0x20
jmp 0x4024dd
inc eax
cmp byte [ebx + eax], 0
jne 0x4024c6
xor edx, edx
mov dl, byte [ebx + eax]
cmp edx, 0x20
je 0x4024f2
xor ecx, ecx
mov cl, byte [ebx + eax + 1]
cmp ecx, 0x2f
jne 0x402504
cmp edx, 0x20
jne 0x4024fb
mov byte [ebx + eax], 0
lea eax, [eax + ebx + 1]
mov dword [esi + 0x14], eax
jmp 0x40250c
inc eax
mov dl, byte [ebx + eax]
test dl, dl
jne 0x4024bb
mov dword [esi + 0x1c], 1
mov eax, dword [esi + 0x10]
call fcn.00405d24
mov edi, eax
test edi, edi
je 0x402538
mov edx, str..inf
mov eax, edi
call fcn.0040e77c
test eax, eax
jne 0x402538
mov dword [esi + 0xc], 0x4131eb
xor edx, edx
mov eax, dword [esi + 0x10]
call fcn.00406660
mov byte [esp + 1], al
cmp byte [esp + 1], 0
je 0x402560
lea edx, [esp + 0x40]
mov eax, dword [esi + 0x10]
call fcn.0040672c
lea ecx, [esp + 0x40]
mov dword [esi + 0x10], ecx
cmp byte [esp], 0
je 0x4025a3
cmp byte [esp + 1], 0
jne 0x4025a3
lea eax, [esp + 0x440]
mov edx, dword [esi + 0x10]
call fcn.0040e6f4
mov edx, str..exe
lea eax, [esp + 0x440]
call fcn.0040e7c8
lea eax, [esp + 0x440]
xor edx, edx
call fcn.00406660
test al, al
je 0x402679
push esi
call sub.SHELL32.DLL_ShellExecuteExA
test eax, eax
setne al
and eax, 1
test al, al
jne 0x4025cd
and dword [esi + 4], 0xfffffbff
mov dword [esi + 0x10], ebx
push esi
call sub.SHELL32.DLL_ShellExecuteExA
test eax, eax
setne al
and eax, 1
test al, al
je 0x402679
cmp byte [0x41303d], 0
jne 0x4025e4
cmp byte [esp], 0
je 0x40262a
push dword [0x413874]
call sub.USER32.DLL_IsWindowVisible
mov ebx, eax
test ebx, ebx
je 0x402602
push 0
push dword [0x413874]
call sub.USER32.DLL_ShowWindow
push 0x7d0
push dword [esi + 0x38]
call sub.USER32.DLL_WaitForInputIdle
push 0xffffffffffffffff
push dword [esi + 0x38]
call sub.KERNEL32.DLL_WaitForSingleObject
test ebx, ebx
je 0x40262a
push 1
push dword [0x413874]
call sub.USER32.DLL_ShowWindow
push dword [esi + 0x38]
call sub.KERNEL32.DLL_CloseHandle
test edi, edi
je 0x402646
mov edx, str..exe
mov eax, edi
call fcn.0040e77c
test eax, eax
je 0x402679
cmp byte [0x41303d], 0
je 0x402661
cmp byte [esp], 0
jne 0x402661
push 0x1b58
call sub.KERNEL32.DLL_Sleep
jmp 0x402679
cmp byte [esp], 0
je 0x40266e
mov ecx, 0xc8
jmp 0x402673
mov ecx, 0x3e8
push ecx
call sub.KERNEL32.DLL_Sleep
add esp, 0x840
pop edi
pop esi
pop ebx
ret
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x40100b
Capabilities:
Query or enumerate registry value

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x40109c
lea eax, [ebp - 0x104]
push eax
call fcn.004011ec
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x401165
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401038
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011a5
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401052
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011a5
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x40114a
mov word [ebx], 0x5c
push 0x401023
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011a5
mov dword [ebp - 0x108], eax
push 0x40102d
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x40119a
push 0x3e8
call eax
test eax, eax
je 0x40119a
call 0x40118a
add dword [esp], 0x1e76
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401096
push 0x401057
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
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
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp int.00401219
Function at 0x431005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
mov ebx, 0x40915c
nop
mov ecx, 0x47c70c57
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43104e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x431024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0x6d8f582d
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x431084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219

Function at 0x4010b8
Capabilities:
Encode data using xor

Disassembly:
push 0x40243c
call sub.MSVBVM60.DLL_ThunRTMain
add byte [eax], al
add byte [eax], al
add byte [eax], al
xor byte [eax], al
add byte [eax], al
inc eax
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [edx + esi*4 - 0x732dd59b], al
mov bl, 0x4a
mov ah, 0xe9
je 0x40112d
out 0xf9, eax
mov byte [ecx], dh
add byte [eax], al
add dword [eax], eax
add byte [eax], al
and byte [eax], ah
xor esi, dword [eax]
xor dword [0xd8bdb9c0], esi
mov ah, 0xb0
mov edi, 0xcae1ccda
mov esi, 0x67654200
add byte [eax], al
add byte [eax], al
dec esp
xor dword [eax], eax
sbb eax, 0xe68a7b3e
adc al, 0x8f
movsb byte es:[edi], byte [esi]
dec edi
mov ecx, esp
or esp, dword [ebx - 0x77]
adc eax, 0xbeb2ba26
mov byte [0xe9436540], al
inc ebx
mov cs, esp
fucomp st(5)
in al, 0xbb
leave
movsb byte es:[edi], byte [esi]
cmp cl, byte [edi - 0x53]
xor ebx, dword [ecx - 0x48ee309a]
or al, 0
stosb byte es:[edi], al
add byte [eax - 0x2d], ah
xchg ebx, eax
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
fcom dword [ecx]
add byte [eax], al
pop ds
or eax, 0x7000000
add byte [esi + 0x6f], al
jb 0x401130
mov ecx, 0xd00d8bd
add dword [eax + eax], edx
into
ret 0xc7b3
Function at 0x4012a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
nop
nop
mov dword [ebp - 4], 0
xor ebx, ebx
nop
xor ecx, eax
nop
mov ebx, dword fs:[0x30]
nop
nop
mov ebx, dword [ebx + 0xc]
nop
mov ebx, dword [ebx + 0x14]
mov ebx, dword [ebx]
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x10]
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x401340
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
nop
nop
nop
nop
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x3c]
nop
mov eax, dword [eax + edx + 0x78]
add eax, edx
nop
mov ebx, dword [eax + 0x18]
mov ecx, dword [eax + 0x1c]
mov esi, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
add ecx, edx
add eax, edx
mov dword [ebp - 0x14], ecx
add esi, edx
mov dword [ebp - 0x18], eax
nop
test ebx, ebx
jbe 0x401405
lea eax, [esi + ebx*4]
jmp 0x401384
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov esi, dword [eax - 4]
sub eax, 4
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], eax
lea edi, [esi + edx]
or ecx, 0xffffffff
xor eax, eax
dec ebx
mov dword [ebp - 8], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [ebp - 0x10], ebx
je 0x4013f3
mov eax, dword [ebp - 8]
xor ecx, ecx
add esi, eax
mov cl, byte [esi + edx]
mov edx, dword [ebp - 4]
sub edx, ecx
mov dword [ebp - 4], edx
pushal
mov eax, dword [ebp - 4]
ror eax, 3
ror eax, 4
mov dword [ebp - 4], eax
popal
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov esi, dword [eax]
xor eax, eax
inc edx
lea edi, [esi + ecx]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [ebp - 8], edx
cmp edx, ecx
mov edx, dword [ebp + 8]
jb 0x4013ad
mov ebx, dword [ebp - 0x10]
nop
mov eax, dword [ebp - 4]
test eax, eax
je 0x4013ff
test ebx, ebx
ja 0x401381
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
nop
test ebx, ebx
ja 0x401413
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
nop
xor esi, esi
mov si, word [eax + ebx*2]
mov eax, dword [ecx + esi*4]
add eax, edx
nop
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41a03c
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x41a074
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0041d492
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0041d46a
jmp 0x41a080
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x41be3e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x41be80
call fcn.0042d9ce
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x41be80
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x41be77
xor eax, eax
jmp 0x41be88
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0041be8e
pop edi
pop esi
pop ebx
ret 4

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..rdata
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x42e072
nop
nop
nop
mov ebx, 0x407ef8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x309b2f6f
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x42e060
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x42e0d2
nop
mov ebx, 0x42cd70
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x5c6319e0
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x16071dc
Capabilities:
Encode data using xor

Disassembly:
lea edx, [ecx - 0x58]
mov dx, 0xc037
lea edx, [eax*4]
jmp 0x1607216
mov edi, dword [esp + 1]
mov edx, dword [esp + 4]
bswap edi
lea edi, reloc.kernel32.dll_GetProcAddress
bswap edi
mov edi, 0xfa0046a0
jmp 0x1607200

Function at 0x161ef65
Capabilities:
Encode data using base64

Disassembly:
call fcn.0161efc5
cmpsb byte [esi], byte es:[edi]
test dword [ebp + ebp], reloc.kernel32.dll_GetProcAddress
xchg esi, eax
adc dword [edi + 0x72], esi
xchg ecx, eax
stosd dword es:[edi], eax
ret 0x4c7d
pushal
mov dword [esp + 0x10], edx
pushfd
jmp 0x161f05d
cmp esi, 0x34
jae 0x15eb241
jb 0x161f2a0
clc
invalid
pushfd
jmp 0x161f1b7
jmp 0x161efed
jmp 0x161ef88
lea esp, [esp + 4]
jae 0x15eb27e
lea edx, [ecx + 0x41]
jmp 0x15eb1f5
cmp ecx, 0x34
jae 0x15eb1de
not edx
lea edx, [ecx + 0x47]
jmp 0x15eb1f5
mov ecx, dword [ebp + 8]
sub esp, 0x1a
lea esp, [esp + 0xc]
push esi
lea esp, [esp + 2]
jmp 0x161f0b6
jae 0x15eb20b
not cl
mov cx, sp
mov cx, 0xd357
jmp 0x161f0c1
lea esp, [esp + 0x34]
mov byte [ecx], dl
cmp esi, 0x1a
jmp 0x161f0a0
lea ecx, [esi + 0x41]
jmp 0x15eb257
cmp esi, eax
call fcn.0161f115
not ch
lea ecx, [ebx + ebp]
lea ecx, [esi + 0x47]
jmp 0x15eb257

Function at 0x1699562
Capabilities:
Execute anti-debugging instructions

Disassembly:
setg dl
xchg word [esp], bp
add esp, 1
push word [esp + 3]
pushfd
xchg byte [esp + 1], ah
jmp 0x1699503
clc
mov ebp, edx
jmp 0x1699521

Function at 0x16995c3
Capabilities:
Execute anti-debugging instructions

Disassembly:
rdtsc
rcl edx, 4
xchg byte [esp + 1], dl
pushfd
mov dh, byte [esp + 3]
rol ebp, cl
jmp 0x16995d2
xchg byte [esp + 1], ah
add esp, 1
rdtsc
mov bp, 0x97dd
jmp 0x16995a5
bswap edx
xchg dword [esp], edx
pushfd
xchg word [esp + 4], dx
pop dword [esp]
cld
jmp 0x1699630
neg eax
add esp, 5
add esp, 1
rdtsc
mov eax, 0x78cd03d3
push ebp
jmp 0x1699604