joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4202da
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ff3cb
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x573080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 8
call fcn.004d5b94
mov esi, eax
pop ecx
mov dword [ebp - 0x10], esi
xor eax, eax
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov dword [esi], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esi + 4], ecx
or dword [ebp - 4], 0xffffffff
push eax
push eax
push esi
push 0x420297
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
jne 0x420340
push 8
push esi
call fcn.004d5b86
pop ecx
pop ecx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
leave
ret

Function at 0x4203b4
Capabilities:
Reference sql statements

Disassembly:
push 0x34
mov eax, 0x4ff424
call fcn.004d67b7
mov edi, ecx
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x28]
push str.InstallerAnalytics.dll
mov dword [edi + 0xc], eax
call fcn.00404285
and dword [ebp - 4], 0
lea edx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x40]
call fcn.0045317a
pop ecx
mov byte [ebp - 4], 1
lea esi, [edi + 0x10]
push eax
mov ecx, esi
call fcn.00404232
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.0040569b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040569b
push 0x52d088
lea ecx, [ebp - 0x28]
call fcn.00404285
mov dword [ebp - 4], 2
lea edx, [ebp - 0x28]
mov ecx, dword [ebp + 8]
push esi
call fcn.004a79b0
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040569b
cmp dword [esi + 0x14], 8
jb 0x420442
mov esi, dword [esi]
push 0x5c
push esi
call fcn.004d9b2a
pop ecx
pop ecx
test eax, eax
je 0x420487
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ebx, eax
test ebx, ebx
je 0x420487
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.InitializeEmbeddedUI
push ebx
call esi
push str.ShutdownEmbeddedUI
push ebx
mov dword [edi], eax
call esi
push str.EmbeddedUIHandler
push ebx
mov dword [edi + 4], eax
call esi
mov dword [edi + 8], eax
mov eax, dword [edi]
test eax, eax
je 0x420496
push 0
push 0
push dword [edi + 0xc]
call eax
call fcn.004d6761
ret 8
Function at 0x429697
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, ecx
push esi
push edi
mov eax, dword [ebp + 0x314]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
mov esi, eax
push 0xfffffffffffffff0
push esi
call edi
test eax, 0x10000000
je 0x4296f6
push esi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x4296f6
push 0xfffffffffffffff0
push esi
call edi
shr eax, 0x10
test al, 1
je 0x4296f6
push 0
push 0
push 0x87
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
shr eax, 0xd
test al, 1
jne 0x4296f6
push esi
call dword [sym.imp.USER32.dll_SetFocus]
mov al, 1
jmp 0x429728
push 0
push esi
push dword [ebp + 4]
call dword [sym.imp.USER32.dll_GetNextDlgTabItem]
mov edi, eax
test edi, edi
je 0x429726
cmp edi, esi
je 0x429726
push 0
push 0
push 0x87
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
shr eax, 0xd
test al, 1
jne 0x429726
push edi
jmp 0x4296ec
xor al, al
pop edi
pop esi
pop ebp
ret
Function at 0x42a17b
Capabilities:
Get disk size

