joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414730
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46c3a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [ecx + 0x1c]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
mov dword [ebp - 0x14], eax
jne 0x414773
push 0xe3
call fcn.004145d0
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x414787
push 0xe4
call fcn.004145d0
mov edi, dword [ebp + 8]
push edi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [eax + eax + 2]
push ecx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x4147b2
push str.GlobalAlloc_failed.
call fcn.00402a60
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x4147fa
push 0xe5
call fcn.004145d0
mov esi, dword [ebp - 0x18]
mov edx, dword [esi]
push 0
push 0
mov ecx, esi
call dword [edx + 0x10]
mov ecx, esi
call fcn.0044f33a
mov eax, 0x414800
ret
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x415dc0
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x46c510
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
push edi
push 0xffffffffffffffff
mov dword [esp + 0x24], ecx
add ecx, 0x24
push 0x20
call fcn.004158e0
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
xor edi, edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], 1
mov dword [esp + 0x14], edi
jmp 0x415e10
mov edi, dword [esp + 0x14]
lea ebx, [ebx]
call fcn.0044f512
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x24]
test dword [esp + 0x18], eax
mov dword [esp + 0x30], 0
je 0x415f00
call fcn.0044f512
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
lea eax, [edi + 0x41]
push eax
lea ecx, [esp + 0x20]
push 0x471bb0
push ecx
mov byte [esp + 0x3c], 1
call fcn.004022f0
mov ebp, dword [esi - 4]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, ebp
sub eax, 0x104
add esp, 0xc
or eax, ecx
jge 0x415e8f
push 0x104
lea ecx, [esp + 0x14]
call fcn.00401960
mov esi, dword [esp + 0x10]
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
push 0x104
push esi
push ebp
call fcn.0041b930
test esi, esi
mov ebx, eax
jne 0x415ead
xor eax, eax
jmp 0x415ebe
push esi
call fcn.00437a78
add esp, 4
test eax, eax
jl 0x415fbe
cmp eax, dword [esi - 8]
jg 0x415fbe
test ebx, ebx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], 0
jne 0x415ee1
lea ecx, [esp + 0x10]
call fcn.004018f0
mov esi, dword [esp + 0x10]
lea eax, [ebp - 0x10]
mov byte [esp + 0x30], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x415f00
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test edi, edi
jl 0x415fc8
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x2c]
add eax, 0x24
cmp edi, ecx
jge 0x415fc8
mov eax, dword [eax + 4]
lea ebx, [eax + edi*4]
mov edi, dword [ebx]
lea ebp, [esi - 0x10]
sub edi, 0x10
cmp ebp, edi
je 0x415f6f
mov eax, dword [edi + 0xc]
test eax, eax
jl 0x415f63
mov ecx, dword [ebp]
cmp ecx, dword [edi]
jne 0x415f63
push ebp
call fcn.00401470
mov esi, eax
add esp, 4
or edx, 0xffffffff
lea eax, [edi + 0xc]
lock xadd dword [eax], edx
dec edx
test edx, edx
jg 0x415f5c
mov ecx, dword [edi]
mov eax, dword [ecx]
push edi
call dword [eax + 4]
add esi, 0x10
mov dword [ebx], esi
jmp 0x415f6f
mov eax, dword [esi - 0xc]
push eax
push esi
mov ecx, ebx
call fcn.00402040
mov dword [esp + 0x30], 0xffffffff
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415f8f
mov ecx, dword [ebp]
mov eax, dword [ecx]
push ebp
call dword [eax + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
inc eax
shl edx, 1
cmp eax, 0x20
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
jl 0x415e06
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret
push 0x80070057
call fcn.00401250
jmp fcn.0044727a
Function at 0x4167c0
Capabilities:
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x46c5a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ebp, dword [esp + 0x24]
push ecx
lea esi, [ebp - 0x10]
mov dword [esp + 0x14], esp
mov ebx, esp
push esi
mov dword [esp + 0x24], 0
call fcn.00401470
add eax, 0x10
add esp, 4
mov ecx, edi
mov dword [ebx], eax
call fcn.00416580
test al, al
je 0x41683d
or ecx, 0xffffffff
mov dword [esp + 0x1c], ecx
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x416826
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
xor al, al
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or ecx, 0xffffffff
cmp eax, ecx
mov dword [esp + 0x1c], ecx
je 0x416812
mov ebx, eax
shr ebx, 0xa
and bl, 1
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41686b
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov al, bl
mov dword fs:[0], ecx
pop ebx
add esp, 0x10
ret 4

Function at 0x417200
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2c0
mov eax, dword [0x48c71c]
push ebx
push esi
mov dword [esp + 0x2c4], eax
mov eax, dword [esp + 0x2d0]
push edi
mov edi, dword [esp + 0x2d8]
or eax, 0x4001
test edi, edi
mov esi, ecx
je 0x417233
or eax, 0x400
mov ecx, dword [esp + 0x2d0]
push eax
push 0x2b4
lea eax, [esp + 0x1c]
push eax
push 0
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ebx, eax
test ebx, ebx
jne 0x41726f
mov eax, dword [esi + 0x30]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2bc]
call fcn.004379cc
add esp, 0x2c0
ret 0xc
test edi, edi
je 0x417293
lea edx, [esp + 0x228]
push edx
call fcn.00437a78
add esp, 4
push eax
lea eax, [esp + 0x22c]
push eax
mov ecx, edi
call fcn.00402040
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
lea edi, [esi + 8]
push eax
mov ecx, edi
call fcn.004170e0
test eax, eax
je 0x4172b5
mov esi, dword [eax + 4]
jmp 0x4172e9
push ebx
call fcn.00447e5c
mov ecx, dword [esp + 0x18]
mov edx, dword [eax + 4]
push 0
push ecx
push edx
call dword [sym.imp.COMCTL32.dll_ImageList_GetIcon]
push eax
mov eax, dword [esi + 4]
push 0xffffffffffffffff
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, edi
mov esi, eax
call fcn.004221b0
mov dword [eax], esi
mov ecx, dword [esp + 0x2c8]
pop edi
mov eax, esi
pop esi
pop ebx
call fcn.004379cc
add esp, 0x2c0
ret 0xc
Function at 0x417360
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x46c698
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, ecx
call fcn.0044f512
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 8], esi
mov eax, dword [esi - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [esi - 8]
sub eax, 0x104
or eax, ecx
mov dword [esp + 0x14], 0
jge 0x4173bd
push 0x104
lea ecx, [esp + 0xc]
call fcn.00401960
mov esi, dword [esp + 8]
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test esi, esi
jne 0x4173d1
xor eax, eax
jmp 0x4173de
push esi
call fcn.00437a78
add esp, 4
test eax, eax
jl 0x41742f
cmp eax, dword [esi - 8]
jg 0x41742f
push 0
push 0
mov dword [esi - 0xc], eax
push esi
mov ecx, edi
mov word [esi + eax*2], 0
call fcn.00417200
mov edi, eax
lea eax, [esi - 0x10]
mov dword [esp + 0x14], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41741c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
push 0x80070057
call fcn.00401250
int3

Function at 0x417480
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x46c698
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [esp + 0xc], edi
call fcn.0044f512
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0xc], esi
mov eax, dword [esi - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [esi - 8]
sub eax, 0x104
or eax, ecx
mov dword [esp + 0x18], edi
jge 0x4174de
push 0x104
lea ecx, [esp + 0x10]
call fcn.00401960
mov esi, dword [esp + 0xc]
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
cmp esi, edi
mov ebx, eax
jne 0x4174f4
xor eax, eax
jmp 0x417501
push esi
call fcn.00437a78
add esp, 4
cmp eax, edi
jl 0x417534
cmp eax, dword [esi - 8]
jg 0x417534
cmp ebx, edi
mov dword [esi - 0xc], eax
mov word [esi + eax*2], di
je 0x41758d
mov eax, dword [esi - 0xc]
cmp eax, 3
jl 0x41758d
cmp eax, 1
jge 0x417528
push 0x80070057
call fcn.00401250
cmp word [esi + 2], 0x3a
jne 0x41758d
cmp eax, 2
jge 0x41753e
push 0x80070057
call fcn.00401250
cmp word [esi + 4], 0x5c
jne 0x41758d
mov edi, dword [esp + 0x20]
push 3
push edi
lea ecx, [esp + 0x14]
call fcn.004053e0
lea eax, [esi - 0x10]
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417577
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x10]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
mov edi, dword [esp + 0x20]
push 0x472ac0
mov ecx, edi
call fcn.004027f0
jmp 0x417555
Function at 0x417b50
Capabilities:
Get common file path
Get file system object information

