joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4232a0
Capabilities:
Read file on windows
Read pipe

Disassembly:
sub esp, 0x10c
mov eax, dword [0x4f00a8]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push ebx
lea eax, [esp + 0x14]
push eax
push ebx
push ebx
mov esi, ecx
mov ecx, dword [esi + 0x18]
push ebx
push ecx
mov dword [esp + 0x28], ebx
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
je 0x423399
lea ebp, [ebx + 1]
mov edi, edi
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x4233b0
mov dword [esp + 0x14], ebx
cmp eax, 0xff
jb 0x4232fc
mov eax, 0xff
mov ecx, dword [esi + 0x18]
push ebx
lea edx, [esp + 0x18]
push edx
push eax
lea eax, [esp + 0x24]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x423399
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x423399
xor edi, edi
mov byte [esp + eax + 0x18], bl
cmp eax, ebx
jbe 0x42337a
lea esp, [esp]
mov al, byte [esp + edi + 0x18]
cmp al, byte [esi + 0x421]
je 0x423352
cmp al, 0xd
je 0x423352
mov edx, dword [esi + 0x41c]
mov byte [edx + esi + 0x1c], al
add dword [esi + 0x41c], ebp
jmp 0x423372
mov eax, dword [esi + 0x41c]
cmp eax, ebx
je 0x423372
mov byte [eax + esi + 0x1c], bl
mov eax, dword [esi]
mov edx, dword [eax]
lea ecx, [esi + 0x1c]
push ecx
mov ecx, esi
call edx
mov dword [esi + 0x41c], ebx
add edi, ebp
cmp edi, dword [esp + 0x14]
jb 0x423330
mov ecx, dword [esi + 0x18]
push ebx
lea eax, [esp + 0x14]
push eax
push ebx
push ebx
push ebx
push ecx
mov dword [esp + 0x28], ebx
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
jne 0x4232e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
je 0x4233b4
cmp eax, 0xe8
je 0x4233b4
or eax, 0xffffffff
jmp 0x4233b6
mov eax, ebp
jmp 0x4233b6
xor eax, eax
mov ecx, dword [esp + 0x118]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004911aa
add esp, 0x10c
ret

Function at 0x423470
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, ecx
cmp byte [esi + 0x420], 0
jne 0x423492
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x64
call edi
cmp byte [esi + 0x420], 0
je 0x423484
pop edi
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push 0
lea eax, [esp + 8]
push eax
mov eax, dword [esi + 0x14]
push ecx
push edx
push eax
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 4]
pop esi
pop ecx
ret 8