Disassembly:
push 0xa8
mov eax, 0x501779
call fcn.004d6825
mov edi, ecx
mov dword [ebp - 0x88], edi
cmp dword [ebp + 8], 1
je 0x42a1a6
and dword [edi + 0x1d4], 0
xor eax, eax
jmp 0x42a326
xor ecx, ecx
mov dword [ebp - 4], ecx
wait
mov esi, dword [edi + 0x288]
mov ebx, dword [edi + 0x28c]
cmp esi, ebx
jne 0x42a1c5
xor eax, eax
inc eax
wait
jmp 0x42a326
mov dword [ebp - 0x98], esi
cmp esi, ebx
je 0x42a2d1
mov eax, dword [esi + 0x28]
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
ucomisd xmm0, qword [0x542df0]
lahf
test ah, 0x44
jnp 0x42a2c9
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x90], ecx
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x42a217
mov eax, dword [esi]
push ecx
lea ecx, [ebp - 0xa4]
push ecx
lea ecx, [ebp - 0x94]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov eax, dword [ebp - 0x94]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x90]
mov dword [esi + 0x24], eax
mov edx, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x94]
call fcn.004f9290
mulsd xmm0, qword [0x542e08]
mov eax, dword [esi + 0x28]
cdq
sub eax, edx
sar eax, 1
movd xmm1, eax
cvtdq2pd xmm1, xmm1
subsd xmm0, xmm1
xorps xmm1, xmm1
comisd xmm1, xmm0
jbe 0x42a2c7
push 0x52bf7c
lea ecx, [ebp - 0x48]
call fcn.00404285
mov byte [ebp - 4], 1
push str.OutOfDiskSpace
lea ecx, [ebp - 0x30]
call fcn.00404285
mov byte [ebp - 4], 2
mov ecx, dword [edi + 0x1dc]
mov eax, dword [ecx]
lea edx, [ebp - 0x48]
push edx
lea edx, [ebp - 0x30]
push edx
call dword [eax + 0xc]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.0040569b
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.0040569b
jmp 0x42a1bc
xor ecx, ecx
add esi, 0x30
jmp 0x42a1c5
push 0x52f3bc
lea ecx, [ebp - 0x30]
call fcn.00404285
mov byte [ebp - 4], 3
push str.OutOfDiskSpace
lea ecx, [ebp - 0x48]
call fcn.00404285
mov byte [ebp - 4], 4
mov ecx, dword [edi + 0x1dc]
mov eax, dword [ecx]
lea edx, [ebp - 0x30]
push edx
lea edx, [ebp - 0x48]
push edx
call dword [eax + 0xc]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x48]
call fcn.0040569b
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.0040569b
wait
or dword [ebp - 4], 0xffffffff
xor eax, eax
inc eax
call fcn.004d6772
ret 4
Function at 0x42c826
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x14
mov eax, 0x501c33
call fcn.004d6783
mov edi, ecx
mov dword [ebp - 0x10], edi
mov ecx, dword [edi + 0x44]
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp + 0x14]
and dword [esi], 0
test al, al
jne 0x42c92f
push 0x17
call dword [sym.imp.USER32.dll_GetSystemMetrics]
xor ecx, ecx
inc ecx
test eax, eax
push 2
pop edx
cmovne ecx, edx
push ecx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
xor ebx, ebx
mov edx, 0x8000
mov cx, ax
and cx, dx
cmp byte [edi + 0x48], bl
sete bl
cmp dword [ebp + 0xc], 8
jne 0x42c895
xor ax, ax
mov dword [esi], 1
cmp ax, cx
sbb esi, esi
neg esi
add esi, 2
jmp 0x42c8b3
cmp dword [ebp + 0xc], 0x14
mov esi, ebx
jne 0x42c8b3
mov eax, dword [ebp + 0x14]
mov dword [eax], 1
xor ax, ax
cmp ax, cx
sbb ebx, ebx
neg ebx
add ebx, 2
push dword [edi - 0x24]
call dword [sym.imp.USER32.dll_GetWindowDC]
mov edi, eax
mov dword [ebp + 0x14], edi
xor eax, eax
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x10]
push eax
push esi
push eax
mov ecx, dword [ecx + 0x44]
push edi
mov edx, dword [ecx]
call dword [edx + 0x18]
mov esi, dword [ebp - 0x10]
push 0
push ebx
push 2
mov ecx, dword [esi + 0x44]
push edi
mov eax, dword [ecx]
call dword [eax + 0x18]
cmp dword [ebp + 0xc], 8
je 0x42c8f2
cmp dword [ebp + 0xc], 0x14
jne 0x42c91c
xor eax, eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [esi - 0x24]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x10
mov dword [ebp - 0x1c], 0x12
call dword [sym.imp.USER32.dll_TrackMouseEvent]
mov edi, dword [ebp + 0x14]
or dword [ebp - 4], 0xffffffff
test edi, edi
je 0x42c92f
and dword [ebp + 0x14], 0
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
xor eax, eax
call fcn.004d674c
ret 0x10
Function at 0x430220
Capabilities:
Check if file exists
Create directory

