joyce8/EMBER2024-capa huggingface dataset:
Function at 0x665ab0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x665c05
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
lea edx, [ebp - 0x1c]
mov eax, dword [0x694a1c]
mov eax, dword [eax + 0x60]
call fcn.00661ec4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x665af5
sub eax, 4
mov eax, dword [eax]
xor edx, edx
push ebp
push 0x665bd3
push dword fs:[edx]
mov dword fs:[edx], esp
cmp eax, 0x2800
jle 0x665bc9
lea edx, [ebp - 0x20]
mov eax, 0x665c24
call fcn.0066017c
mov ebx, dword [ebp - 0x20]
call fcn.00427778
fstp qword [ebp - 0x18]
wait
push dword [ebp - 0x14]
push dword [ebp - 0x18]
lea ecx, [ebp - 8]
mov edx, dword [0x694e1c]
mov dword [ebp - 0x24], ebx
mov eax, dword [ebp - 0x24]
call fcn.00428764
mov eax, dword [0x694a1c]
push dword [eax + 0x40]
push 0x665c8c
mov eax, dword [0x694a1c]
push dword [eax + 0x70]
push 0x665c9c
push dword [ebp - 8]
push 0x665cac
mov eax, dword [0x694a1c]
push dword [eax + 0x5c]
lea eax, [ebp - 4]
mov edx, 7
call fcn.0040a97c
mov eax, dword [ebp - 4]
call fcn.00661f70
mov ebx, dword [0x694a1c]
mov ebx, dword [ebx + 0x60]
mov eax, dword [ebp - 4]
call fcn.0040a688
push eax
mov dword [ebp - 0x24], ebx
mov eax, dword [ebp - 0x24]
call fcn.0040a688
push eax
call sub.kernel32.dll_MoveFileW
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x665bc9
mov cl, 1
mov edx, 0x27
mov eax, dword [ebp - 4]
call fcn.004250b8
mov eax, dword [0x694a1c]
mov eax, dword [eax + 0x60]
call fcn.00661f70
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x665bdd
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x665c0c
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004098d8
lea eax, [ebp - 8]
mov edx, 2
call fcn.004098d8
ret

