joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41d2b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push str.Printer.ini
lea eax, [ebp - 4]
push 0x5eb0a4
push eax
call fcn.00417350
add esp, 0xc
push dword [eax]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, dword [ebp - 4]
mov esi, eax
add edx, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x41d2fb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41d300
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x5e6044]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
push str.Printer.ini
mov dword [ebp - 0x12c], eax
lea eax, [ebp - 0x128]
push 0x5eb0a4
push eax
mov dword [ebp - 0x130], 0
call fcn.00417350
add esp, 0xc
push dword [eax]
lea eax, [ebp - 0x124]
push 0x80
push eax
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov esi, dword [ebp - 0x128]
or eax, 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41d380
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 0x12c]
lea eax, [ebp - 0x124]
push eax
call fcn.00402a60
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x12c]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0054d0e6
mov esp, ebp
pop ebp
ret
Function at 0x423ca0
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x57eb98
call fcn.0054dd13
mov edi, ecx
xor esi, esi
cmp dword [edi + 0x74], esi
jne 0x423cc6
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x423d1a
call fcn.004233b1
push eax
lea ecx, [ebp - 0x10]
call fcn.00422679
mov ecx, dword [edi + 0x74]
lea edx, [ebp - 0x10]
push edx
mov dword [ebp - 4], esi
mov eax, dword [ecx]
call dword [eax + 0x8c]
mov edi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push edi
call fcn.0056214d
push eax
call fcn.00402f70
add esp, 0x14
test edi, edi
je 0x423d0d
push edi
call fcn.00562158
pop ecx
mov esi, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00422c3b
mov eax, esi
call fcn.0054dcdc
ret 8

Function at 0x426773
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.00423913
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x4267af
call fcn.00426a7f
mov dword [esi + 0xc], 1
jmp 0x4267b4
call fcn.00426a7f
cmp dword [esi], 0
je 0x4267fd
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x4267d7
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.0042463d
jmp 0x4267e8
push 0xff
mov ecx, esi
call fcn.00422bb1
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.00424660
jmp 0x426821
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x426821
push dword [esi]
push dword [ebp - 4]
call fcn.0043be32
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4269d4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.00426a7f
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x426a1c
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0042463d
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00424660
jmp 0x426a27
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0043be32
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x429628
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x42966d
call fcn.004249a8
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x42966d
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x429689
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00426e0c
mov ebx, eax
test edi, edi
je 0x429687
test esi, esi
je 0x429687
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x429fad
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x42a06b
cmp dword [esi + 0x20], 0
je 0x42a06b
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42a06b
cmp dword [ebp + 8], 0
je 0x42a06b
xor eax, eax
mov ebx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
mov edi, eax
call fcn.004249a8
push 0x5959a8
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 8], eax
test eax, eax
je 0x42a03c
mov edi, dword [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp + 8]
mov dword [ebp - 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x42a06b
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 8], eax
push dword [ebp - 4]
push ebx
push esi
call fcn.0043e840
add esp, 0xc
mov ebx, eax
cmp dword [ebp - 8], 0
je 0x42a05c
test edi, edi
je 0x42a05c
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
test ebx, ebx
je 0x42a067
mov ecx, esi
call fcn.00429d77
mov eax, ebx
jmp 0x42a06d
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x42e432
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.004249a8
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x42e469
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.0042e48a
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42e741
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x28
mov eax, 0x575d60
call fcn.0054dd7e
mov esi, ecx
mov dword [ebp - 0x24], esi
mov eax, dword [esi + 0x8c]
mov edi, dword [esi + 0x88]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], edi
call fcn.004249a8
xor ebx, ebx
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x20], eax
cmp dword [esi + 0x84], ebx
je 0x42e7a0
call fcn.004249a8
push 5
push dword [esi + 0x84]
mov edi, dword [eax + 0xc]
push edi
mov dword [ebp - 0x20], edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
mov dword [ebp - 0x1c], eax
test edi, edi
je 0x42e7b0
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x14], eax
jmp 0x42e7b3
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x42e7bf
or eax, 0xffffffff
jmp 0x42e907
mov ecx, esi
call fcn.0042ecd8
mov edi, eax
mov dword [ebp - 0x30], edi
call fcn.0042843a
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x28], ebx
test edi, edi
je 0x42e837
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp edi, eax
je 0x42e837
push edi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x42e837
push ebx
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x2c], 1
call fcn.00424233
mov dword [ebp - 0x18], eax
test eax, eax
je 0x42e837
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x150]
test eax, eax
je 0x42e837
mov ecx, dword [ebp - 0x18]
call fcn.00423dbd
test eax, eax
je 0x42e837
mov ecx, dword [ebp - 0x18]
push ebx
call fcn.004237bd
mov dword [ebp - 0x28], 1
push esi
mov dword [ebp - 4], ebx
call fcn.004280d2
push edi
call fcn.00429692
push dword [ebp - 0x20]
mov ecx, esi
push eax
push dword [ebp - 0x14]
call fcn.0042e6e2
test eax, eax
jne 0x42e87f
cmp dword [esi + 0x9c], ebx
jne 0x42e87f
call fcn.004249a8
push edi
mov eax, dword [eax + 8]
mov dword [ebp - 0x20], eax
call fcn.00429692
push dword [ebp - 0x20]
mov ecx, esi
push eax
push dword [ebp - 0x14]
call fcn.0042e6e2
or dword [ebp - 4], 0xffffffff
mov dword [esi + 0x9c], ebx
jmp 0x42e8b0
cmp dword [ebp - 0x28], 0
je 0x42e8c0
mov ecx, dword [ebp - 0x18]
push 1
call fcn.004237bd
cmp dword [ebp - 0x2c], 0
je 0x42e8cf
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
test edi, edi
je 0x42e8e5
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x42e8e5
push edi
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.0042ec8f
cmp dword [esi + 0x84], ebx
je 0x42e904
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x68]
call fcn.0054dcdc
ret
Function at 0x4308b1
Capabilities:
Get disk information