Disassembly:
push 0x54
mov eax, 0x5025b4
call fcn.004d67b7
xor ebx, ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x60], ebx
call fcn.00466960
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov byte [ebp - 4], 1
mov edx, eax
lea ecx, [ebp - 0x44]
call fcn.0045bcd0
push eax
mov edx, 0x52f950
mov dword [ebp - 0x60], 1
lea ecx, [ebp - 0x5c]
call fcn.00419e5a
pop ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
push eax
call fcn.0043048f
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.0040569b
xor eax, eax
inc eax
mov dword [ebp - 0x60], eax
and eax, 0xfffffffe
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x44]
call fcn.0040569b
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00468590
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
jb 0x4302ae
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x44]
call fcn.0040569b
test esi, esi
jne 0x4302f7
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00468590
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 8
jb 0x4302de
mov eax, dword [eax]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x44]
call fcn.0040569b
test esi, esi
je 0x430326
mov eax, dword [0x576394]
lea ecx, [ebp - 0x2c]
push ecx
cmp dword [0x576398], eax
je 0x430319
mov edx, eax
call fcn.0046a3e0
add dword [0x576394], 0x18
pop ecx
jmp 0x430324
push eax
mov ecx, 0x576390
call fcn.0046a4e0
mov bl, 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0040569b
mov al, bl
call fcn.004d6761
ret