Function at 0x423471
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, ecx
cmp byte [esi + 0x420], 0
jne 0x423492
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x64
call edi
cmp byte [esi + 0x420], 0
je 0x423484
pop edi
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push 0
lea eax, [esp + 8]
push eax
mov eax, dword [esi + 0x14]
push ecx
push edx
push eax
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 4]
pop esi
pop ecx
ret 8
Function at 0x424350
Capabilities:
Get disk size
Get process heap force flags
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x4bfc08
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4f00a8]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push esi
push edi
mov eax, dword [0x4f00a8]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov eax, dword [esp + 0x64]
mov edi, ecx
push eax
mov ecx, 0x4f1e68
call fcn.00435cf0
lea ecx, [esp + 0x28]
mov ebx, eax
call fcn.00474510
mov ecx, dword [edi + 4]
xor esi, esi
push esi
push ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x64], esi
call fcn.00424200
mov edx, dword [esp + 0x2c]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x18
call fcn.00443150
add esp, 4
push eax
lea ecx, [esp + 0x2c]
call fcn.00474430
mov ax, word [ebx + 0x48]
mov word [esp + 0x48], ax
mov ecx, 0x3a
xor edx, edx
lea eax, [esp + 0x18]
push eax
mov word [esp + 0x4e], cx
lea ecx, [esp + 0x14]
mov word [esp + 0x50], dx
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x54]
push eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x424436
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [0x4ef448], ecx
mov dword [0x4ef44c], edx
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
lea ecx, [esp + 0x28]
mov dword [esp + 0x5c], 0xffffffff
call fcn.00474450
mov al, 1
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.004911aa
add esp, 0x50
ret 4
Function at 0x424510
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
mov eax, dword [0x4f00a8]
xor eax, esp
mov dword [esp + 0x40], eax
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_IsDlgButtonChecked]
mov esi, ecx
mov eax, dword [esi + 4]
push 0x469
push eax
call edi
cmp eax, 1
sete cl
mov byte [0x4ef43c], cl
mov edx, dword [esi + 4]
push 0x489
push edx
call edi
cmp eax, 1
sete al
mov byte [0x4ef43d], al
mov ecx, dword [esi + 4]
push 0x3f7
push ecx
call edi
cmp eax, 1
sete dl
mov byte [0x4eeb6a], dl
mov eax, dword [esi + 4]
push 0x3f8
push eax
call edi
cmp eax, 1
sete cl
mov byte [0x4eeb6b], cl
mov edx, dword [esi + 4]
push 0x41c
push edx
call edi
cmp eax, 1
sete al
mov byte [0x4eeb6c], al
mov ecx, dword [esi + 4]
push 0x41d
push ecx
call edi
cmp eax, 1
sete dl
mov byte [0x4eeb6d], dl
mov eax, dword [esi + 4]
push 0x41e
push eax
call edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 1
sete cl
cmp byte [0x4ef43c], 0
mov byte [0x4eeb6e], cl
je 0x42462e
mov edx, dword [esi + 0x5c]
push 0
push 0
push 0x147
push edx
call edi
push 0
push eax
mov eax, dword [esi + 0x5c]
push 0x150
push eax
call edi
push eax
mov ecx, esi
call fcn.00424350
test al, al
jne 0x42462e
push 0
call fcn.00443150
mov ecx, dword [esi + 4]
add esp, 4
push 0x10
push eax
push 0x4c5148
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.004911aa
add esp, 0x44
ret
mov edx, dword [esi + 0x5c]
push 0
push 0
push 0x147
push edx
call edi
push 0
push eax
mov eax, dword [esi + 0x5c]
push 0x150
push eax
call edi
push 0
push 0
mov dword [0x4ef440], eax
mov ecx, dword [esi + 0x60]
push 0x147
push ecx
call edi
mov edx, dword [esi + 0x60]
push 0
push eax
push 0x150
push edx
call edi
push 0
push 0
mov dword [0x4ef444], eax
mov eax, dword [esi + 0x64]
push 0x147
push eax
call edi
mov ecx, dword [esi + 0x64]
push 0
push eax
push 0x150
push ecx
call edi
push 0x20
lea edx, [esp + 0xc]
push edx
mov dword [0x4eeb78], eax
mov eax, dword [esi + 4]
push 0x419
push eax
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
push 0x6b
call fcn.00443150
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
add esp, 4
push eax
lea ecx, [esp + 0xc]
push ecx
call esi
test eax, eax
jne 0x4246d0
mov dword [0x4eeb74], eax
jmp 0x42477b
push 0x6c
call fcn.00443150
add esp, 4
push eax
lea edx, [esp + 0xc]
push edx
call esi
test eax, eax
jne 0x4246f5
mov dword [0x4eeb74], 1
jmp 0x42477b
push 0x6d
call fcn.00443150
add esp, 4
push eax
lea eax, [esp + 0xc]
push eax
call esi
test eax, eax
jne 0x424717
mov dword [0x4eeb74], 2
jmp 0x42477b
push 0x6e
call fcn.00443150
add esp, 4
push eax
lea ecx, [esp + 0xc]
push ecx
call esi
test eax, eax
jne 0x424739
mov dword [0x4eeb74], 3
jmp 0x42477b
push 0x6f
call fcn.00443150
add esp, 4
push eax
lea edx, [esp + 0xc]
push edx
call esi
test eax, eax
jne 0x42475b
mov dword [0x4eeb74], 4
jmp 0x42477b
push 0x70
call fcn.00443150
add esp, 4
push eax
lea eax, [esp + 0xc]
push eax
call esi
test eax, eax
jne 0x42477b
mov dword [0x4eeb74], 5
mov ecx, dword [esp + 0x48]
pop edi
pop esi
xor ecx, esp
mov dword [0x4eeb7c], 1
mov al, 1
call fcn.004911aa
add esp, 0x44
ret
Function at 0x42bd71
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x46c], 0
jle 0x42bdc6
cmp dword [esi + 0x484], 0
je 0x42bdc6
mov ecx, dword [esi + 0x468]
mov eax, dword [ecx]
mov edx, dword [eax + 0x2c]
call edx
test al, al
je 0x42bdc6
lea eax, [esp + 4]
push eax
push 0
push esi
push 0x42b220
push 0
push 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x42bdc6
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop esi
pop ecx
ret
xor al, al
pop esi
pop ecx
ret
Function at 0x430ea0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c0298
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x4f00a8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x20]
mov dword [esi + 4], ebx
mov dword [esi], vtable.Core2ReadFunction::CReadUserData.0
mov dword [esi + 8], eax
call fcn.0042e270
lea edi, [esi + 0xc]
push edi
lea ecx, [esp + 0x28]
push ecx
xor eax, eax
push ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], eax
call fcn.0042fdc0
test al, al
jne 0x430f1b
push str.__Error:_Unable_to_obtain_disc_block_information__impossible_to_continue.
push 0x537f80
mov dword [edi], 0x800
call fcn.00444320
add esp, 8
mov edx, dword [edi]
mov eax, dword [esp + 0x24]
push edx
push eax
push str.__Block_address:__u__block_length:__u.
push 0x537f80
call fcn.00444320
add esp, 0x10
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 0xffffffff
call fcn.0042e280
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 8

