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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50755b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x57c080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 8
call fcn.004dab63
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 0x420287
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
jne 0x420330
push 8
push esi
call fcn.004dab55
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 0x4203a4
Capabilities:
Reference sql statements

Disassembly:
push 0x34
mov eax, 0x5075b4
call fcn.004db787
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.00453156
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 0x536248
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.004acbcf
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040569b
cmp dword [esi + 0x14], 8
jb 0x420432
mov esi, dword [esi]
push 0x5c
push esi
call fcn.004deafa
pop ecx
pop ecx
test eax, eax
je 0x420477
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ebx, eax
test ebx, ebx
je 0x420477
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 0x420486
push 0
push 0
push dword [edi + 0xc]
call eax
call fcn.004db731
ret 8
Function at 0x429684
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 0x4296e3
push esi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x4296e3
push 0xfffffffffffffff0
push esi
call edi
shr eax, 0x10
test al, 1
je 0x4296e3
push 0
push 0
push 0x87
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
shr eax, 0xd
test al, 1
jne 0x4296e3
push esi
call dword [sym.imp.USER32.dll_SetFocus]
mov al, 1
jmp 0x429715
push 0
push esi
push dword [ebp + 4]
call dword [sym.imp.USER32.dll_GetNextDlgTabItem]
mov edi, eax
test edi, edi
je 0x429713
cmp edi, esi
je 0x429713
push 0
push 0
push 0x87
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
shr eax, 0xd
test al, 1
jne 0x429713
push edi
jmp 0x4296d9
xor al, al
pop edi
pop esi
pop ebp
ret
Function at 0x42a168
Capabilities:
Get disk size

Disassembly:
push 0xa8
mov eax, 0x509909
call fcn.004db7f5
mov edi, ecx
mov dword [ebp - 0x88], edi
cmp dword [ebp + 8], 1
je 0x42a193
and dword [edi + 0x1d4], 0
xor eax, eax
jmp 0x42a313
xor ecx, ecx
mov dword [ebp - 4], ecx
wait
mov esi, dword [edi + 0x288]
mov ebx, dword [edi + 0x28c]
cmp esi, ebx
jne 0x42a1b2
xor eax, eax
inc eax
wait
jmp 0x42a313
mov dword [ebp - 0x98], esi
cmp esi, ebx
je 0x42a2be
mov eax, dword [esi + 0x28]
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
ucomisd xmm0, qword [0x54bf98]
lahf
test ah, 0x44
jnp 0x42a2b6
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 0x42a204
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.00501420
mulsd xmm0, qword [0x54bfb0]
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 0x42a2b4
push 0x53513c
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 0x42a1a9
xor ecx, ecx
add esi, 0x30
jmp 0x42a1b2
push 0x53857c
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.004db742
ret 4
Function at 0x42c813
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x14
mov eax, 0x509dc3
call fcn.004db753
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 0x42c91c
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 0x42c882
xor ax, ax
mov dword [esi], 1
cmp ax, cx
sbb esi, esi
neg esi
add esi, 2
jmp 0x42c8a0
cmp dword [ebp + 0xc], 0x14
mov esi, ebx
jne 0x42c8a0
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 0x42c8df
cmp dword [ebp + 0xc], 0x14
jne 0x42c909
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 0x42c91c
and dword [ebp + 0x14], 0
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
xor eax, eax
call fcn.004db71c
ret 0x10
Function at 0x43020d
Capabilities:
Check if file exists
Create directory

Disassembly:
push 0x54
mov eax, 0x50a744
call fcn.004db787
xor ebx, ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x60], ebx
call fcn.0046b980
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.0045bca0
push eax
mov edx, 0x538b10
mov dword [ebp - 0x60], 1
lea ecx, [ebp - 0x5c]
call fcn.00419e4a
pop ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
push eax
call fcn.0043047c
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.0046d470
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
jb 0x43029b
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 0x4302e4
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0046d470
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 8
jb 0x4302cb
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 0x430313
mov eax, dword [0x57f3d4]
lea ecx, [ebp - 0x2c]
push ecx
cmp dword [0x57f3d8], eax
je 0x430306
mov edx, eax
call fcn.0046f430
add dword [0x57f3d4], 0x18
pop ecx
jmp 0x430311
push eax
mov ecx, 0x57f3d0
call fcn.0046f530
mov bl, 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0040569b
mov al, bl
call fcn.004db731
ret

