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

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4b41ba
cmp dword [ebx + 0x94], 0
jne 0x4b41b4
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4b4064
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4b41b4
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 0x4b417a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4b41b4
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.00433710
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4b4189
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4e92c0]
cmp dword [eax + 0x170], 0
je 0x4b453d
test bl, bl
jne 0x4b448b
cmp dword [esi + 0x9c], 0
jne 0x4b4480
mov eax, esi
call fcn.004b72c8
push eax
push 0x4b42e4
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4b4451
mov eax, dword [0x4e92c0]
cmp byte [eax + 0xd3], 0
je 0x4b4451
mov eax, dword [esi + 0xd8]
call fcn.00408024
mov edi, eax
cmp edi, 0
jl 0x4b4451
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 0x4b443a
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4b4480
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00433710
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4b4460
inc dword [esi + 0x9c]
jmp 0x4b453d
cmp dword [esi + 0x9c], 0
jle 0x4b453d
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4b453d
cmp dword [esi + 0x44], 0
je 0x4b44e8
mov eax, dword [0x4e92c0]
cmp byte [eax + 0xd3], 0
je 0x4b44e8
mov eax, dword [esi + 0xd8]
call fcn.00408024
mov edi, eax
cmp edi, 0
jl 0x4b44e8
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 0x4b44d1
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4b4517
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00433710
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4b44f7
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 [0x4a7660]
call fcn.004081e4
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4b518c
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 0x4b51f7
cmp byte [ebx + 0xd3], 0
jne 0x4b51f7
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.004069f8
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4b51e4
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4b5204
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004068bc
jmp 0x4b5204
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004068bc
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4b6a2c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4b6a9a
mov eax, esi
call fcn.0048f008
test al, al
je 0x4b6a9a
mov eax, dword [ebx + 0x84]
call fcn.0048ec5c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4b6a9a
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4b6a8e
push 0
mov eax, dword [ebx + 0x84]
call fcn.0048ec5c
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00485bf8
jmp 0x4b6a9a
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004b6864
pop esi
pop ebx
ret
Function at 0x4b81a8
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 [0x40c364]
call fcn.00407534
xor eax, eax
push ebp
push 0x4b82f2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4e2074], 0
jne 0x4b81fc
mov ecx, dword [0x4e2b5c]
mov dl, 1
mov eax, dword [0x40d690]
call fcn.00417184
call fcn.004058f8
lea eax, [ebp - 0x24]
xor ecx, ecx
mov edx, 0x10
call fcn.004047e4
mov eax, ebx
call fcn.00406740
mov dword [ebp - 0x20], eax
push esi
mov esi, 0x4b8300
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.00409650
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
test eax, eax
je 0x4b8243
sub eax, 4
mov eax, dword [eax]
shr eax, 1
test eax, eax
jle 0x4b8298
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 0x4b8291
lea eax, [ebp - 0x58]
mov edx, ebx
call fcn.00406b0c
mov eax, dword [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
lea edx, [ebp - 0x54]
mov ecx, 0x10
call fcn.00406aa4
mov eax, dword [ebp - 0x5c]
pop edx
call fcn.00412324
test eax, eax
jne 0x4b8291
mov ebx, 0x15
jmp 0x4b829d
mov ebx, 0x10
jmp 0x4b829d
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 [0x4e2074]
call fcn.004b8014
mov eax, dword [ebp - 4]
call fcn.004b8014
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.00409668
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b82f9
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.004068b4
lea eax, [ebp - 0xc]
mov edx, dword [0x40c364]
call fcn.0040760c
ret
Function at 0x4bc538
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 0x4bc550
add esp, 0xfffffff0
call fcn.00405354
mov byte [ebp - 9], dl
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x4bc66a
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 0x4bc654
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.004b8014
xor eax, eax
push ebp
push 0x4bc641
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.004b8014
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.00406b0c
jmp 0x4bc612
lea eax, [ebx + 4]
mov ecx, 1
mov edx, 1
call fcn.004070b4
mov eax, dword [ebx + 4]
call fcn.00406c14
dec eax
jle 0x4bc626
mov eax, dword [ebx + 4]
cmp word [eax], 0x5f
je 0x4bc600
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bc648
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 0x4bc671
lea eax, [ebp - 4]
call fcn.00406574
ret
Function at 0x4c7efc
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4c7f2a
mov eax, ebx
call fcn.004c89b0
cmp dword [ebx + 0x40], 0
je 0x4c7f23
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4c7f9b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4c7f8d
cmp dword [ebx + 8], 0
je 0x4c7f4c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4c7f5e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4c7f8d
cmp dword [ebx + 8], 0
je 0x4c7f3f
cmp eax, 3
je 0x4c7f71
dec eax
jne 0x4c7f3f
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4c7f3f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4c7f3f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4c7fb9
cmp dword [ebx + 0x14], 0xcc
je 0x4c7fb9
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004c7fc4
pop ebx
ret
Function at 0x4030bd
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [0x40b374]
push esi
mov esi, dword [0x40b370]
mov ecx, esi
push edi
call fcn.0040466a
test eax, eax
je 0x4030e5
xor eax, eax
jmp 0x40320b
push 0x214
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
test edi, edi
jne 0x403128
mov eax, dword [0x40b018]
cmp eax, 0x40b018
je 0x40311e
cmp byte [eax + 0x19], 2
jb 0x40311e
push edi
push dword [eax + 0x14]
mov edx, 0x401394
push dword [eax + 0x10]
push 0x1a
pop ecx
call fcn.00401d64
mov eax, 0x8007000e
jmp 0x40320b
mov eax, dword [ebp + 8]
lea ecx, [edi + 4]
push esi
mov edx, 0x105
mov dword [edi], ebx
mov dword [edi + 0x210], eax
call fcn.00402571
mov esi, eax
test esi, esi
je 0x40317a
mov eax, dword [0x40b018]
cmp eax, 0x40b018
je 0x403202
cmp byte [eax + 0x19], 2
jb 0x403202
push esi
push dword [eax + 0x14]
mov edx, 0x401394
push dword [eax + 0x10]
push 0x1b
pop ecx
call fcn.00401d64
jmp 0x403202
xor esi, esi
push esi
push esi
push edi
push 0x402713
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
test ebx, ebx
je 0x4031c2
mov ecx, dword [0x40b018]
cmp ecx, 0x40b018
je 0x4031b9
cmp byte [ecx + 0x19], 4
jb 0x4031b9
push dword [ecx + 0x14]
mov edx, 0x401394
push dword [ecx + 0x10]
push 0x1c
pop ecx
call fcn.00401d41
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x403209
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [0x40b018]
cmp eax, 0x40b018
je 0x4031f1
cmp byte [eax + 0x19], 2
jb 0x4031f1
push esi
push ebx
push dword [eax + 0x14]
mov edx, 0x401394
push dword [eax + 0x10]
push 0x1d
pop ecx
call fcn.00402664
test ebx, ebx
jg 0x4031f9
mov esi, ebx
jmp 0x403202
movzx esi, bx
or esi, 0x80070000
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40473f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push edx
push dword [0x40b3a4]
mov ebx, ecx
xor esi, esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4047c6
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x4047bf
add eax, 0x1a
mov dword [ebp - 4], 0xffff
push 2
pop edx
movzx ecx, word [eax]
test cx, cx
je 0x404791
cmp cx, word [ebp - 4]
jne 0x40478a
add eax, 4
jmp 0x404793
add eax, edx
cmp word [eax], si
jne 0x40478a
add eax, edx
movzx ecx, word [eax]
test cx, cx
je 0x4047ad
cmp cx, word [ebp - 4]
jne 0x4047a6
add eax, 4
jmp 0x4047af
add eax, edx
cmp word [eax], si
jne 0x4047a6
add eax, edx
push eax
mov edx, 0x104
mov ecx, ebx
call fcn.00402571
xor esi, esi
inc esi
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x404e27
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x474
mov eax, dword [0x40b004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, edx
xor ebx, ebx
push edi
push 0x33
mov edi, ecx
mov dword [ebp - 0x470], eax
mov ecx, dword [eax + 4]
lea esi, [eax + 0x78]
push esi
push 0x3ea
push edi
mov dword [ebp - 0x474], ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, dword [ebp - 0x470]
mov ecx, eax
mov eax, dword [ebp - 0x474]
mov dword [edx + 0x74], ecx
movzx eax, byte [eax + 0x3d]
cmp ecx, eax
jae 0x404f1f
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp - 0xec]
push 0x40
push eax
push 0x67
push dword [0x40b3a4]
call esi
push 0x80
lea eax, [ebp - 0x26c]
push eax
push 0x68
push dword [0x40b3a4]
call esi
mov ecx, dword [ebp - 0x474]
movzx eax, byte [ecx + 0x3d]
push eax
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x36c]
push 0x80
push eax
call fcn.00401cd5
add esp, 0x10
xor eax, eax
mov word [ebp - 0x26e], ax
lea eax, [ebp - 0x26c]
push 0x80
push eax
push 0x6c
push dword [0x40b3a4]
call esi
push ebx
push 0xfffe
push 0x20
lea eax, [ebp - 0x36c]
push eax
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0xec]
jmp 0x404ff6
push 0x33
lea eax, [ebp - 0x6c]
push eax
push 0x3ec
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp - 0x470]
cmp dword [ecx + 0x74], eax
jne 0x404fae
lea eax, [ebp - 0x6c]
mov dx, word [esi]
cmp dx, word [eax]
jne 0x404f6c
test dx, dx
je 0x404f68
mov dx, word [esi + 2]
cmp dx, word [eax + 2]
jne 0x404f6c
add esi, 4
add eax, 4
test dx, dx
jne 0x404f46
mov eax, ebx
jmp 0x404f71
sbb eax, eax
or eax, 1
test eax, eax
jne 0x404fae
push 0x33
lea eax, [ebp - 0x6c]
pop edx
mov byte [eax], bl
inc eax
dec edx
jne 0x404f7b
push 0x65
lea eax, [ecx + 0xe4]
push eax
push 0x3ee
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, dword [ebp - 0x470]
xor ebx, ebx
inc ebx
mov dword [edx + 0xe0], eax
jmp 0x405004
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp - 0x16c]
push 0x40
push eax
push 0x6c
push dword [0x40b3a4]
call esi
push 0x80
lea eax, [ebp - 0x46c]
push eax
push 0x9c
push dword [0x40b3a4]
call esi
push ebx
push 0xfffe
push 0x20
lea eax, [ebp - 0x46c]
push ebx
push eax
lea eax, [ebp - 0x16c]
push eax
push dword [0x40b3a4]
push edi
call dword [sym.imp.COMCTL32.dll_Ordinal_344]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004097cb
mov esp, ebp
pop ebp
ret
Function at 0x405261
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x474
mov eax, dword [0x40b004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, edx
xor ebx, ebx
push edi
push 0x33
mov edi, ecx
mov dword [ebp - 0x470], eax
mov ecx, dword [eax + 4]
lea esi, [eax + 0x1b4]
push esi
push 0x41a
push edi
mov dword [ebp - 0x474], ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, dword [ebp - 0x470]
mov ecx, eax
mov eax, dword [ebp - 0x474]
mov dword [edx + 0x1b0], ecx
movzx eax, byte [eax + 0x3d]
cmp ecx, eax
jae 0x40535f
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp - 0xec]
push 0x40
push eax
push 0x67
push dword [0x40b3a4]
call esi
push 0x80
lea eax, [ebp - 0x26c]
push eax
push 0x68
push dword [0x40b3a4]
call esi
mov ecx, dword [ebp - 0x474]
movzx eax, byte [ecx + 0x3d]
push eax
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x36c]
push 0x80
push eax
call fcn.00401cd5
add esp, 0x10
xor eax, eax
mov word [ebp - 0x26e], ax
lea eax, [ebp - 0x26c]
push 0x80
push eax
push 0x6c
push dword [0x40b3a4]
call esi
push ebx
push 0xfffe
push 0x20
lea eax, [ebp - 0x36c]
push eax
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0xec]
jmp 0x405439
push 0x33
lea eax, [ebp - 0x6c]
push eax
push 0x41b
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp - 0x470]
cmp dword [ecx + 0x1b0], eax
jne 0x4053f1
lea eax, [ebp - 0x6c]
mov dx, word [esi]
cmp dx, word [eax]
jne 0x4053af
test dx, dx
je 0x4053ab
mov dx, word [esi + 2]
cmp dx, word [eax + 2]
jne 0x4053af
add esi, 4
add eax, 4
test dx, dx
jne 0x405389
mov eax, ebx
jmp 0x4053b4
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4053f1
push 0x33
lea eax, [ebp - 0x6c]
pop edx
mov byte [eax], bl
inc eax
dec edx
jne 0x4053be
push 0x65
lea eax, [ecx + 0x220]
push eax
push 0x421
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, dword [ebp - 0x470]
xor ebx, ebx
inc ebx
mov dword [edx + 0x21c], eax
jmp 0x405447
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp - 0x16c]
push 0x40
push eax
push 0x6c
push dword [0x40b3a4]
call esi
push 0x80
lea eax, [ebp - 0x46c]
push eax
push 0x9c
push dword [0x40b3a4]
call esi
push ebx
push 0xfffe
push 0x20
lea eax, [ebp - 0x46c]
push ebx
push eax
lea eax, [ebp - 0x16c]
push eax
push dword [0x40b3a4]
push edi
call dword [sym.imp.COMCTL32.dll_Ordinal_344]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004097cb
mov esp, ebp
pop ebp
ret
Function at 0x405f15
Capabilities:
Encrypt data using dpapi
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0xc]
push eax
push 1
mov dword [ebp - 4], ecx
lea eax, [ebp - 0x14]
xor ecx, ecx
mov dword [ebp - 0x10], edx
push ecx
push ecx
push ecx
push ecx
push eax
mov esi, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ecx
call dword [sym.imp.CRYPT32.dll_CryptProtectData]
test eax, eax
jne 0x405f79
mov esi, 0x80090329
mov eax, dword [0x40b018]
cmp eax, 0x40b018
je 0x405f79
cmp byte [eax + 0x19], 2
jb 0x405f79
push esi
push dword [eax + 0x14]
mov edx, 0x4018e0
push dword [eax + 0x10]
push 0xa
pop ecx
call fcn.00401d64
cmp dword [ebp + 0xc], 0
mov ebx, 0x401690
jne 0x405f89
mov ebx, 0x401730
test esi, esi
js 0x4060ac
xor ecx, ecx
lea eax, [ebp + 8]
push ecx
push eax
push ecx
push 2
push ecx
push ecx
push ecx
push 0x4017c8
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edi, eax
test edi, edi
je 0x405feb
jg 0x405fba
mov esi, edi
jmp 0x405fc3
movzx esi, di
or esi, 0x80070000
mov eax, dword [0x40b018]
cmp eax, 0x40b018
je 0x405ff4
cmp byte [eax + 0x19], 2
jb 0x405ff4
push edi
push 0x4017c8
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0xb
pop ecx
call fcn.00405e54
jmp 0x405ff4
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x4060ac
xor ecx, ecx
lea eax, [ebp + 8]
push ecx
push eax
push ecx
xor eax, eax
cmp dword [ebp + 0xc], eax
push 2
sete al
push eax
push ecx
push ecx
push ebx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ecx, eax
test ecx, ecx
je 0x406056
jg 0x406029
mov esi, ecx
jmp 0x406032
movzx esi, cx
or esi, 0x80070000
mov eax, dword [0x40b018]
cmp eax, 0x40b018
je 0x4060ac
cmp byte [eax + 0x19], 2
jb 0x4060ac
push ecx
push ebx
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0xc
pop ecx
call fcn.00405e54
jmp 0x4060ac
push dword [ebp - 0xc]
push dword [ebp - 8]
push 3
push 0
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x4060a3
jg 0x406076
mov esi, eax
jmp 0x40607f
movzx esi, ax
or esi, 0x80070000
mov ecx, dword [0x40b018]
cmp ecx, 0x40b018
je 0x4060a3
cmp byte [ecx + 0x19], 2
jb 0x4060a3
push eax
push ebx
push dword [ecx + 0x14]
push dword [ecx + 0x10]
push 0xd
pop ecx
call fcn.00405e54
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
test eax, eax
je 0x4060cb
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x4060c4
mov byte [eax], 0
inc eax
dec ecx
jne 0x4060ba
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4063c7
Capabilities:
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
mov dword [ebp - 8], ecx
push esi
test edx, edx
push edi
setne bl
push 0
pop esi
inc ebx
je 0x406478
and dword [ebp - 4], 0
mov edi, 0x401730
test esi, esi
je 0x4063f8
mov edi, 0x401690
lea eax, [ebp - 4]
push eax
push edi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x406432
mov ecx, dword [0x40b018]
cmp ecx, 0x40b018
je 0x40646f
cmp byte [ecx + 0x19], 2
jb 0x40646f
push eax
push edi
push dword [ecx + 0x14]
push dword [ecx + 0x10]
push 0x16
pop ecx
call fcn.00405e54
jmp 0x40646f
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x406466
mov ecx, dword [0x40b018]
cmp ecx, 0x40b018
je 0x406466
cmp byte [ecx + 0x19], 2
jb 0x406466
push eax
push edi
push dword [ecx + 0x14]
push dword [ecx + 0x10]
push 0x17
pop ecx
call fcn.00405e54
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc esi
cmp esi, ebx
jb 0x4063e6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x406484
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x758
mov eax, dword [0x40b004]
xor eax, ebp
mov dword [ebp - 8], eax
and dword [ebp - 0x70c], 0
lea eax, [ebp - 0x708]
push ebx
push esi
push edi
push 0x68
mov ebx, ecx
mov edi, edx
push 0
push eax
mov dword [ebp - 0x710], ebx
call sub.msvcrt.dll_memset
add esp, 0xc
xor esi, esi
cmp dword [ebp + 8], 1
jne 0x4064d8
call fcn.004066dd
test eax, eax
jne 0x4064d8
xor eax, eax
jmp 0x4066c5
mov eax, dword [edi + 4]
mov dword [edi + 0x80], 1
cmp dword [eax + 0x10], esi
je 0x40650a
lea eax, [ebp - 0x70c]
push eax
push 0x40675e
push ebx
push 0x73
push dword [0x40b3a4]
call dword [sym.imp.USER32.dll_DialogBoxParamW]
cmp eax, 1
jne 0x4064d1
mov ecx, dword [edi]
lea edx, [ebp - 0x70c]
call fcn.0040900d
mov ebx, eax
test ebx, ebx
js 0x40661d
mov ecx, dword [edi + 8]
xor edx, edx
call fcn.00406e69
push edi
push 0x4068cc
push dword [ebp - 0x710]
push 0x74
push dword [0x40b3a4]
call dword [sym.imp.USER32.dll_DialogBoxParamW]
mov esi, eax
neg esi
sbb esi, esi
inc esi
je 0x4066c3
mov ecx, dword [edi]
lea edx, [ebp - 0x71c]
xor eax, eax
mov dword [ebp - 0x718], eax
mov dword [ebp - 0x714], eax
mov dword [ebp - 0x71c], eax
call fcn.00408afd
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x3c
pop ebx
push ebx
lea eax, [ebp - 0x758]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x758], ebx
lea eax, [ebp - 0x69c]
mov dword [ebp - 0x754], 0x4040
mov dword [ebp - 0x74c], 0x4018f0
mov dword [ebp - 0x748], 0x4018fc
push dword [edi + 8]
push 0x401918
push 0x208
push eax
call fcn.00401cd5
add esp, 0x10
mov dword [ebp - 0x73c], 1
lea eax, [ebp - 0x69c]
mov dword [ebp - 0x744], eax
lea eax, [ebp - 0x758]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x4066c3
push 0xffffffffffffffff
push dword [ebp - 0x720]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x720]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4066c3
mov edi, dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp - 0x8c]
push 0x40
push eax
push 0x67
push dword [0x40b3a4]
call edi
push 0x80
lea eax, [ebp - 0x28c]
push eax
push 0x9f
push dword [0x40b3a4]
call edi
cmp ebx, 0x80070539
jne 0x40666a
push 0x80
lea eax, [ebp - 0x18c]
push eax
push 0x90
jmp 0x406680
cmp ebx, 0xc0040205
jne 0x40668a
push 0x80
lea eax, [ebp - 0x18c]
push eax
push 0x79
push dword [0x40b3a4]
call edi
jmp 0x406693
xor eax, eax
mov word [ebp - 0x18c], ax
push 0
push 0xfffe
push 0x20
lea eax, [ebp - 0x18c]
push eax
lea eax, [ebp - 0x28c]
push eax
lea eax, [ebp - 0x8c]
push eax
push dword [0x40b3a4]
push dword [ebp - 0x710]
call dword [sym.imp.COMCTL32.dll_Ordinal_344]
mov eax, esi
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004097cb
mov esp, ebp
pop ebp
ret 4