Function at 0x4398f7
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x210]
sub esp, 0x210
push 0xffffffffffffffff
push 0x50439e
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x573080]
xor eax, ebp
mov dword [ebp + 0x20c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, 0x105
lea eax, [ebp]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x4399b7
cmp eax, esi
jae 0x4399b7
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040d91c
xor esi, esi
mov dword [ebp - 4], esi
mov ebx, 0x5307d8
push ebx
call fcn.004dbc76
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x10]
call fcn.00410f2f
test edi, edi
jne 0x439977
mov eax, esi
jmp 0x43997e
push edi
call fcn.004dbc76
pop ecx
push eax
push edi
lea ecx, [ebp - 0x10]
call fcn.00410f2f
mov edi, dword [ebp - 0x10]
push 0x5c
push edi
call fcn.004d9b2a
pop ecx
pop ecx
test eax, eax
je 0x4399a4
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040d635
mov eax, esi
jmp 0x4399b9
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x20c]
xor ecx, ebp
call fcn.004d5b75
add ebp, 0x210
leave
ret
Function at 0x4410f9
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
mov bl, 1
mov ecx, dword [edi + 0x54]
mov eax, ecx
and eax, 0xc
cmp al, 0xc
jne 0x441145
mov eax, dword [edi + 4]
mov esi, dword [sym.imp.USER32.dll_GetDlgCtrlID]
push eax
mov dword [ebp - 0xc], eax
call esi
push dword [edi + 4]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0xfffffffe
call esi
push dword [edi + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [ebp - 0xc]
push ecx
push esi
push 0x4e
push eax
jmp 0x441170
shr ecx, 2
test cl, 1
je 0x441178
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
push dword [edi + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_GetParent]
push dword [edi + 4]
mov ecx, eax
movzx eax, si
push eax
push 0x111
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4411a5
push 1
xor esi, esi
push esi
push esi
push dword [edi + 0x28]
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
seta bl
jbe 0x4411a5
or byte [edi + 0x58], 2
push 1
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
mov al, bl
pop ebx
leave
ret
Function at 0x441b25
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x573080]
xor eax, esp
mov dword [esp + 0x114], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x130]
xor ebp, ebp
push 0x30
pop esi
push esi
mov ebx, ecx
push ebp
push ebx
call fcn.004d99d0
push 0x110
lea eax, [esp + 0x24]
mov dword [esp + 0x20], 0x114
push ebp
push eax
call fcn.004d99d0
add esp, 0x18
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x441b84
cmp dword [esp + 0x14], 6
jae 0x441b87
push 0x2c
pop esi
mov eax, dword [esp + 0x134]
mov dword [ebx], esi
mov dword [ebx + 4], ebp
test eax, eax
jne 0x441ba8
push edi
call dword [sym.imp.USER32.dll_GetParent]
or dword [ebx + 4], 1
mov ecx, eax
mov eax, edi
jmp 0x441baa
mov ecx, edi
mov esi, dword [esp + 0x138]
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], eax
test esi, esi
je 0x441bc2
lea edi, [ebx + 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [0x575298]
mov ecx, dword [esp + 0x124]
pop edi
pop esi
mov dword [ebx + 0x20], eax
mov eax, dword [esp + 0x134]
mov dword [ebx + 0x28], ebp
pop ebp
mov dword [ebx + 0x24], eax
pop ebx
xor ecx, esp
call fcn.004d5b75
add esp, 0x118
ret 0x18
Function at 0x4433e3
Capabilities:
Parse credit card information

Disassembly:
push 0x28
mov eax, 0x505c93
call fcn.004d67b7
mov ebx, ecx
mov edi, ebx
lea eax, [ebx - 0x154]
neg edi
sbb edi, edi
and edi, eax
cmp dword [ebx + 0x14], 0
je 0x443534
xor eax, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
push 0xb0
push dword [edi + 0x14c]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x2c]
jne 0x443530
mov al, byte [ebp + 8]
cbw
push eax
mov dword [ebp - 0x30], eax
call fcn.004ded22
pop ecx
test eax, eax
je 0x443530
movsx ecx, byte [ebp + 8]
movzx eax, word [ebx]
mov dword [ebp - 0x34], ecx
cmp eax, ecx
je 0x443534
call fcn.0040d32d
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040d156
mov dword [ebp - 4], 1
lea eax, [ebp - 0x2c]
push eax
lea ecx, [edi + 4]
call fcn.00410cb2
mov esi, dword [ebp - 0x2c]
lea ecx, [ebp - 0x28]
push esi
call fcn.00404285
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebx + 0x14]
jae 0x443506
add ebx, 4
mov eax, ebx
cmp dword [ebx + 0x14], 8
jb 0x4434a5
mov eax, dword [ebx]
movzx eax, word [eax + ecx*2]
cmp eax, 0x3d
ja 0x4434d4
je 0x443512
sub eax, 0x23
je 0x4434c0
dec eax
sub eax, 1
je 0x4434c0
sub eax, 1
jmp 0x4434e6
push dword [ebp - 0x30]
call fcn.004ded0f
pop ecx
test eax, eax
jne 0x443512
push 0x1056
jmp 0x4434fe
cmp eax, 0x3f
jb 0x4434e8
cmp eax, 0x40
jbe 0x443512
cmp eax, 0x5e
je 0x443512
cmp eax, 0x60
je 0x443512
cmp dword [ebx + 0x14], 8
jb 0x4434f0
mov ebx, dword [ebx]
movzx eax, word [ebx + ecx*2]
cmp dword [ebp - 0x34], eax
je 0x443512
push 0x1057
push ecx
mov ecx, edi
call fcn.0041c51a
push 0x10
call dword [sym.imp.USER32.dll_MessageBeep]
xor ebx, ebx
jmp 0x443514
mov bl, 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0040569b
or dword [ebp - 4], 0xffffffff
lea ecx, [esi - 0x10]
call fcn.0040d635
mov al, bl
jmp 0x443536
mov al, 1
jmp 0x443536
xor al, al
call fcn.004d6761
ret 4
Function at 0x45317a
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x414]
sub esp, 0x414
push 0xffffffffffffffff
push 0x5086ed
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x573080]
xor eax, ebp
mov dword [ebp + 0x410], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x14], esi
lea eax, [ebp]
mov dword [ebp - 0x18], esi
push eax
xor ebx, ebx
push 0x104
mov dword [ebp - 0x10], ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x4531e4
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], 7
mov word [esi], ax
jmp 0x45322d
cmp dword [edi + 0x14], 8
jb 0x4531ec
mov edi, dword [edi]
lea eax, [ebp + 0x208]
push eax
push ebx
push edi
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x453212
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], 7
mov word [esi], ax
jmp 0x45322d
lea eax, [ebp + 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp + 0x208]
mov ecx, esi
push eax
call fcn.00404285
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.004d5b75
add ebp, 0x414
leave
ret

Function at 0x45325c
Capabilities:
Get disk information

