joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401b70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x470ff0]
xor eax, ebp
mov dword [ebp - 8], eax
push 0x104
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x401ba2
xor eax, eax
jmp 0x401ba9
mov ax, word [ebp - 0x210]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00432039
mov esp, ebp
pop ebp
ret

Function at 0x401bc0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x470ff0]
xor eax, ebp
mov dword [ebp - 0xc], eax
movzx eax, word [ebp + 8]
push eax
push 0x460528
lea ecx, [ebp - 0x50]
push ecx
call fcn.00432048
add esp, 0xc
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x68]
push ecx
lea edx, [ebp - 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
jne 0x401c09
xor eax, eax
jmp 0x401c1d
push 0
push 0x200
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x58]
push ecx
call fcn.00432330
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00432039
mov esp, ebp
pop ebp
ret
Function at 0x401d40
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x470ff0]
xor eax, ebp
mov dword [ebp - 0xc], eax
movzx eax, word [ebp + 0xc]
push eax
push 0x460580
lea ecx, [ebp - 0x218]
push ecx
call fcn.00432048
add esp, 0xc
push 0
push 0
push 3
push 0
push 3
push SysReAllocString
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0xffffffff
jne 0x401dac
push 0x460590
mov ecx, dword [ebp + 8]
call fcn.00405660
mov eax, dword [ebp + 8]
jmp 0x401f80
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x224], 0x1000
push 0x1000
lea ecx, [ebp - 0x240]
call fcn.004022c0
push 0
lea ecx, [ebp - 0x240]
call fcn.00402320
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x220]
mov dword [eax + 4], 0x1000
push 0
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 0x220]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x220]
push ecx
push 0xc
lea edx, [ebp - 0x250]
push edx
push 0x2d1400
mov eax, dword [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [ebp - 0x228], eax
mov ecx, dword [ebp - 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x228], 0
jne 0x401e68
push 0x460594
mov ecx, dword [ebp + 8]
call fcn.00405660
lea ecx, [ebp - 0x240]
call fcn.00402300
mov eax, dword [ebp + 8]
jmp 0x401f80
lea ecx, [ebp - 0x244]
call fcn.004055f0
lea ecx, [ebp - 4]
call fcn.004055f0
mov edx, dword [ebp - 0x220]
cmp dword [edx + 0xc], 0
je 0x401ec3
mov eax, dword [ebp - 0x220]
mov ecx, dword [eax + 0xc]
push ecx
lea ecx, [ebp - 0x240]
call fcn.00402320
push eax
lea edx, [ebp - 0x254]
push edx
call fcn.004073f0
add esp, 8
push eax
lea ecx, [ebp - 0x244]
call fcn.00405740
lea ecx, [ebp - 0x254]
call fcn.00406250
mov eax, dword [ebp - 0x220]
cmp dword [eax + 0x10], 0
je 0x401f08
mov ecx, dword [ebp - 0x220]
mov edx, dword [ecx + 0x10]
push edx
lea ecx, [ebp - 0x240]
call fcn.00402320
push eax
lea eax, [ebp - 0x258]
push eax
call fcn.004073f0
add esp, 8
push eax
lea ecx, [ebp - 4]
call fcn.00405740
lea ecx, [ebp - 0x258]
call fcn.00406250
lea ecx, [ebp - 0x244]
call fcn.00405890
lea ecx, [ebp - 0x244]
call fcn.00405800
lea ecx, [ebp - 4]
call fcn.00405890
lea ecx, [ebp - 4]
call fcn.00405800
lea ecx, [ebp - 4]
push ecx
push 0x460598
lea edx, [ebp - 0x244]
push edx
lea eax, [ebp - 0x25c]
push eax
call fcn.00406760
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00406660
lea ecx, [ebp - 0x25c]
call fcn.00406250
lea ecx, [ebp - 4]
call fcn.00406250
lea ecx, [ebp - 0x244]
call fcn.00406250
lea ecx, [ebp - 0x240]
call fcn.00402300
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00432039
mov esp, ebp
pop ebp
ret
Function at 0x401f90
Capabilities:
Get disk information via ioctl

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x470ff0]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, word [ebp + 8]
push eax
push 0x46059c
lea ecx, [ebp - 0x210]
push ecx
call fcn.00432048
add esp, 0xc
push 0
push 0
push 3
push 0
push 3
push SysReAllocString
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0xffffffff
jne 0x401fef
or eax, 0xffffffff
jmp 0x402115
push 0
lea eax, [ebp - 0x214]
push eax
push 0xc
lea ecx, [ebp - 0x224]
push ecx
push 0
push 0
push 0x2d1080
mov edx, dword [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x402023
or eax, 0xffffffff
jmp 0x402115
mov eax, dword [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x228], 0
jmp 0x40204b
mov ecx, dword [ebp - 0x228]
add ecx, 1
mov dword [ebp - 0x228], ecx
cmp dword [ebp - 0x228], 0x14
jge 0x402112
mov edx, dword [ebp - 0x228]
push edx
push 0x4605ac
lea eax, [ebp - 0x210]
push eax
call fcn.00432048
add esp, 0xc
push 0
push 0xa0000000
push 3
push 0
push 3
push SysReAllocString
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0xffffffff
jne 0x4020a3
jmp 0x40203c
push 0
lea edx, [ebp - 0x214]
push edx
push 0xc
lea eax, [ebp - 0x234]
push eax
push 0
push 0
push 0x2d1080
mov ecx, dword [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x402100
mov edx, dword [ebp - 0x224]
cmp edx, dword [ebp - 0x234]
jne 0x402100
mov eax, dword [ebp - 0x220]
cmp eax, dword [ebp - 0x230]
jne 0x402100
mov ecx, dword [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x228]
jmp 0x402115
mov edx, dword [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40203c
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00432039
mov esp, ebp
pop ebp
ret
Function at 0x4076d0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x470ff0]
xor eax, ebp
mov dword [ebp - 0x10], eax
call fcn.00407620
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4076f5
xor eax, eax
jmp 0x407775
mov ax, word [ebp + 8]
mov word [ebp - 0x18], ax
mov ecx, 0x3a
mov word [ebp - 0x16], cx
mov edx, 0x5c
mov word [ebp - 0x14], dx
xor eax, eax
mov word [ebp - 0x12], ax
lea ecx, [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jne 0x407731
mov dword [ebp - 4], 0xc
jmp 0x407738
mov dword [ebp - 4], 0xb
mov dword [0x4723c4], 0
mov dword [ebp - 0xc], 0
push 0x407670
mov edx, dword [ebp - 0xc]
push edx
push 1
push 0x46090c
push str.NTFS
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp - 0x18]
push ecx
call dword [ebp - 8]
xor eax, eax
cmp dword [0x4723c4], 0
sete al
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00432039
mov esp, ebp
pop ebp
ret

Function at 0x408bf0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 1
push 0
push 0
push str.http:__www.udashi.com
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4095e0
Capabilities:
Copy file
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x458
mov eax, dword [0x470ff0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x458], ecx
push 0x460bc8
push 0xcf
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x324], eax
cmp dword [ebp - 0x324], 0
jne 0x40961f
jmp 0x409825
mov eax, dword [ebp - 0x324]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x44c], eax
cmp dword [ebp - 0x44c], 0
jne 0x409642
jmp 0x409825
mov ecx, dword [ebp - 0x324]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x320], eax
mov edx, dword [ebp - 0x44c]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x31c], eax
lea eax, [ebp - 0x450]
push eax
call fcn.0040d750
add esp, 4
lea ecx, [ebp - 0x450]
push ecx
lea edx, [ebp - 0x344]
push edx
call fcn.00407490
add esp, 8
mov byte [ebp - 0x318], 0
push 0x103
push 0
lea eax, [ebp - 0x317]
push eax
call fcn.004322b0
add esp, 0xc
lea ecx, [ebp - 0x344]
call fcn.00406b60
push eax
lea ecx, [ebp - 0x318]
push ecx
call fcn.00434330
add esp, 8
push str.umasterhelp.zip
lea edx, [ebp - 0x318]
push edx
call fcn.00434340
add esp, 8
push 0x460be4
lea eax, [ebp - 0x318]
push eax
call fcn.004342b8
add esp, 8
mov dword [ebp - 0x328], eax
mov byte [ebp - 0x448], 0
push 0xff
push 0
lea ecx, [ebp - 0x447]
push ecx
call fcn.004322b0
add esp, 0xc
movzx edx, word [ebp + 8]
push edx
push 0x460be8
lea eax, [ebp - 0x448]
push eax
call fcn.00434042
add esp, 0xc
cmp dword [ebp - 0x328], 0
je 0x40977a
mov ecx, dword [ebp - 0x328]
push ecx
mov edx, dword [ebp - 0x320]
push edx
push 1
mov eax, dword [ebp - 0x31c]
push eax
call fcn.00433fc0
add esp, 0x10
mov ecx, dword [ebp - 0x328]
push ecx
call fcn.00433de2
add esp, 4
push 0
lea edx, [ebp - 0x448]
push edx
lea eax, [ebp - 0x318]
push eax
call fcn.00421ee0
add esp, 0xc
lea ecx, [ebp - 0x450]
call fcn.00405730
push eax
call fcn.0040d840
add esp, 4
xor ecx, ecx
mov word [ebp - 0x210], cx
push 0x206
push 0
lea edx, [ebp - 0x20e]
push edx
call fcn.004322b0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x40980f
lea ecx, [ebp - 0x454]
call fcn.004055f0
movzx ecx, word [ebp + 8]
push ecx
push str._c:U
lea edx, [ebp - 0x454]
push edx
call fcn.00405960
add esp, 0xc
push 0
lea ecx, [ebp - 0x454]
call fcn.00405730
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0x454]
call fcn.00406250
lea ecx, [ebp - 0x344]
call fcn.00406b40
lea ecx, [ebp - 0x450]
call fcn.00406250
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00432039
mov esp, ebp
pop ebp
ret 4
Function at 0x409890
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x20]
call fcn.00409a20
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4098c3
xor al, al
jmp 0x409a0e
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4098e1
xor al, al
jmp 0x409a0e
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x409906
xor al, al
jmp 0x409a0e
mov ecx, dword [ebp - 4]
push ecx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edx, dword [ebp - 0x20]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x20]
cmp dword [eax + 8], 0
je 0x409a0c
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4099f5
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.00432f00
add esp, 0xc
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x4099e8
push 0
mov eax, dword [ebp - 0x14]
push eax
call fcn.0040bf00
add esp, 8
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [eax + 8]
call edx
mov eax, dword [ebp - 0x20]
cmp dword [eax + 4], 0
je 0x4099e8
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + 4]
call fcn.0040bed0
test eax, eax
jne 0x4099af
mov al, 1
jmp 0x409a0e
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 4]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
je 0x4099d7
push 1
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x18]
mov edx, dword [eax]
call edx
mov dword [ebp - 0x24], eax
jmp 0x4099de
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x20]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov edx, dword [ebp - 0x20]
mov dword [edx + 8], 0
xor al, al
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40d750
Capabilities:
Create directory
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x470ff0]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0x104
ja 0x40d790
cmp dword [ebp - 0x214], 0
jne 0x40d7a5
push 0x461120
mov ecx, dword [ebp + 8]
call fcn.00405660
mov eax, dword [ebp + 8]
jmp 0x40d827
lea ecx, [ebp - 0x420]
push ecx
push 0
push 0x461124
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jne 0x40d7e1
push 0x46112c
mov ecx, dword [ebp + 8]
call fcn.00405660
mov eax, dword [ebp + 8]
jmp 0x40d827
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
lea ecx, [ebp - 0x420]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x40d817
lea edx, [ebp - 0x420]
push edx
mov ecx, dword [ebp + 8]
call fcn.00405660
mov eax, dword [ebp + 8]
jmp 0x40d827
push 0x461130
mov ecx, dword [ebp + 8]
call fcn.00405660
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00432039
mov esp, ebp
pop ebp
ret