Function at 0x4398de
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x210]
sub esp, 0x210
push 0xffffffffffffffff
push 0x50c530
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x57c080]
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 0x43999e
cmp eax, esi
jae 0x43999e
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040d91c
xor esi, esi
mov dword [ebp - 4], esi
mov ebx, 0x539998
push ebx
call fcn.004e0c46
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x10]
call fcn.00410f2f
test edi, edi
jne 0x43995e
mov eax, esi
jmp 0x439965
push edi
call fcn.004e0c46
pop ecx
push eax
push edi
lea ecx, [ebp - 0x10]
call fcn.00410f2f
mov edi, dword [ebp - 0x10]
push 0x5c
push edi
call fcn.004deafa
pop ecx
pop ecx
test eax, eax
je 0x43998b
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 0x4399a0
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.004dab44
add ebp, 0x210
leave
ret
Function at 0x4410e1
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 0x44112d
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 0x441158
shr ecx, 2
test cl, 1
je 0x441160
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 0x44118d
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 0x44118d
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 0x441b0d
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x57c080]
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.004de9a0
push 0x110
lea eax, [esp + 0x24]
mov dword [esp + 0x20], 0x114
push ebp
push eax
call fcn.004de9a0
add esp, 0x18
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x441b6c
cmp dword [esp + 0x14], 6
jae 0x441b6f
push 0x2c
pop esi
mov eax, dword [esp + 0x134]
mov dword [ebx], esi
mov dword [ebx + 4], ebp
test eax, eax
jne 0x441b90
push edi
call dword [sym.imp.USER32.dll_GetParent]
or dword [ebx + 4], 1
mov ecx, eax
mov eax, edi
jmp 0x441b92
mov ecx, edi
mov esi, dword [esp + 0x138]
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], eax
test esi, esi
je 0x441baa
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 [0x57e2d8]
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.004dab44
add esp, 0x118
ret 0x18
Function at 0x4433cb
Capabilities:
Parse credit card information

Disassembly:
push 0x28
mov eax, 0x50de25
call fcn.004db787
mov ebx, ecx
mov edi, ebx
lea eax, [ebx - 0x154]
neg edi
sbb edi, edi
and edi, eax
cmp dword [ebx + 0x14], 0
je 0x44351c
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 0x443518
mov al, byte [ebp + 8]
cbw
push eax
mov dword [ebp - 0x30], eax
call fcn.004e3cf2
pop ecx
test eax, eax
je 0x443518
movsx ecx, byte [ebp + 8]
movzx eax, word [ebx]
mov dword [ebp - 0x34], ecx
cmp eax, ecx
je 0x44351c
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 0x4434ee
add ebx, 4
mov eax, ebx
cmp dword [ebx + 0x14], 8
jb 0x44348d
mov eax, dword [ebx]
movzx eax, word [eax + ecx*2]
cmp eax, 0x3d
ja 0x4434bc
je 0x4434fa
sub eax, 0x23
je 0x4434a8
dec eax
sub eax, 1
je 0x4434a8
sub eax, 1
jmp 0x4434ce
push dword [ebp - 0x30]
call fcn.004e3cdf
pop ecx
test eax, eax
jne 0x4434fa
push 0x1056
jmp 0x4434e6
cmp eax, 0x3f
jb 0x4434d0
cmp eax, 0x40
jbe 0x4434fa
cmp eax, 0x5e
je 0x4434fa
cmp eax, 0x60
je 0x4434fa
cmp dword [ebx + 0x14], 8
jb 0x4434d8
mov ebx, dword [ebx]
movzx eax, word [ebx + ecx*2]
cmp dword [ebp - 0x34], eax
je 0x4434fa
push 0x1057
push ecx
mov ecx, edi
call fcn.0041c50a
push 0x10
call dword [sym.imp.USER32.dll_MessageBeep]
xor ebx, ebx
jmp 0x4434fc
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 0x44351e
mov al, 1
jmp 0x44351e
xor al, al
call fcn.004db731
ret 4
Function at 0x453156
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x414]
sub esp, 0x414
push 0xffffffffffffffff
push 0x51088c
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x57c080]
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 0x4531c0
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], 7
mov word [esi], ax
jmp 0x453209
cmp dword [edi + 0x14], 8
jb 0x4531c8
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 0x4531ee
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], 7
mov word [esi], ax
jmp 0x453209
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.004dab44
add ebp, 0x414
leave
ret

