joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a665c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4a66fe
cmp dword [ebx + 0x94], 0
jne 0x4a66f8
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4a65a8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4a66f8
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x4a66be
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4a66f8
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0043303c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4a66cd
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4a691c
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4c7284]
cmp dword [eax + 0x170], 0
je 0x4a6a81
test bl, bl
jne 0x4a69cf
cmp dword [esi + 0x9c], 0
jne 0x4a69c4
mov eax, esi
call fcn.004a980c
push eax
push 0x4a6828
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4a6995
mov eax, dword [0x4c7284]
cmp byte [eax + 0xd3], 0
je 0x4a6995
mov eax, dword [esi + 0xd8]
call fcn.00408068
mov edi, eax
cmp edi, 0
jl 0x4a6995
push 0
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4a697e
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4a69c4
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0043303c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4a69a4
inc dword [esi + 0x9c]
jmp 0x4a6a81
cmp dword [esi + 0x9c], 0
jle 0x4a6a81
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4a6a81
cmp dword [esi + 0x44], 0
je 0x4a6a2c
mov eax, dword [0x4c7284]
cmp byte [eax + 0xd3], 0
je 0x4a6a2c
mov eax, dword [esi + 0xd8]
call fcn.00408068
mov edi, eax
cmp edi, 0
jl 0x4a6a2c
push 5
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4a6a15
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4a6a5b
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0043303c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4a6a3b
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd8]
mov ecx, 1
mov edx, dword [0x499ba4]
call fcn.00408228
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4a76d0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4a773b
cmp byte [ebx + 0xd3], 0
jne 0x4a773b
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00406a3c
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4a7728
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4a7748
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406900
jmp 0x4a7748
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406900
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4a8f70
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4a8fde
mov eax, esi
call fcn.004817cc
test al, al
je 0x4a8fde
mov eax, dword [ebx + 0x84]
call fcn.0048144c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4a8fde
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4a8fd2
push 0
mov eax, dword [ebx + 0x84]
call fcn.0048144c
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00478474
jmp 0x4a8fde
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004a8da8
pop esi
pop ebx
ret
Function at 0x4aa6ec
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x10], ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x40c2ec]
call fcn.00407578
xor eax, eax
push ebp
push 0x4aa836
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4c0e98], 0
jne 0x4aa740
mov ecx, dword [0x4c102c]
mov dl, 1
mov eax, dword [0x40d44c]
call fcn.00416eb0
call fcn.0040593c
lea eax, [ebp - 0x24]
xor ecx, ecx
mov edx, 0x10
call fcn.00404828
mov eax, ebx
call fcn.00406784
mov dword [ebp - 0x20], eax
push esi
mov esi, 0x4aa844
lea edi, [ebp - 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x34]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.00409694
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
test eax, eax
je 0x4aa787
sub eax, 4
mov eax, dword [eax]
shr eax, 1
test eax, eax
jle 0x4aa7dc
mov dword [ebp - 0x14], 0x20
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x54]
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x4aa7d5
lea eax, [ebp - 0x58]
mov edx, ebx
call fcn.00406b50
mov eax, dword [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
lea edx, [ebp - 0x54]
mov ecx, 0x10
call fcn.00406ae8
mov eax, dword [ebp - 0x5c]
pop edx
call fcn.00412050
test eax, eax
jne 0x4aa7d5
mov ebx, 0x15
jmp 0x4aa7e1
mov ebx, 0x10
jmp 0x4aa7e1
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x24]
push eax
push ebx
push 0
push esi
call dword [0x4c0e98]
call fcn.004aa558
mov eax, dword [ebp - 4]
call fcn.004aa558
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.004096ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aa83d
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.004068f8
lea eax, [ebp - 0xc]
mov edx, dword [0x40c2ec]
call fcn.00407650
ret
Function at 0x4aea7c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor ebx, ebx
mov dword [ebp - 4], ebx
test dl, dl
je 0x4aea94
add esp, 0xfffffff0
call fcn.00405398
mov byte [ebp - 9], dl
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x4aebae
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 8]
mov dword [eax + 8], ebx
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
call fcn.00404218
mov edx, dword [ebp - 8]
mov dword [edx + 0xc], eax
dec ebx
test ebx, ebx
jl 0x4aeb98
inc ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
call fcn.004aa558
xor eax, eax
push ebp
push 0x4aeb85
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
call fcn.004aa558
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x10]
lea ebx, [eax + edx*8]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov dword [ebx], eax
lea eax, [ebx + 4]
mov edx, dword [ebp - 4]
call fcn.00406b50
jmp 0x4aeb56
lea eax, [ebx + 4]
mov ecx, 1
mov edx, 1
call fcn.004070f8
mov eax, dword [ebx + 4]
call fcn.00406c58
dec eax
jle 0x4aeb6a
mov eax, dword [ebx + 4]
cmp word [eax], 0x5f
je 0x4aeb44
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aeb8c
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x54]
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aebb5
lea eax, [ebp - 4]
call fcn.004065b8
ret