Function at 0x66fc14
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x66fc99
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, esi
call fcn.004b8358
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x30]
lea edx, [ebp - 8]
mov eax, esi
call fcn.004b8358
mov edx, dword [ebp - 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, esi
call fcn.004b73cc
mov edx, eax
mov eax, ebx
call fcn.0066fd4c
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.004b8358
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.006703ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x66fca0
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004098d8
ret

Function at 0x677c44
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xfffffdfc
mov ebx, eax
mov eax, ebx
call fcn.00409878
mov dword [esp], pe_nt_image_headers32
push esp
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x677c7a
mov eax, ebx
lea edx, [esp + 4]
mov ecx, pe_nt_image_headers32
call fcn.0040a744
add esp, 0x204
pop ebx
ret
Function at 0x677c84
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x677cf7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00409878
mov dword [ebp - 8], 0xff
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.0040a81c
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.0040a688
push eax
call sub.advapi32.dll_GetUserNameW
test eax, eax
je 0x677ce1
push ebx
mov ecx, dword [ebp - 8]
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0040aa64
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x677cfe
lea eax, [ebp - 4]
call fcn.00409878
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
popal
nop
nop
nop
nop
jmp int.00401219
Function at 0x4010e9
Capabilities:
Encrypt data using des

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
push 0x40
push dword [esp + 0x20]
mov esi, 0x4aaae8
push esi
mov edi, eax
call fcn.0040138c
add esp, 0xc
nop
nop
nop
nop
push 0x40
push esi
push esi
mov eax, 0x49b4f0
call fcn.004012f5
add esp, 0xc
nop
nop
nop
nop
cmp byte [esp + 0x20], 0
mov ebx, 0x4aab08
mov ebp, 0x4ab334
jne 0x401173
mov dword [esp + 0x20], edi
mov dword [esp + 0x10], 0x10
push 0x20
push ebx
push ebp
call fcn.00457990
push dword [esp + 0x2c]
mov edi, ebx
call fcn.00401259
push 0x20
pop edx
mov ecx, esi
mov eax, ebx
call fcn.0040133c
push 0x20
push ebp
push esi
call fcn.00457990
add dword [esp + 0x3c], 0x30
add esp, 0x1c
dec dword [esp + 0x10]
jne 0x40113a
jmp 0x4011c1
add edi, 0x2d0
mov dword [esp + 0x10], 0xf
mov dword [esp + 0x20], edi
push 0x20
push esi
push ebp
call fcn.00457990
push dword [esp + 0x2c]
mov edi, esi
call fcn.00401259
push 0x20
pop edx
mov ecx, ebx
mov eax, esi
call fcn.0040133c
push 0x20
push ebp
push ebx
call fcn.00457990
sub dword [esp + 0x3c], 0x30
add esp, 0x1c
dec dword [esp + 0x10]
cmp dword [esp + 0x10], 0
jge 0x401185
push 0x40
push esi
push esi
mov eax, 0x49b530
call fcn.004012f5
mov edi, dword [esp + 0x24]
push esi
call fcn.004013bf
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x4011e2
Capabilities:
Encrypt data using des

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
nop
nop
nop
nop
push 0x40
push dword [esp + 0x20]
mov esi, 0x4aaaa8
push esi
call fcn.0040138c
push 0x38
push esi
push esi
mov eax, str.91__
call fcn.004012f5
mov eax, dword [esp + 0x30]
add esp, 0x18
xor ebp, ebp
mov dword [esp + 0x10], eax
lea edi, [ebp + 0x49b628]
movsx ebx, byte [edi]
mov eax, esi
call fcn.00401354
movsx ebx, byte [edi]
mov eax, 0x4aaac4
call fcn.00401354
push 0x30
push esi
push dword [esp + 0x18]
mov eax, 0x49b5f8
call fcn.004012f5
add dword [esp + 0x1c], 0x30
add esp, 0xc
inc ebp
cmp ebp, 0x10
jl 0x401217
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x401259
Capabilities:
Encrypt data using des

Disassembly:
push esi
nop
nop
nop
nop
push 0x30
push edi
mov esi, 0x4ab304
push esi
mov eax, 0x49b570
call fcn.004012f5
mov ecx, dword [esp + 0x14]
push 0x30
pop edx
mov eax, esi
call fcn.0040133c
push edi
call fcn.00401298
push 0x20
push edi
push edi
mov eax, 0x49b5a0
call fcn.004012f5
add esp, 0x1c
pop esi
ret

Function at 0x40133c
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, edx
nop
nop
nop
nop
test esi, esi
jle 0x401352
sub ecx, eax
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
dec esi
jne 0x401349
pop esi
ret
Function at 0x402a37
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x49ba48
push str.kernel32.dll
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
cmp dword [esp + 4], 0
jne 0x402a58
xor eax, eax
ret
push edi
push dword [esp + 8]
push 0
call eax
mov edi, eax
test edi, edi
jbe 0x402a94
push 0x67
push str..XPButtonDemo.cpp
push edi
call fcn.00403570
add esp, 0xc
push dword [esp + 8]
mov dword [esi], eax
push 0
call dword [sym.imp.KERNEL32.DLL_LoadResource]
test eax, eax
je 0x402a94
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
test eax, eax
jne 0x402a98
xor eax, eax
pop edi
ret
push edi
push eax
push dword [esi]
call fcn.00457990
add esp, 0xc
mov eax, edi
pop edi
ret
Function at 0x402aa8
Capabilities:
Terminate process

Disassembly:
push 0x28
mov eax, 0x4849a0
call fcn.00481f60
and dword [ebp - 4], 0
push 0x4a2ae8
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x30], 0x14
call fcn.0045c7d0
call fcn.0041ef90
push eax
lea ecx, [ebp - 0x1c]
call fcn.00402fc3
xor ebx, ebx
push str.Icon
mov byte [ebp - 4], 2
push str.IDI_ICON2
push ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x20], ebx
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
cmp eax, ebx
jne 0x402b09
push ebx
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
push eax
lea esi, [ebp - 0x20]
call fcn.00402a37
pop ecx
mov esi, str..XPButtonDemo.cpp
cmp eax, ebx
jbe 0x402b8d
push 0x127
add eax, 0xffffffec
push esi
push eax
mov dword [ebp - 0x18], eax
call fcn.00403570
push 0x128
push esi
push 0x12
mov dword [ebp - 0x28], eax
call fcn.00403570
push 0x12
push ebx
push eax
mov dword [ebp - 0x24], eax
call fcn.00457910
mov edi, dword [ebp - 0x20]
push 4
lea eax, [ebp - 0x14]
push edi
push eax
call fcn.00457990
push 0x10
lea eax, [edi + 4]
push eax
push dword [ebp - 0x24]
call fcn.00457990
push dword [ebp - 0x18]
add edi, 0x14
push edi
push dword [ebp - 0x28]
call fcn.00457990
add esp, 0x48
push dword [ebp - 0x24]
lea eax, [ebp - 0x1c]
push 0x49ba6c
push eax
call fcn.00402c4e
add esp, 0xc
push 0x135
push esi
push dword [ebp - 0x18]
call fcn.00403570
push dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
push ebx
push eax
call fcn.00457910
add esp, 0x18
lea eax, [ebp - 0x20]
call fcn.00401052
mov byte [ebp - 4], 3
mov edi, dword [sym.imp.KERNEL32.DLL_Sleep]
push ebx
call edi
push ebx
call edi
nop
nop
nop
mov eax, dword [ebp - 0x1c]
push dword [eax - 0xc]
lea ecx, [ebp - 0x1c]
push ebx
call fcn.00402eda
mov ecx, dword [ebp - 0x18]
push eax
push dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
call fcn.004013f1
push ebx
call edi
push ebx
call edi
nop
nop
nop
mov eax, dword [ebp - 0x14]
push 0x146
neg eax
push esi
push eax
mov dword [ebp - 0x28], eax
call fcn.00403570
push dword [ebp - 0x28]
push ebx
push eax
call fcn.00457910
add esp, 0x18
push ebx
call edi
push ebx
call edi
nop
nop
nop
lea esi, [ebp - 0x2c]
call fcn.004015f3
push ebx
mov byte [ebp - 4], 4
call edi
push ebx
call edi
nop
nop
nop
push dword [ebp - 0x18]
mov ebx, dword [ebp + 0x10]
push dword [ebp - 0x24]
lea ecx, [ebp - 0x34]
call fcn.00401c93
xor esi, esi
push esi
call edi
push esi
call edi
nop
nop
nop
push esi
jmp 0x402b03
Function at 0x4120e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
cmp dword [ebp + 8], 0
je 0x412165
call fcn.00404ba0
mov dword [ebp - 0x10], eax
push 0xf0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x412165
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x41213e
xor eax, eax
jmp 0x412196
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x412165
push 0x1047
push 0x487688
call fcn.004238f0
test eax, eax
je 0x412165
int3
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.004121a0
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0
je 0x412193
cmp dword [ebp - 0xc], 0
je 0x412193
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00443140
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.DLL_FreeResource]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 4