Function at 0x40d840
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x470ff0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x218]
push ecx
call fcn.00433ca0
add esp, 8
mov edx, dword [ebp + 8]
push edx
call fcn.004335d5
add esp, 4
mov dword [ebp - 0x23c], eax
xor eax, eax
mov ecx, dword [ebp - 0x23c]
mov word [ebp + ecx*2 - 0x216], ax
push 0x1e
push 0
lea edx, [ebp - 0x238]
push edx
call fcn.004322b0
add esp, 0xc
mov dword [ebp - 0x234], 3
lea eax, [ebp - 0x218]
mov dword [ebp - 0x230], eax
mov ecx, 0x414
mov word [ebp - 0x228], cx
lea edx, [ebp - 0x238]
push edx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00432039
mov esp, ebp
pop ebp
ret
Function at 0x41cd40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x454
mov eax, dword [0x470ff0]
xor eax, ebp
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x454], ecx
call fcn.00411980
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x2c]
call fcn.00411f90
mov eax, dword [ebp - 0x454]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041d030
lea ecx, [ebp - 0x438]
call fcn.0041fbe0
push 0x400
mov ecx, dword [ebp + 8]
push ecx
call fcn.0041cb10
add esp, 8
mov dword [ebp - 8], eax
push 2
push 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x41cdbe
call fcn.004169d0
mov dword [ebp - 0x444], eax
jmp 0x41cf13
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x440], eax
cmp dword [ebp - 0x440], 0
jne 0x41cdef
call fcn.004169d0
mov dword [ebp - 0x444], eax
jmp 0x41cf13
mov eax, dword [ebp - 0x440]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x448], eax
cmp dword [ebp - 0x448], 0
jne 0x41ce1f
call fcn.004169d0
mov dword [ebp - 0x444], eax
jmp 0x41cf13
mov edx, dword [ebp - 0x440]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x448]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x1c]
add edx, 1
cmp edx, dword [ebp - 0x1c]
jae 0x41ce6f
mov dword [ebp - 0x44c], 0x8007000e
lea ecx, [ebp - 0x438]
call fcn.0041fc00
lea ecx, [ebp - 0x2c]
call fcn.00411fb0
mov eax, dword [ebp - 0x44c]
jmp 0x41cf48
mov eax, dword [ebp - 0x1c]
add eax, 1
push eax
lea ecx, [ebp - 0x438]
call fcn.0041fc30
lea ecx, [ebp - 0x438]
call fcn.0041fc20
test eax, eax
jne 0x41ce9c
mov dword [ebp - 0x444], 0x8007000e
jmp 0x41cf13
mov ecx, dword [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x438]
call fcn.0041fc20
push eax
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0xc]
push eax
push 0
call fcn.00411980
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x43c], eax
cmp dword [ebp - 0x43c], 0
jne 0x41cede
call fcn.004169d0
mov dword [ebp - 0x444], eax
jmp 0x41cf13
lea ecx, [ebp - 0x438]
call fcn.0041fc20
xor ecx, ecx
mov edx, dword [ebp - 0x43c]
mov word [eax + edx*2], cx
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x438]
call fcn.0041fc20
push eax
lea ecx, [ebp - 0x18]
call fcn.0041d060
mov dword [ebp - 0x444], eax
cmp dword [ebp - 0x10], 0
je 0x41cf23
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, dword [ebp - 0x444]
mov dword [ebp - 0x450], edx
lea ecx, [ebp - 0x438]
call fcn.0041fc00
lea ecx, [ebp - 0x2c]
call fcn.00411fb0
mov eax, dword [ebp - 0x450]
mov ecx, dword [ebp - 0x30]
xor ecx, ebp
call fcn.00432039
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41e890
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x470ff0]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x230], ecx
lea ecx, [ebp - 0x14]
call fcn.0041e650
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0041e830
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x41e8fb
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x224], edx
lea ecx, [ebp - 0x14]
call fcn.0041e680
mov eax, dword [ebp - 0x224]
jmp 0x41e98c
mov dword [ebp - 4], 0x100
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x220]
push edx
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x41e961
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0041e890
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x41e958
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x228], edx
lea ecx, [ebp - 0x14]
call fcn.0041e680
mov eax, dword [ebp - 0x228]
jmp 0x41e98c
mov dword [ebp - 4], 0x100
jmp 0x41e902
lea ecx, [ebp - 0x14]
call fcn.0041e770
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x230]
call fcn.0041e710
mov dword [ebp - 0x22c], eax
lea ecx, [ebp - 0x14]
call fcn.0041e680
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00432039
mov esp, ebp
pop ebp
ret 4
Function at 0x41eef0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
xor eax, eax
jne 0x41eef9
xor ecx, ecx
jne 0x41eef9
xor edx, edx
cmp dword [ebp + 0xc], 0
setne dl
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jne 0x41ef1a
mov eax, 0xd
jmp 0x41ef75
xor eax, eax
jne 0x41ef01
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax*2]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2]
mov dword [ebp - 4], edx
cmp dword [ebp - 0xc], 1
jne 0x41ef2b
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 7
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 8