Function at 0x4b7968
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4b79ee
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push edi
push esi
call sub.kernel32.dll_GetLocaleInfoW_1
Function at 0x4064a0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x409a50]
jne 0x407826
repz ret
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x40a2b8], eax
mov dword [0x40a2b4], ecx
mov dword [0x40a2b0], edx
mov dword [0x40a2ac], ebx
mov dword [0x40a2a8], esi
mov dword [0x40a2a4], edi
mov word [0x40a2d0], ss
mov word [0x40a2c4], cs
mov word [0x40a2a0], ds
mov word [0x40a29c], es
mov word [0x40a298], fs
mov word [0x40a294], gs
pushfd
pop dword [0x40a2c8]
mov eax, dword [ebp]
mov dword [0x40a2bc], eax
mov eax, dword [ebp + 4]
mov dword [0x40a2c0], eax
lea eax, [ebp + 8]
mov dword [0x40a2cc], eax
mov eax, dword [ebp - 0x320]
mov dword [0x40a208], 0x10001
mov eax, dword [0x40a2c0]
mov dword [0x40a1bc], eax
mov dword [0x40a1b0], 0xc0000409
mov dword [0x40a1b4], 1
mov eax, dword [0x409a50]
mov dword [ebp - 0x328], eax
mov eax, dword [0x409a54]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x40a200], eax
push 1
call fcn.004068ed
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x4021d8
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x40a200], 0
jne 0x407916
push 1
call fcn.004068ed
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret

Function at 0x406d82
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x406d91
pop dword [ebp - 0xc]
mov eax, 0x8e58ba34
sub eax, 0x8e184ca3
sub dword [ebp - 0xc], eax
push 0x40
push 0x1000
push 0x33a27
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0xc]
call dword [eax]
mov ecx, 0x3b3f
mov edx, eax
mov ebx, 0x2b75ad22
sub ebx, 0x2b34e522
add ebx, dword [ebp - 0xc]
mov edi, 0x56868ef2
sub edi, 0x160dda4a
add dword [ebp - 4], eax
mov esi, dword [ebx]
sub dword [ebp - 8], 0x9ddec087
xor esi, edi
add dword [ebp - 8], 0x9a8b697c
mov dword [edx], esi
sub dword [ebp - 4], ebx
add edx, 0xa8b7671f
sub edx, 0xa8b7671b
add ebx, 0x28323a75
add ebx, 0xd7cdc58f
loop 0x406de5
add eax, 0x5eca58b2
sub eax, 0x5ec978e3
xor ebx, ebx
add ebx, eax
add eax, 0x4ef7856a
sub eax, 0x4ef78565
mov ecx, 0x400000
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x100092c3
Capabilities:
Get common file path

Disassembly:
push ebp
push edi
push pe_nt_image_headers32
call sub.glib_lite.dll_Ordinal_406
mov edi, eax
pop ecx
test edi, edi
je 0x1000934d
push edi
xor ebp, ebp
push ebp
push 0x1001d834
push 0x10023880
call dword [sym.imp.kernel32.dll_GetTempFileNameA]
test eax, eax
je 0x10009352
push ebx
push ebp
mov ebx, 0x4000100
push ebx
push 2
push ebp
push 5
push 0xc0000000
push edi
call dword [sym.imp.kernel32.dll_CreateFileA]
push ebp
push ebx
push 3
push ebp
push 7
push Ordinal_1
push edi
mov dword [edi + 0x108], eax
call dword [sym.imp.kernel32.dll_CreateFileA]
cmp dword [edi + 0x108], 0xffffffff
mov dword [edi + 0x104], eax
pop ebx
je 0x10009352
cmp eax, 0xffffffff
je 0x10009352
mov dword [edi + 0x118], ebp
mov dword [edi + 0x11c], ebp
mov dword [edi + 0x110], ebp
mov dword [edi + 0x114], ebp
mov eax, edi
pop edi
pop ebp
ret
push edi
call sub.glib_lite.dll_Ordinal_109
pop ecx
xor eax, eax
jmp 0x1000934f