Function at 0x4156e0
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x482568
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x4a66bc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x415738
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x50], 0
jne 0x415738
push 0x100
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcwinocc.cpp
call fcn.004238f0
test eax, eax
je 0x415738
int3
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x50], 0
jne 0x41575a
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x4157bd
lea ecx, [ebp - 0x10]
call fcn.00403065
mov dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x50]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x50]
mov edx, dword [edx]
mov eax, dword [edx + 0x94]
call eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.004033a6
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004157d0
add esp, 0x10
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0040305b
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x41bb20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
cmp dword [ebp + 0xc], 0
je 0x41bc48
call fcn.00404ba0
mov dword [ebp - 0x10], eax
push 0xf0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x41bbdb
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x41bbb2
push str.DLGINIT_resource_was_found__but_could_not_be_loaded._n
push 0
mov ecx, 0x4a9a54
call fcn.004033a6
push eax
push 0x16f
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcoccmgr.cpp
lea ecx, [ebp - 0x20]
call fcn.00402f5b
push eax
call fcn.00402f34
add esp, 0x10
xor eax, eax
jmp 0x41bcb6
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x41bbd9
push 0x175
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcoccmgr.cpp
call fcn.004238f0
test eax, eax
je 0x41bbd9
int3
jmp 0x41bc48
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
jne 0x41bbfe
push 0x17d
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcoccmgr.cpp
call fcn.004238f0
test eax, eax
je 0x41bbfe
int3
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0xffffffff
je 0x41bc48
mov ecx, dword [ebp - 0x18]
cmp dword [ecx], 0
je 0x41bc3d
push str.Dialog_has_OLE_controls__but_no_matching_DLGINIT_resource._n
push 0
mov ecx, 0x4a9a54
call fcn.004033a6
push eax
push 0x183
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcoccmgr.cpp
lea ecx, [ebp - 0x28]
call fcn.00402f5b
push eax
call fcn.00402f34
add esp, 0x10
jmp 0x41bc48
mov edx, dword [ebp - 0x18]
add edx, 4
mov dword [ebp - 0x18], edx
jmp 0x41bbfe
mov dword [ebp - 8], 1
cmp dword [ebp - 4], 0
je 0x41bc71
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x20]
call eax
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0
je 0x41bc90
cmp dword [ebp - 0xc], 0
je 0x41bc90
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00443140
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.DLL_FreeResource]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x4c], 0
je 0x41bcb3
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x4c]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x4c]
mov edx, dword [eax]
mov eax, dword [edx + 0xa8]
call eax
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4578b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a66bc]
jne 0x4578ba
repz ret
jmp fcn.00461e50
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
nop
mov ecx, 0x28131bdc
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x5c502715
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x432030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x401f7b
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8