Disassembly:
push 0xffffffffffffffff
push 0x46c70b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2bc
mov eax, dword [0x48c71c]
push ebx
mov ebx, ecx
mov dword [esp + 0x2bc], eax
mov eax, dword [ebx + 4]
push edi
xor edi, edi
cmp eax, edi
jne 0x417c7b
push esi
call fcn.0044f512
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0xc], esi
mov eax, dword [esi - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [esi - 8]
sub eax, 0x104
or eax, ecx
mov dword [esp + 0x2d0], edi
jge 0x417bcb
push 0x104
lea ecx, [esp + 0x10]
call fcn.00401960
mov esi, dword [esp + 0xc]
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp esi, edi
jne 0x417bdf
xor eax, eax
jmp 0x417bf0
push esi
call fcn.00437a78
add esp, 4
cmp eax, edi
jl 0x417c9e
cmp eax, dword [esi - 8]
jg 0x417c9e
push ebp
push 0x4001
mov dword [esi - 0xc], eax
push 0x2b4
mov word [esi + eax*2], di
lea eax, [esp + 0x1c]
push eax
push edi
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Duplicate]
push eax
mov ecx, ebx
call fcn.00447e84
mov ecx, dword [ebx + 4]
mov ebp, dword [sym.imp.COMCTL32.dll_ImageList_GetImageCount]
push ecx
call ebp
test eax, eax
jle 0x417c4d
push edi
lea ecx, [ebx + 8]
call fcn.004221b0
mov dword [eax], edi
mov edx, dword [ebx + 4]
push edx
inc edi
call ebp
cmp edi, eax
jl 0x417c37
mov ecx, ebx
call fcn.00417620
lea eax, [esi - 0x10]
mov dword [esp + 0x2d4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop ebp
jg 0x417c7a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop esi
mov ecx, dword [esp + 0x2c4]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x2bc]
pop ebx
call fcn.004379cc
add esp, 0x2c8
ret
push 0x80070057
call fcn.00401250
int3
Function at 0x41d280
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46ca08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov edi, ecx
push edi
lea ecx, [esp + 0x38]
call fcn.00452ded
mov esi, dword [esp + 0x58]
mov ebp, dword [esi]
lea ebx, [esp + 0x14]
push ebx
xor ecx, ecx
lea ebx, [esp + 0x1c]
push ebx
push ecx
xor eax, eax
sub esp, 0x10
mov ebx, esp
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov edx, 0x3e8
mov dword [esp + 0x6c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x30], eax
mov dword [ebx + 8], edx
mov eax, edx
lea ecx, [esp + 0x50]
mov dword [ebx + 0xc], eax
mov ebx, dword [esp + 0x78]
push ecx
push ebx
mov ecx, esi
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], edx
call dword [ebp + 0x14]
test al, al
je 0x41d308
mov esi, dword [esp + 0x18]
jmp 0x41d425
mov edx, dword [esi]
push ebx
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call dword [edx]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 0xc]
test ecx, ecx
mov byte [esp + 0x50], 1
jne 0x41d36b
add eax, 0xfffffff0
mov byte [esp + 0x50], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d343
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x34]
mov dword [esp + 0x50], 0xffffffff
call fcn.00452e48
xor eax, eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 8
mov eax, dword [edi + 0x1c]
push 0
push 0
push 0x31
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
call fcn.00453045
test eax, eax
je 0x41d388
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x38]
push eax
push ecx
call fcn.004530dc
mov ebp, eax
lea edx, [esp + 0x34]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], edx
push ebx
mov ecx, edi
mov byte [esp + 0x54], 2
call fcn.0041bf30
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx - 0xc]
neg al
sbb eax, eax
and eax, 2
or eax, 0xc24
push eax
lea eax, [esp + 0x28]
push eax
push edx
mov edx, dword [esp + 0x40]
push ecx
lea ecx, [esp + 0x44]
call dword [edx + 0x68]
push 0
push 6
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
mov esi, dword [esp + 0x2c]
sub esi, dword [esp + 0x24]
test ebp, ebp
mov byte [esp + 0x50], 1
je 0x41d3f7
mov ebp, dword [ebp + 4]
mov ecx, dword [esp + 0x38]
push ebp
push ecx
call fcn.004530dc
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x50], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41d425
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x34]
mov dword [esp + 0x50], 0xffffffff
call fcn.00452e48
mov ecx, dword [esp + 0x48]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x44
ret 8
Function at 0x41d800
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46ca58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebp
mov ebp, dword [esp + 0x44]
push esi
mov esi, dword [esp + 0x4c]
push edi
mov edi, ecx
mov eax, dword [edi + 4]
push eax
push esi
mov ecx, ebp
call fcn.00460534
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 8]
push 0xffffffffffffffff
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], ecx
mov ecx, dword [esi + 0xc]
push 0xfffffffffffffffb
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
call dword [sym.imp.USER32.dll_InflateRect]
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
mov ecx, esi
sub ecx, eax
and ecx, 0x80000001
jns 0x41d874
dec ecx
or ecx, 0xfffffffe
inc ecx
jne 0x41d87b
dec esi
mov dword [esp + 0x38], esi
mov edx, dword [esp + 0x34]
sub esi, eax
push ebx
mov ebx, dword [esp + 0x30]
sub edx, esi
sub edx, ebx
mov dword [esp + 0x54], edx
fild dword [esp + 0x54]
mov dword [esp + 0x50], esi
fmul qword [edi + 0x28]
call fcn.00438814
add eax, ebx
push 0
mov dword [esp + 0x34], eax
push 1
add eax, esi
push 0
lea ecx, [esp + 0x24]
mov dword [esp + 0x44], eax
call fcn.004531c9
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + 4]
push eax
push ecx
mov dword [esp + 0x50], 0
call fcn.004530dc
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ebp
mov ecx, edi
mov byte [esp + 0x48], 1
call fcn.0041d690
push eax
lea ecx, [esp + 0x14]
call fcn.00453219
mov edx, dword [esp + 0x14]
mov eax, dword [ebp + 4]
push edx
push eax
mov byte [esp + 0x50], 2
call fcn.004530dc
fld qword [edi + 0x38]
fild dword [esp + 0x50]
mov dword [esp + 0x2c], eax
mov eax, esi
cdq
sub eax, edx
fmul st(1)
mov edx, dword [esp + 0x34]
mov esi, eax
fmul st(1)
sar esi, 1
add esi, edx
call fcn.00438814
mov cl, byte [edi]
fstp st(0)
test cl, cl
mov edx, eax
jne 0x41d930
lea edx, [eax + 1]
mov cl, byte [edi + 0x20]
test cl, cl
je 0x41d943
mov edi, dword [esp + 0x38]
mov ecx, esi
sub ecx, eax
add esi, edx
jmp 0x41d94c
mov edi, dword [esp + 0x30]
lea ecx, [edx + esi]
sub esi, eax
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
push esi
push edi
push ecx
mov ecx, dword [esp + 0x48]
mov ebx, edi
push ebx
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [ebp + 4]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_Pie]
mov eax, dword [esp + 0x2c]
test eax, eax
pop ebx
je 0x41d97c
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp + 4]
push eax
call fcn.004530dc
mov esi, vtable.CGdiObject.0
lea ecx, [esp + 0xc]
mov byte [esp + 0x44], 1
mov dword [esp + 0xc], esi
call fcn.004530aa
mov eax, dword [esp + 0x20]
test eax, eax
mov byte [esp + 0x44], 0
je 0x41d9ad
mov eax, dword [eax + 4]
mov ecx, dword [ebp + 4]
push eax
push ecx
call fcn.004530dc
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x14], esi
call fcn.004530aa
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x3c
ret 8
Function at 0x422f40
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x46d1ce
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.0041baf0
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
lea edi, [esi + 8]
push ecx
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0x20], ebx
mov dword [esi], 0x474e18
mov dword [esi + 4], eax
call fcn.004027f0
mov byte [esp + 0x1c], 1
lea ebp, [esi + 0x10]
call fcn.0044f512
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp], eax
push edi
mov ecx, ebp
mov byte [esp + 0x20], 2
mov byte [esi + 0xe], bl
call fcn.00402440
fld qword [0x46fcb8]
mov edi, dword [edi]
fstp qword [esi + 0x28]
push edi
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, dword [esp + 0x14]
cmp eax, 4
sete al
mov byte [esi + 0xc], al
pop edi
mov byte [esi + 0xd], 1
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x429610
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46d79e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0041baf0
mov dword [esp + 0x18], 0
mov dword [esi], 0x475b50
lea edi, [esi + 8]
call fcn.0044f512
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x18], 1
call fcn.0044f512
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x28], eax
mov ebx, dword [esp + 0x24]
test ebx, ebx
mov eax, dword [esp + 0x20]
mov byte [esp + 0x18], 2
mov dword [esi + 4], eax
jne 0x429685
xor eax, eax
jmp 0x42968e
push ebx
call fcn.00437a78
add esp, 4
push eax
push ebx
mov ecx, edi
call fcn.00402040
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
lea ecx, [esi + 0x10]
mov dword [ecx], edx
mov edx, dword [esp + 0x30]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x34]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x38]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x3c]
mov dword [ecx + 0x10], edx
mov dword [ecx + 0x14], eax
mov ecx, dword [esp + 0x10]
pop edi
mov dword [esi + 0x2c], 0xffffffff
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x20

Function at 0x429cb0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, ecx
call edi
sub eax, dword [esi + 0x158]
cmp eax, 0x4b0
jbe 0x429cda
push 0
mov ecx, esi
call fcn.0044a7f5
call edi
mov dword [esi + 0x158], eax
pop edi
pop esi
ret

Function at 0x429ef0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push esi
lea eax, [esp + 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.SoftwareMicrosoftWindowsCurrentVersionExplorer
push SysReAllocString
mov dword [esp + 0x1c], 4
mov dword [esp + 0x18], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x429f25
mov esi, dword [esp + 4]
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x20]
push eax
push 0
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x429f67
cmp dword [esp + 0x18], 3
jne 0x429f67
test esi, esi
push edi
mov edi, dword [esp + 0x10]
je 0x429f5d
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
add esp, 0xc
ret 8
test esi, esi
je 0x429f72
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x14]
pop esi
add esp, 0xc
ret 8