Function at 0x4318a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c0329
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f00a8]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
xor ebp, ebp
lea edi, [esi + 4]
mov dword [esi], vtable.CCore2InStream.0
mov dword [esp + 0x20], ebp
mov dword [edi], vtable.CCore2InStream::CInternalStream.0
mov dword [edi + 4], ebp
mov dword [edi + 8], ebp
mov dword [edi + 0xc], ebp
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x28]
mov dword [esi + 0x24], eax
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0x2c]
push edi
mov dword [esi + 0x28], ecx
lea ebx, [esi + 0x38]
push eax
mov ecx, ebx
mov byte [esp + 0x28], 1
mov dword [esi + 0x30], edx
mov dword [esi + 0x34], eax
call fcn.00430ea0
lea ecx, [esi + 0x48]
mov byte [esp + 0x20], 2
call fcn.0042e270
mov eax, dword [ebx]
mov edx, dword [eax + 8]
mov ecx, ebx
mov byte [esp + 0x20], 3
mov dword [esi + 0x1c], ebp
mov dword [esi + 0x20], ebp
call edx
lea eax, [eax + eax*4]
add eax, eax
push eax
mov dword [esi + 0x18], eax
call fcn.00490ef9
mov ecx, dword [esi + 0x18]
mov dword [esi + 0x14], eax
mov dword [edi + 4], eax
add esp, 4
mov dword [edi + 8], ecx
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x10
Function at 0x435e20
Capabilities:
Access peb ldr_data
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4c0438
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x4f00a8]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, dword [esp + 0x38]
push esi
push 0
push 0
push 0x801a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jge 0x435e75
xor al, al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret 4
push esi
call fcn.00476ff0
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
add esp, 4
push str.FeyWriter_
push esi
call edi
push esi
lea ecx, [esp + 0x10]
call fcn.004be890
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x34], 0
call fcn.004bd650
add esp, 4
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.004be590
push 0x4c81ec
push esi
call edi
mov al, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret 4