Function at 0x10010530
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push ebx
push ebp
mov ebp, dword [esp + 0x10]
mov ecx, dword [eax*4 + 0x1001e2c8]
push esi
push edi
push 0xffffffffffffff80
mov dword [esp + 0x18], ecx
lea edi, [ecx + ecx]
pop esi
mov ebx, esi
xor edx, edx
sar ebx, 0x1f
mov eax, ebx
xor eax, esi
sub eax, ebx
cmp eax, edi
cmovl edx, eax
mov al, bl
sub edx, ecx
mov ecx, edx
sar ecx, 0x1f
xor dl, cl
sub al, dl
add al, cl
mov ecx, dword [esp + 0x14]
add al, cl
xor al, bl
mov byte [esi + ebp], al
inc esi
cmp esi, 0x80
jle 0x1001054d
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x10013a24
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x10013a33
pop dword [ebp - 0x10]
mov eax, 0xc7caaa88
sub eax, 0xb7c97055
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x1abfd869
sub dword [ebp - 0x20], 0xcc6d931e
mov dword [ebp - 0x1c], 0xe4c17c96
sub dword [ebp - 0x1c], 0xb28e3051
mov dword [ebp - 0x18], 0x140b1231
add dword [ebp - 0x18], 0x384131fd
mov dword [ebp - 0x14], 0xdd8507ed
sub dword [ebp - 0x14], 0xdd8507ed
lea eax, [ebp - 0x20]
push eax
mov eax, 0xffcad720
add eax, 0x1036e960
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0xebac4eb6
sub dword [ebp - 0x20], 0x7739e560
mov dword [ebp - 0x1c], 0x72763308
sub dword [ebp - 0x1c], 0x3109d193
mov dword [ebp - 0x18], 0x61ce7764
add dword [ebp - 0x18], 0x1a0f508
mov dword [ebp - 0x14], 0xbc650e16
sub dword [ebp - 0x14], 0xbc650e16
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, 0x27d3024f
add eax, 0xe82ebdb1
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x37075
push 0
call eax
mov ecx, 0x4678
mov edx, eax
mov edi, 0x1b3826e6
sub edi, 0xb35bee6
add edi, dword [ebp - 0x10]
mov esi, 0x908c4bee
add esi, 0x5dbc407e
xor dword [ebp - 4], edi
mov ebx, dword [edi]
add ebx, esi
sub dword [ebp - 4], 0x40bc698d
mov dword [edx], ebx
add edx, 0xbdb6c326
sub edx, 0xbdb6c322
add edi, 4
loop 0x10013b4f
add eax, 0xccc72f04
sub eax, 0xccc62251
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x1003cd42
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10002ed4]
jne 0x1003dcc2
ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x100ab6d0], eax
mov dword [0x100ab6cc], ecx
mov dword [0x100ab6c8], edx
mov dword [0x100ab6c4], ebx
mov dword [0x100ab6c0], esi
mov dword [0x100ab6bc], edi
mov word [0x100ab6e8], ss
mov word [0x100ab6dc], cs
mov word [0x100ab6b8], ds
mov word [0x100ab6b4], es
mov word [0x100ab6b0], fs
mov word [0x100ab6ac], gs
pushfd
pop dword [0x100ab6e0]
mov eax, dword [ebp]
mov dword [0x100ab6d4], eax
mov eax, dword [ebp + 4]
mov dword [0x100ab6d8], eax
lea eax, [ebp + 8]
mov dword [0x100ab6e4], eax
mov eax, dword [ebp - 0x320]
mov dword [0x100ab620], 0x10001
mov eax, dword [0x100ab6d8]
mov dword [0x100ab5d4], eax
mov dword [0x100ab5c8], 0xc0000409
mov dword [0x100ab5cc], 1
mov eax, dword [0x10002ed4]
mov dword [ebp - 0x328], eax
mov eax, dword [0x100a66f4]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x100ab618], eax
push 1
call sub.msvcr100.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x100030f4
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x100ab618], 0
jne 0x1003ddae
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 0x1004fd9f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x1004fdae
pop dword [ebp - 0x2c]
mov eax, 0x1004fdae
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0xa052b34e
sub dword [ebp - 0x3c], 0x52006e03
mov dword [ebp - 0x38], 0xc0416937
add dword [ebp - 0x38], 0x71f1e30e
mov dword [ebp - 0x34], 0xdad327e7
add dword [ebp - 0x34], 0x71791c47
mov dword [ebp - 0x30], 0xdd19ff0
add dword [ebp - 0x30], 0xf22e6010
lea eax, [ebp - 0x3c]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0x3ba68e9e
add dword [ebp - 0x3c], 0x38cbdab8
mov dword [ebp - 0x38], 0xf07b6e09
add dword [ebp - 0x38], 0x50f0f36c
mov dword [ebp - 0x34], 0x680c88e7
add dword [ebp - 0x34], 0xfb62e385
mov dword [ebp - 0x30], 0x64276fe5
sub dword [ebp - 0x30], 0x64276fe5
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x4fd19
push 0
call eax
mov ecx, 0x4ec0d22c
add ecx, 0xb13f70cc
mov edx, eax
mov ebx, 0x96b71a82
add ebx, 0x79542b7e
add ebx, dword [ebp - 0x2c]
mov esi, 0xda4e748f
mov edi, dword [ebx]
add dword [ebp - 0x10], edx
xor edi, esi
xor dword [ebp - 0x20], eax
mov dword [edx], edi
mov dword [ebp - 4], 0xe52d713e
add edx, 4
add ebx, 0x893152b1
sub ebx, 0x893152ad
loop 0x1004febb
add eax, 0x52b0470c
sub eax, 0x52af4859
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x4d58fc43
add ecx, 0xc2a703bd
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x10066708
Capabilities:
Delete directory