Disassembly:
push 0x268
mov eax, 0x575e9a
call fcn.0054dd47
mov esi, dword [ebp + 8]
xor eax, eax
mov ebx, dword [ebp + 0xc]
test esi, esi
mov edi, dword [ebp + 0x10]
setne al
mov dword [ebp - 0x264], esi
test eax, eax
jne 0x4308df
call fcn.004224b6
xor eax, eax
test ebx, ebx
setne al
test eax, eax
je 0x4308da
lea eax, [ebp - 0x268]
push eax
push esi
push 0x104
push ebx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
jne 0x430927
push 0xffffffffffffffff
push ebx
push 0x104
push esi
call fcn.0056214d
push eax
call fcn.00402f70
add esp, 0x14
push ebx
push edi
call fcn.00430884
xor eax, eax
jmp 0x430a4a
cmp eax, 0x104
jb 0x430944
test edi, edi
je 0x430920
push ebx
lea ecx, [edi + 0x10]
mov dword [edi + 8], 3
call fcn.00422c7e
jmp 0x430920
call fcn.004233b1
push eax
lea ecx, [ebp - 0x26c]
call fcn.00422679
and dword [ebp - 4], 0
lea eax, [ebp - 0x26c]
push eax
push esi
call fcn.004301b4
mov esi, dword [ebp - 0x26c]
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsUNCW]
test eax, eax
jne 0x430a3f
xor ecx, ecx
lea eax, [ebp - 0x270]
push ecx
push ecx
push eax
lea eax, [ebp - 0x274]
push eax
push ecx
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
jne 0x4309af
push ebx
push edi
call fcn.00430884
lea ecx, [esi - 0x10]
call fcn.00422c3b
jmp 0x430920
mov eax, dword [ebp - 0x270]
test al, 2
jne 0x4309cb
push dword [ebp - 0x264]
call dword [sym.imp.USER32.dll_CharUpperW]
mov eax, dword [ebp - 0x270]
test al, 4
jne 0x430a3f
lea eax, [ebp - 0x260]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x430a3f
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x268]
test eax, eax
je 0x43099b
cmp eax, dword [ebp - 0x264]
jbe 0x43099b
lea eax, [ebp - 0x234]
push eax
call fcn.00562158
mov edx, dword [ebp - 0x268]
sub edx, dword [ebp - 0x264]
sar edx, 1
pop ecx
add eax, edx
mov ecx, 0x104
cmp eax, ecx
jge 0x430a52
lea eax, [ebp - 0x234]
sub ecx, edx
push eax
push ecx
push dword [ebp - 0x268]
call fcn.0055929c
push eax
call fcn.00402f70
add esp, 0x10
lea ecx, [esi - 0x10]
call fcn.00422c3b
xor eax, eax
inc eax
call fcn.0054dcf1
ret 0xc
test edi, edi
je 0x4309a2
push ebx
lea ecx, [edi + 0x10]
mov dword [edi + 8], 3
call fcn.00422c7e
jmp 0x4309a2
Function at 0x434d83
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x576204
mov eax, dword fs:[0]
push eax
mov eax, 0x201c
call fcn.0054dab0
mov eax, dword [0x5e6044]
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 edx, dword [ebp + 0x10]
xor ebx, ebx
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x2020], edx
mov dword [ebp - 0x2028], ebx
cmp dword [ecx + 0x58], ebx
je 0x434eba
push ebx
push eax
call fcn.00434f09
mov ebx, eax
test ebx, ebx
jne 0x434deb
push esi
jmp 0x434ee2
call fcn.004233b1
push eax
lea ecx, [ebp - 0x2014]
call fcn.00422679
xor ecx, ecx
lea eax, [ebp - 0x2018]
push eax
push ecx
lea eax, [ebp - 0x201c]
mov dword [ebp - 4], ecx
push eax
push ecx
push dword [ebp - 0x2020]
mov dword [ebp - 0x201c], ecx
push ebx
mov dword [ebp - 0x2018], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x2024], eax
test eax, eax
jne 0x434e79
mov eax, dword [ebp - 0x2018]
lea ecx, [ebp - 0x2014]
shr eax, 1
push eax
call fcn.00422bb1
lea ecx, [ebp - 0x2018]
push ecx
push eax
lea eax, [ebp - 0x201c]
push eax
push 0
push dword [ebp - 0x2020]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x2014]
mov dword [ebp - 0x2024], eax
call fcn.00424660
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x2024], 0
jne 0x434ea7
mov esi, dword [ebp - 0x2014]
add esi, 0xfffffff0
push esi
call fcn.004023f0
pop ecx
add eax, 0x10
mov ecx, esi
mov dword [edi], eax
call fcn.00422c3b
jmp 0x434ee9
push esi
mov ecx, edi
call fcn.00402a60
mov ecx, dword [ebp - 0x2014]
lea ecx, [ecx - 0x10]
jmp 0x434ea0
test esi, esi
jne 0x434ec3
mov esi, 0x584f5c
push dword [ecx + 0x6c]
lea ecx, [ebp - 0x2010]
push 0x1000
push ecx
push esi
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x2010]
push eax
mov ecx, edi
call fcn.00402a60
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 - 0x10]
xor ecx, ebp
call fcn.0054d0e6
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4354c6
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push 0x228
mov eax, 0x576296
call fcn.0054dd47
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x234], edi
call fcn.0043544f
mov dword [ebp - 0x22c], eax
test eax, eax
je 0x43551a
lea eax, [ebp - 0x22c]
mov ecx, esi
push eax
call fcn.0043545e
test eax, eax
je 0x435512
mov edx, dword [eax]
mov ecx, eax
push edi
push edi
push 0xfffffffffffffffc
push edi
call dword [edx + 0xc]
cmp dword [ebp - 0x22c], edi
jne 0x4354f4
cmp dword [esi + 0x58], edi
je 0x435635
xor eax, eax
cmp dword [esi + 0x6c], edi
setne al
test eax, eax
jne 0x435534
call fcn.004224b6
push str.Software_
lea ecx, [ebp - 0x220]
call fcn.00402a60
push dword [esi + 0x58]
lea ecx, [ebp - 0x220]
mov dword [ebp - 4], edi
call fcn.00422a41
push 0x584f60
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.00417350
push dword [esi + 0x6c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x228]
push eax
call fcn.00417350
add esp, 0x18
mov ecx, dword [ebp - 0x230]
mov byte [ebp - 4], 3
lea ecx, [ecx - 0x10]
call fcn.00422c3b
push edi
lea eax, [ebp - 0x228]
mov esi, connect
push eax
push esi
call fcn.00435287
lea eax, [ebp - 0x224]
push eax
push 8
push edi
push dword [ebp - 0x220]
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4355fe
push 0x104
lea eax, [ebp - 0x21c]
push eax
push edi
push dword [ebp - 0x224]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
cmp eax, 0x103
jne 0x4355f2
push edi
lea eax, [ebp - 0x220]
push eax
push esi
call fcn.00435287
push dword [ebp - 0x224]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x228]
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov ecx, dword [ebp - 0x228]
add ecx, 0xfffffff0
call fcn.00422c3b
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.00422c3b
xor eax, eax
inc eax
call fcn.0054dcf1
ret
Function at 0x440cce
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
test byte [esi + 4], 1
je 0x440ce8
mov edi, dword [esi + 0xc]
jmp 0x440d28
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x440d01
call fcn.004253b8
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x440d16
call fcn.004253b8
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x440d28
call fcn.004253b8
call fcn.004249a8
cmp dword [eax + 0x3c], 0
je 0x440d3d
push edi
mov ecx, ebx
call fcn.004404c3
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.00440f11
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x440d66
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x440d72
mov edi, ebx
mov dword [eax + 0x88], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4589b2
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x438
mov eax, 0x577975
call fcn.0054dd47
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x42c], ebx
call fcn.004249a8
push ebx
mov ecx, dword [eax + 4]
call fcn.00434aca
mov esi, eax
mov dword [ebp - 0x440], ebx
mov dword [ebp - 0x444], esi
mov dword [ebp - 0x43c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x438], ebx
mov dword [ebp - 0x434], ebx
mov dword [ebp - 0x430], ebx
mov eax, dword [edi]
lea ecx, [ebp - 0x424]
push ecx
mov ecx, edi
mov byte [ebp - 4], 1
call dword [eax + 0x20]
push 0x2001f
lea ecx, [ebp - 0x438]
push dword [eax]
push esi
call fcn.004585f9
mov ecx, dword [ebp - 0x424]
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [ecx - 0x10]
call fcn.00422c3b
add bl, 1
je 0x458b54
xor ebx, ebx
lea eax, [ebp - 0x218]
push 0x208
push ebx
push eax
mov esi, ebx
call fcn.0054f5e0
add esp, 0xc
mov dword [ebp - 0x424], 0x104
lea eax, [ebp - 0x424]
push ebx
push ebx
push ebx
push ebx
push eax
lea eax, [ebp - 0x218]
push eax
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
jmp 0x458b10
push 0x208
lea eax, [ebp - 0x420]
mov dword [ebp - 0x424], 0x104
push 0
push eax
inc esi
call fcn.0054f5e0
add esp, 0xc
mov dword [ebp - 0x428], 0x104
lea eax, [ebp - 0x428]
lea ecx, [ebp - 0x438]
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0045893f
test eax, eax
jne 0x458afb
lea eax, [ebp - 0x218]
push eax
lea ecx, [edi + 4]
call fcn.0045777e
lea ecx, [ebp - 0x420]
push ecx
mov ecx, eax
call fcn.00422c7e
mov dword [ebp - 0x42c], 1
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x218]
push eax
push esi
push dword [ebp - 0x438]
call ebx
test eax, eax
je 0x458a85
lea ecx, [ebp - 0x438]
call fcn.00434ab0
mov eax, dword [edi]
lea ecx, [ebp - 0x428]
push ecx
mov ecx, edi
call dword [eax + 0x20]
lea ecx, [ebp - 0x444]
push dword [eax]
call fcn.00457e38
mov ecx, dword [ebp - 0x428]
add ecx, 0xfffffff0
call fcn.00422c3b
lea ecx, [ebp - 0x438]
call fcn.00434ab0
lea ecx, [ebp - 0x444]
call fcn.00434ab0
mov eax, dword [ebp - 0x42c]
call fcn.0054dcf1
ret
Function at 0x470bfe
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xddc
mov eax, dword [0x5e6044]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
test edx, edx
je 0x470e23
test esi, esi
je 0x470e23
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 0x874], ebx
mov dword [ebp - 0x870], ebx
mov dword [ebp - 0x86c], ebx
mov dword [ebp - 0x868], ebx
mov dword [ebp - 0x864], ebx
mov dword [ebp - 0x860], ebx
mov dword [ebp - 0x644], ebx
mov dword [ebp - 0x640], ebx
mov dword [ebp - 0x63c], ebx
mov dword [ebp - 0x638], ebx
mov dword [ebp - 0x634], ebx
mov dword [ebp - 0x630], ebx
sub eax, ebx
je 0x470df4
sub eax, 1
je 0x470c96
sub eax, 1
je 0x470d5c
sub eax, 1
jne 0x470e0e
mov edi, dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea eax, [ebp - 0x20c]
push eax
push dword [edx + 4]
call edi
test eax, eax
je 0x470def
push ebx
lea eax, [ebp - 0x874]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.004389d9
test eax, eax
je 0x470def
lea eax, [ebp - 0x414]
push eax
push dword [esi + 4]
call edi
test eax, eax
je 0x470d54
push ebx
lea eax, [ebp - 0x644]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.004389d9
test eax, eax
je 0x470d54
cmp dword [ebp + 0x10], 1
jne 0x470db4
test byte [ebp - 0x854], 0x10
jne 0x470def
test byte [ebp - 0x624], 0x10
jne 0x470d54
mov ecx, dword [ebp - 0x628]
mov eax, dword [ebp - 0x62c]
cmp dword [ebp - 0x858], ecx
ja 0x470d54
jb 0x470def
cmp dword [ebp - 0x85c], eax
jb 0x470def
cmp dword [ebp - 0x858], ecx
jb 0x470e0e
ja 0x470d54
cmp dword [ebp - 0x85c], eax
jbe 0x470e0e
xor ebx, ebx
inc ebx
jmp 0x470e0e
mov edi, dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea eax, [ebp - 0xddc]
push 0x408
push 0x2b4
push eax
push ebx
push dword [edx + 4]
call edi
test eax, eax
je 0x470e0e
push 0x408
push 0x2b4
lea eax, [ebp - 0xb28]
push eax
push ebx
push dword [esi + 4]
call edi
test eax, eax
je 0x470e0e
lea eax, [ebp - 0x914]
push eax
lea eax, [ebp - 0xbc8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ebx, eax
jmp 0x470e0e
push dword [ebp - 0x638]
lea ecx, [ebp - 0x86c]
push dword [ebp - 0x63c]
call fcn.004383dd
test al, al
jne 0x470def
push dword [ebp - 0x638]
lea ecx, [ebp - 0x86c]
push dword [ebp - 0x63c]
call fcn.004383fc
xor ebx, ebx
test al, al
setne bl
jmp 0x470e0e
or ebx, 0xffffffff
jmp 0x470e0e
push dword [esi + 8]
mov eax, dword [edx]
push dword [edx + 8]
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
test eax, eax
jns 0x470e0b
xor eax, eax
jmp 0x470e10
movsx ebx, ax
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0054d0e6
mov esp, ebp
pop ebp
ret 0xc
call fcn.004224b6
int3