Function at 0x439ac0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x4f00a8]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
push edi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x18]
test dword [esp + 0x10], ecx
je 0x439bae
add eax, 0x41
mov edx, 0x3a
mov word [esp + 0x1e], dx
mov word [esp + 0x1c], ax
lea edx, [esp + 0x1c]
mov eax, 0x5c
xor ecx, ecx
push edx
mov word [esp + 0x24], ax
mov word [esp + 0x26], cx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 5
jne 0x439bae
mov ecx, 0x4f1e68
xor esi, esi
call fcn.00435ce0
test eax, eax
jbe 0x439b7a
jmp 0x439b50
push esi
mov ecx, 0x4f1e68
call fcn.00435cf0
movzx eax, word [eax + 0x48]
test ax, ax
je 0x439b6b
cmp ax, word [esp + 0x1c]
je 0x439bae
mov ecx, 0x4f1e68
inc esi
call fcn.00435ce0
cmp esi, eax
jb 0x439b50
mov ecx, dword [edi + 0x20]
lea eax, [esp + 0x1c]
push eax
push 0
push 0x143
push ecx
call ebx
mov edx, dword [edi + 0x20]
push 0
push 0
push 0x146
push edx
call ebx
movzx ecx, word [esp + 0x1c]
mov edx, dword [edi + 0x20]
push ecx
dec eax
push eax
push 0x151
push edx
call ebx
mov eax, dword [esp + 0x14]
shl dword [esp + 0x10], 1
inc eax
cmp eax, 0x20
mov dword [esp + 0x14], eax
jl 0x439af7
mov eax, dword [edi + 0x20]
push 0
push 0
push 0x146
push eax
call ebx
test eax, eax
jne 0x439c0e
push 0x1e
call fcn.00443150
mov ecx, dword [edi + 0x20]
add esp, 4
push eax
push 0
push 0x143
push ecx
call ebx
mov edx, dword [edi + 0x20]
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push 0
push edx
call esi
mov eax, dword [edi + 4]
push 1
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call esi
mov ecx, dword [edi + 0x20]
push 0
push 0
push 0x14e
push ecx
call ebx
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004911aa
mov esp, ebp
pop ebp
ret
Function at 0x43a130
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4c0ec8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4f00a8]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.CDropDownButton.0
mov eax, dword [esi + 0x28]
push eax
mov dword [esp + 0x18], 0
call dword [sym.imp.USER32.dll_DestroyMenu]
mov ecx, dword [esi + 0x2c]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esi + 0x30]
test eax, eax
je 0x43a18c
push eax
mov ecx, 0x53a1f0
call fcn.004743f0
mov esi, dword [esi + 0x14]
mov dword [esp + 0x14], 0xffffffff
test esi, esi
je 0x43a1a1
push esi
call fcn.00490c3a
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x43b560
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4c1908
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4f00a8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi], vtable.CEraseDlg.0
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
lea ecx, [esi + 0x3c]
mov dword [esp + 0x18], edi
mov dword [esi + 0x38], edi
call fcn.0042e460
mov al, byte [esp + 0x20]
mov byte [esi + 0x20], al
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x43f1d0
Capabilities:
Set registry value

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

Function at 0x43f1f0
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, ecx
test esi, esi
jne 0x43f204
pop edi
lea eax, [esi + 0xd]
pop esi
ret 0xc
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
lea eax, [eax + eax + 2]
push eax
mov eax, dword [edi]
push esi
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
ret 0xc