Disassembly:
push 0x10
mov eax, 0x1009ec1c
call fcn.1003d9e2
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0x1001c77c
mov dword [edi + 4], 0x1001d894
mov dword [edi + 0xc], 0x1001c78c
mov dword [edi + 0x10], 0x1001c7c8
xor ebx, ebx
mov dword [ebp - 4], 2
cmp dword [edi + 0x38], ebx
je 0x1006679c
lea eax, [edi + 0x1e8]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.10069288
mov esi, dword [ebp - 0x14]
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
cmp esi, eax
je 0x10066770
push 0x326a6f78
call fcn.1004fd9f
cmp dword [edi + 0x208], ebx
je 0x10066782
push 0x326a6f79
call fcn.1004fd9f
cmp dword [edi + 0x204], ebx
je 0x10066794
push 0x326a6f7a
call fcn.1004fd9f
lea ecx, [ebp - 0x1c]
call fcn.1007e529
mov ecx, dword [edi + 0x14]
test ecx, ecx
je 0x100667ac
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [edi + 0x14], ebx
mov ecx, dword [edi + 0x18]
test ecx, ecx
je 0x100667bc
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [edi + 0x18], ebx
mov eax, dword [edi + 0x214]
cmp eax, 0xffffffff
je 0x100667d5
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
or dword [edi + 0x214], 0xffffffff
cmp dword [edi + 0x218], ebx
je 0x10066803
lea esi, [edi + 0x21c]
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
jne 0x100667f8
push 0x326a7030
call fcn.1004fd9f
xor eax, eax
mov word [esi], ax
mov dword [edi + 0x218], ebx
lea eax, [edi + 0x1e8]
push eax
call dword [sym.imp.kernel32.dll_DeleteCriticalSection]
lea ecx, [edi + 0x40]
call fcn.10064f06
or dword [ebp - 4], 0xffffffff
mov ecx, edi
call fcn.1004f259
call fcn.1003daba
ret

Function at 0x10098e80
Capabilities:
Terminate process