Function at 0x453238
Capabilities:
Get disk information

Disassembly:
push 0x20
mov eax, 0x5108bc
call fcn.004db787
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.004539dd
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 0x4532c5
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.00471160
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.004db731
ret
Function at 0x45862c
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x204]
sub esp, 0x204
push 0xffffffffffffffff
push 0x511a9f
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x57c080]
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.00441ab1
jmp 0x45869f
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x18]
call fcn.0045862c
mov esi, eax
test esi, esi
jne 0x4586e9
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 0x458693
cmp dword [ebp - 0x18], esi
je 0x4586da
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.004587ae
mov esi, eax
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 0
je 0x458700
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.004dab44
add ebp, 0x204
leave
ret 4
Function at 0x4590ea
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x511b27
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x57c080]
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 0x459185
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 0x459185
call fcn.0040c222
mov edi, eax
jmp 0x45926e
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4591a2
call fcn.0040c222
jmp 0x459261
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x459198
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 0x4591cf
mov edi, 0x8007000e
jmp 0x459263
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 0x4592ac
jb 0x4591f0
cmp eax, 0xffffffff
ja 0x4592ac
cmp eax, 0x400
jbe 0x459202
push eax
lea ecx, [ebp]
call fcn.00451852
jmp 0x459208
lea eax, [ebp + 4]
mov dword [ebp], eax
mov dword [ebp - 4], 1
jmp 0x459226
cmp dword [ebp], 0
je 0x4591c5
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 0x459198
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.00458f9e
mov edi, eax
test esi, esi
je 0x45926e
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], bl
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x459281
lea ecx, [ebp]
call fcn.00451849
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.004dab44
add ebp, 0x408
leave
ret 0x10
push 0x80070216
call fcn.0040d85a
int3
Function at 0x46eb20
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x506b60
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x57c080]
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 0x46ebd0
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.0046d470
mov dword [ebp - 4], 0
mov ecx, eax
call fcn.0046eca0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x46ebb0
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46eba6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46ec94
push edx
push ecx
call fcn.004dab55
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 0x46eb56
mov edi, dword [ebx + 4]
mov esi, dword [ebx]
push edi
push esi
call fcn.0046f340
mov eax, dword [ebx]
mov dword [ebx + 4], eax
mov esi, dword [ebx + 0x10]
mov edi, dword [ebx + 0xc]
cmp esi, edi
je 0x46ec60
lea eax, [ebp - 0x28]
lea ecx, [esi - 0x18]
push eax
call fcn.0046d470
mov dword [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x46ec01
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 0x46ec45
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46ec3b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46ec94
push edx
push ecx
call fcn.004dab55
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 0x46ebe6
push dword [ebx + 0x10]
push dword [ebx + 0xc]
call fcn.0046f340
mov eax, dword [ebx + 0xc]
mov ecx, ebx
mov dword [ebx + 0x10], eax
call fcn.0046efb0
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.004dab44
mov esp, ebp
pop ebp
ret
call fcn.004e0bf6
int3