Function at 0x43f230
Capabilities:
Set registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 4], ecx
test ebp, ebp
jne 0x43f246
lea eax, [ebp + 0xd]
pop ebp
pop ecx
ret 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push edi
xor edi, edi
mov esi, ebp
push esi
call ebx
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x43f253
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret 8
Function at 0x43f8d0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x224
mov eax, dword [0x4f00a8]
xor eax, esp
mov dword [esp + 0x220], eax
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
mov ebx, ecx
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
lea esi, [esp + 0x14]
push esi
xor edi, edi
or eax, 0x2001f
push eax
push edi
push edx
push ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [esp + 0xc]
mov esi, eax
cmp esi, edi
jne 0x43f946
xor eax, eax
cmp ecx, edi
je 0x43f934
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], edi
mov esi, eax
mov dword [esp + 0xc], ecx
cmp eax, edi
je 0x43f954
cmp ecx, edi
je 0x43f9f2
push ecx
jmp 0x43f9ec
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x20]
push eax
push edi
push edi
push edi
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x3c]
push eax
push edi
push ecx
mov dword [esp + 0x38], 0x100
call esi
test eax, eax
jne 0x43f9bc
lea esp, [esp]
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x10]
call fcn.0043f8d0
mov dword [esp + 0x14], eax
cmp eax, edi
jne 0x43fa0b
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x10]
push edi
push edi
push edi
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x3c]
push ecx
push edi
push edx
mov dword [esp + 0x38], 0x100
call esi
test eax, eax
je 0x43f980
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x43f9cf
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], edi
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebx]
push eax
push ecx
mov dword [esp + 0x18], edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x43f9f2
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.004911aa
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + 0xc]
cmp ecx, edi
je 0x43f9f4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x22c]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004911aa
mov esp, ebp
pop ebp
ret 4
Function at 0x4414a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x4c0a10
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4f00a8]
xor eax, ebp
mov dword [ebp + 0x404], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x410]
mov edi, dword [ebp + 0x414]
mov ebx, dword [ebp + 0x418]
xor edx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp], edx
push 2
push edx
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
jne 0x441522
call fcn.0043f050
mov edi, eax
jmp 0x441604
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x44153b
call fcn.0043f050
jmp 0x4415fb
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x14], ebx
test ebx, ebx
jne 0x441556
call fcn.0043f050
jmp 0x4415fb
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
mov dword [ebp - 0x18], edi
cmp eax, edi
jae 0x44158c
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x44157a
lea ecx, [ebp]
call fcn.0043f870
lea ecx, [ebp - 0x20]
call fcn.0043f810
mov eax, 0x8007000e
jmp 0x441616
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 2
call fcn.00440040
mov dword [ebp - 4], 1
jmp 0x4415b8
mov eax, dword [ebp]
test eax, eax
jne 0x4415c6
mov edi, 0x8007000e
jmp 0x4415fd
push edi
push eax
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x4415df
call fcn.0043f050
jmp 0x4415fb
mov edx, dword [ebp]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x41c]
mov ecx, dword [ebp]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.00441040
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea edx, [ebp + 4]
cmp dword [ebp], edx
je 0x441614
lea ecx, [ebp]
call fcn.0043f870
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x404]
xor ecx, ebp
call fcn.004911aa
add ebp, 0x408
mov esp, ebp
pop ebp
ret 0x10
Function at 0x441df0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4c0a78
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
mov eax, dword [0x4f00a8]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x24], vtable.WTL::CMessageLoop.0
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov esi, dword [0x4f19c0]
lea eax, [esp + 0x24]
add esi, 0x10
push esi
mov dword [esp + 0x68], ebx
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [0x537f3c]
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], eax
call fcn.00416320
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push ebx
push ebx
push ebx
push ecx
mov eax, esp
mov dword [esp + 0x20], esp
push ebx
mov ecx, 0x538430
mov dword [eax], ebx
call fcn.00441d00
invalid

Function at 0x442bf0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4c0b08
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x4f00a8]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x30]
mov eax, dword [esi]
mov ecx, dword [esi + 8]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0xc]
lea edx, [eax - 4]
push 0xf
mov dword [esp + 0x28], 0
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], eax
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push eax
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.USER32.dll_FillRect]
cmp dword [0x53a1f4], 6
jne 0x442ca0
cmp dword [0x53a1f8], 0
jne 0x442ca0
mov ecx, 0x53a1f0
call fcn.00474390
test al, al
je 0x442ca0
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 4]
sub edx, 4
push 0xf
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_GetSysColor]
mov ecx, dword [esp + 0x2c]
push eax
push 0xfcfcfc
lea eax, [esp + 0x14]
push eax
push ecx
jmp 0x442ccb
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 4]
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
sub eax, 4
push 0xf
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], eax
call esi
push eax
push 0x10
call esi
mov edx, dword [esp + 0x30]
push eax
lea ecx, [esp + 0x14]
push ecx
push edx
call fcn.00475ea0
add esp, 0x10
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret 8