Disassembly:
push 0xc
mov eax, 0x1009f32b
call fcn.1003d9e2
mov edi, ecx
mov dword [ebp - 0x18], edi
xor edx, edx
mov dword [edi], edx
mov dword [ebp - 4], 1
cmp dword [ebp + 8], edx
je 0x10098f1d
mov esi, dword [ebp + 8]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
cmp ax, dx
jne 0x10098ea7
sub esi, ecx
sar esi, 1
inc esi
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.msvcr100.dll_void____cdecl_operator_new___unsigned_int_
pop ecx
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x10098eea
push 0x100a3d54
lea eax, [ebp + 8]
push eax
mov dword [ebp + 8], 0x8007000e
call sub.msvcr100.dll__CxxThrowException
lea ecx, [esi + esi]
mov dword [ebp - 0x14], ecx
cmp ecx, esi
ja 0x10098f0b
push 2
pop eax
push eax
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
push ecx
push dword [ebp + 8]
push eax
call sub.msvcr100.dll_memcpy
mov eax, dword [ebp - 0x10]
add esp, 0xc
mov dword [edi], eax
or dword [ebp - 4], 0xffffffff
mov eax, edi
call fcn.1003daba
ret 4
Function at 0x10099080
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x224
mov eax, 0x1009f374
call fcn.1003da4b
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp + 0x14]
xor ecx, ecx
mov dword [ebp - 0x230], eax
mov esi, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x220], 0x208
test eax, eax
je 0x100990e3
push eax
mov dword [ebp - 0x21c], ecx
call dword [sym.imp.advapi32.dll_RegCloseKey]
xor ecx, ecx
lea eax, [ebp - 0x21c]
push eax
push 1
push ecx
push dword [ebp - 0x22c]
push edi
call dword [sym.imp.advapi32.dll_RegOpenKeyExW]
mov edi, 0xffff
test eax, eax
je 0x10099117
mov esi, eax
jle 0x1009910f
and esi, edi
or esi, 0x80070000
test esi, esi
js 0x100991cd
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x224]
push eax
push 0
push dword [ebp - 0x228]
push dword [ebp - 0x21c]
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
test eax, eax
je 0x10099150
mov esi, eax
jle 0x10099150
and esi, edi
or esi, 0x80070000
test esi, esi
js 0x100991cd
cmp dword [ebp - 0x224], 1
je 0x1009916d
cmp dword [ebp - 0x224], 7
je 0x1009916d
mov esi, 0x8000ffff
jmp 0x100991cd
mov eax, dword [ebp - 0x220]
xor ecx, ecx
push 2
shr eax, 1
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.msvcr100.dll_void____cdecl_operator_new___unsigned_int_
mov edi, eax
pop ecx
test edi, edi
jne 0x100991ab
push 0x100a3d54
lea eax, [ebp - 0x228]
push eax
mov dword [ebp - 0x228], 0x8007000e
call sub.msvcr100.dll__CxxThrowException
mov ecx, dword [ebp - 0x230]
push edi
call fcn.1004fd9f
push dword [ebp - 0x220]
lea eax, [ebp - 0x218]
push eax
push edi
call sub.msvcr100.dll_memcpy
add esp, 0xc
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x21c]
test ecx, ecx
je 0x100991e9
and dword [ebp - 0x21c], 0
push ecx
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, esi
call fcn.1003dace
ret 0x10
Function at 0x409498
Capabilities:
Enumerate gui resources

Disassembly:
cmp dword [esp + 4], 0
push ebx
push esi
push edi
je 0x4094ed
push dword [esp + 0x10]
push 0x409417
call dword [sym.imp.USER32.dll_EnumWindows]
mov esi, dword [0x41f5c4]
test esi, esi
je 0x409546
xor edi, edi
mov ebx, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 8], eax
jne 0x4094e5
cmp byte [esi + 0x10], 0
je 0x4094e5
push 3
push edi
push edi
push edi
push edi
push 0xfffffffffffffffe
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov esi, ebx
test ebx, ebx
jne 0x4094c1
jmp 0x409546
mov esi, dword [0x41f5c4]
test esi, esi
je 0x409546
xor edi, edi
push ebp
mov ebx, dword [esi]
lea ebp, [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp], eax
jne 0x40953f
cmp byte [esi + 0x11], 0
je 0x40951b
push 1
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp byte [esi + 0x10], 0
je 0x409532
push 3
push edi
push edi
push edi
push edi
push 0xffffffffffffffff
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
push ebp
push 0x41f5c4
call fcn.00417c07
pop ecx
pop ecx
mov esi, ebx
test ebx, ebx
jne 0x4094fa
pop ebp
pop edi
pop esi
pop ebx
ret 4

Function at 0x40a100
Capabilities:
Get graphical window text

Disassembly:
push ebx
push dword [esp + 8]
push dword [0x41fda0]
call fcn.0041753e
mov ebx, eax
test ebx, ebx
je 0x40a164
mov ecx, dword [ebx + 4]
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x40a129
push dword [esp + 0xc]
push ebx
call eax
jmp 0x40a164
push esi
push edi
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
push dword [esp + 0x14]
mov edi, eax
push edi
call fcn.004186b0
mov esi, eax
lea ecx, [edi + 1]
push ecx
xor eax, eax
push esi
mov word [esi], ax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push esi
call sub.MSVCRT.dll_wcslen
pop ecx
sub edi, eax
push edi
call fcn.00418780
pop edi
pop esi
pop ebx
ret 8