Function at 0x4201b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov dword [0x4724cc], 0
mov eax, dword [ebp + 8]
push eax
call fcn.004201a0
mov ecx, eax
call fcn.004049c0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004201a0
add eax, 0x24
mov ecx, eax
call fcn.004049c0
push 0
push 0
push 0x4208f0
call fcn.0043776d
add esp, 0xc
pop ebp
ret
Function at 0x421b40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0
push 0
push 2
push 0
push 0
push 0x40000000
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push eax
lea ecx, [ebp - 0xc]
call fcn.00402130
lea ecx, [ebp - 0xc]
call fcn.00402170
cmp eax, 0xffffffff
jne 0x421b89
mov byte [ebp - 0x35], 0
lea ecx, [ebp - 0xc]
call fcn.00402150
mov al, byte [ebp - 0x35]
jmp 0x421ce5
push str.umaster
mov ecx, dword [ebp + 8]
push ecx
call fcn.0042abd0
add esp, 8
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x421bb7
mov byte [ebp - 0x36], 0
lea ecx, [ebp - 0xc]
call fcn.00402150
mov al, byte [ebp - 0x36]
jmp 0x421ce5
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x20]
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], 0x1000
push 0x1000
lea ecx, [ebp - 0x28]
call fcn.004022c0
mov dword [ebp - 0x30], 0x1000
mov dword [ebp - 4], 0
mov ecx, 1
test ecx, ecx
je 0x421cc2
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 4]
cmp dword [ebp - 0x30], edx
jbe 0x421c03
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 4]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
push ecx
push 0
lea ecx, [ebp - 0x28]
call fcn.00402320
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.0042ac70
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x30]
je 0x421c51
mov ecx, dword [ebp + 8]
push ecx
call fcn.0042b3d0
add esp, 4
mov byte [ebp - 0x37], 0
lea ecx, [ebp - 0x28]
call fcn.00402300
lea ecx, [ebp - 0xc]
call fcn.00402150
mov al, byte [ebp - 0x37]
jmp 0x421ce5
push 0
lea edx, [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x30]
push eax
push 0
lea ecx, [ebp - 0x28]
call fcn.00402320
push eax
lea ecx, [ebp - 0xc]
call fcn.00402170
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x421ca3
mov ecx, dword [ebp + 8]
push ecx
call fcn.0042b3d0
add esp, 4
mov byte [ebp - 0x38], 0
lea ecx, [ebp - 0x28]
call fcn.00402300
lea ecx, [ebp - 0xc]
call fcn.00402150
mov al, byte [ebp - 0x38]
jmp 0x421ce5
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x30]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x10]
jne 0x421cb6
jmp 0x421cc2
mov dword [ebp - 0x30], 0x1000
jmp 0x421be2
mov ecx, dword [ebp + 8]
push ecx
call fcn.0042b3d0
add esp, 4
mov byte [ebp - 0x39], 1
lea ecx, [ebp - 0x28]
call fcn.00402300
lea ecx, [ebp - 0xc]
call fcn.00402150
mov al, byte [ebp - 0x39]
mov esp, ebp
pop ebp
ret