Disassembly:
push 0x20
mov eax, 0x50871d
call fcn.004d67b7
mov ebx, ecx
mov dword [ebp - 0x2c], ebx
push dword [ebx + 4]
push dword [ebx]
call fcn.004043d4
mov eax, dword [ebx]
mov dword [ebx + 4], eax
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov esi, eax
lea ecx, [ebp - 0x28]
push ebx
push esi
call fcn.00453a01
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x4532e9
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
mov edx, eax
cmovae ecx, dword [ebp - 0x28]
push esi
call fcn.0046c110
mov eax, dword [esi + 4]
sub eax, dword [esi]
pop ecx
push 0x18
cdq
pop ecx
idiv ecx
test eax, eax
setne bl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040569b
mov al, bl
call fcn.004d6761
ret
Function at 0x458651
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x204]
sub esp, 0x204
push 0xffffffffffffffff
push 0x509900
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x573080]
xor eax, ebp
mov dword [ebp + 0x200], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, dword [ebp + 0x20c]
xor eax, eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], eax
mov eax, dword [ebx + 4]
or eax, 0x2001f
push eax
push ecx
push dword [ebx]
lea ecx, [ebp - 0x18]
call fcn.00441ac9
jmp 0x4586c4
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x18]
call fcn.00458651
mov esi, eax
test esi, esi
jne 0x45870e
lea eax, [ebp - 0x28]
mov dword [ebp - 0x1c], 0x100
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp]
push eax
push esi
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x4586b8
cmp dword [ebp - 0x18], esi
je 0x4586ff
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x18], esi
push dword [ebp - 0x20]
mov ecx, ebx
mov dword [ebp - 0x14], esi
call fcn.004587d3
mov esi, eax
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 0
je 0x458725
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 0x18], 0
and dword [ebp - 0x14], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp + 0x200]
xor ecx, ebp
call fcn.004d5b75
add ebp, 0x204
leave
ret 4
Function at 0x45910f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x509988
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x573080]
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 edi, dword [ebp + 0x410]
mov eax, dword [ebp + 0x414]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x418]
mov dword [ebp - 0x14], eax
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], ebx
mov dword [ebp], ebx
mov byte [ebp - 4], 1
push 0x60
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
jne 0x4591aa
push 2
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
mov dword [ebp - 0x1c], eax
test esi, esi
jne 0x4591aa
call fcn.0040c222
mov edi, eax
jmp 0x459293
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4591c7
call fcn.0040c222
jmp 0x459286
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4591bd
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x18], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x4591f4
mov edi, 0x8007000e
jmp 0x459288
push 2
pop ecx
mov byte [ebp - 4], cl
mul ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
cmp edx, ebx
ja 0x4592d1
jb 0x459215
cmp eax, 0xffffffff
ja 0x4592d1
cmp eax, 0x400
jbe 0x459227
push eax
lea ecx, [ebp]
call fcn.0045186d
jmp 0x45922d
lea eax, [ebp + 4]
mov dword [ebp], eax
mov dword [ebp - 4], 1
jmp 0x45924b
cmp dword [ebp], 0
je 0x4591ea
push edi
push dword [ebp]
push edi
push dword [ebp - 0x14]
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x4591bd
xor edx, edx
mov eax, dword [ebp]
mov word [eax + ecx*2], dx
push dword [ebp + 0x41c]
push dword [ebp]
lea ecx, [ebp - 0x24]
call fcn.00458fc3
mov edi, eax
test esi, esi
je 0x459293
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], bl
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x4592a6
lea ecx, [ebp]
call fcn.00451864
or dword [ebp - 4], 0xffffffff
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.004d5b75
add ebp, 0x408
leave
ret 0x10
push 0x80070216
call fcn.0040d85a
int3
Function at 0x469ad0
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fe9d0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x573080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
cmp esi, edi
je 0x469b80
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.00468590
mov dword [ebp - 4], 0
mov ecx, eax
call fcn.00469c50
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x469b60
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x469b56
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x469c44
push edx
push ecx
call fcn.004d5b86
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
add esi, 0x18
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp esi, edi
jne 0x469b06
mov edi, dword [ebx + 4]
mov esi, dword [ebx]
push edi
push esi
call fcn.0046a2f0
mov eax, dword [ebx]
mov dword [ebx + 4], eax
mov esi, dword [ebx + 0x10]
mov edi, dword [ebx + 0xc]
cmp esi, edi
je 0x469c10
lea eax, [ebp - 0x28]
lea ecx, [esi - 0x18]
push eax
call fcn.00468590
mov dword [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x469bb1
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x469bf5
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x469beb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x469c44
push edx
push ecx
call fcn.004d5b86
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
add esi, 0xffffffe8
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp esi, edi
jne 0x469b96
push dword [ebx + 0x10]
push dword [ebx + 0xc]
call fcn.0046a2f0
mov eax, dword [ebx + 0xc]
mov ecx, ebx
mov dword [ebx + 0x10], eax
call fcn.00469f60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d5b75
mov esp, ebp
pop ebp
ret
call fcn.004dbc26
int3