Function at 0x401fcc
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
test esi, esi
jne 0x401fdd
push 0xd
pop eax
jmp 0x40200a
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x401fe0
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
ret 8

Function at 0x40250c
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x21c
mov eax, dword [0x496ee4]
xor eax, ebp
mov dword [ebp + 0x198], eax
mov eax, dword [ebp + 0x1a4]
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 4]
push edi
or ecx, 0x2001f
push ecx
push eax
push dword [esi]
xor edi, edi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x6c], edi
call fcn.00401f46
mov ebx, eax
cmp ebx, edi
je 0x40257c
lea ecx, [ebp - 0x70]
call fcn.00401edd
mov eax, ebx
mov ecx, dword [ebp + 0x198]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047bc8a
add ebp, 0x19c
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x402594
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x70]
call fcn.0040250c
cmp eax, edi
jne 0x4025c7
lea eax, [ebp - 0x80]
push eax
push edi
push edi
push edi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x68]
push eax
push edi
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 0x100
call ebx
test eax, eax
je 0x402584
lea ecx, [ebp - 0x70]
call fcn.00401edd
push dword [ebp - 0x78]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.00401edd
mov eax, esi
jmp 0x402562
Function at 0x40a36e
Capabilities:
Get graphical window text

Disassembly:
push 0x2c
mov eax, 0x47d413
call fcn.0047bd02
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0xc]
mov esi, ecx
cmp dword [esi], 0
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x34], eax
jne 0x40a3ad
call fcn.0040a915
call fcn.0040a942
mov dword [esi], eax
test eax, eax
je 0x40a469
mov eax, dword [esi]
mov ecx, dword [esi + 0xc]
mov dword [eax + 4], ecx
test edi, edi
je 0x40a3c6
mov eax, dword [esi]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
push edi
push 0xc
call dword [eax + 0x24]
cmp dword [ebp - 0x34], 0
je 0x40a3db
mov eax, dword [esi]
push dword [ebp - 0x34]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
push 0xb
call dword [eax + 0x24]
mov eax, dword [esi]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
push ebx
push 7
call dword [eax + 0x24]
push dword [ebp - 0x30]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
and dword [ebp - 4], 0
push str..ob_
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
mov eax, dword [esi]
mov ebx, dword [eax + 8]
mov edi, dword [ebx]
lea ecx, [ebp - 0x2c]
add edi, 0x24
call dword [sym.imp.MSVCP90.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
push 9
mov ecx, ebx
call dword [edi]
mov eax, dword [esi]
push dword [ebp - 0x30]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
push 0xd
call dword [eax + 0x24]
mov eax, dword [esi]
push dword [ebp - 0x38]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
push 0x13
call dword [eax + 0x24]
push 0
push 0x9ca4
push 0x111
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
setne bl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, bl
jmp 0x40a46b
xor al, al
call fcn.0047bd4c
ret 0x14

Function at 0x40a7a9
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
lea eax, [esi + 8]
push eax
push 0
push esi
push 0x40a79b
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
test eax, eax
jne 0x40a7cd
xor al, al
pop esi
ret
push edi
xor edi, edi
cmp dword [esi + 0xc], 0
jne 0x40a7e4
push 0x19
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0x64
jl 0x40a7d0
pop edi
mov al, 1
pop esi
ret