joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407d30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov dword [ebp - 4], 0
cmp byte [esi + 8], 0
mov dword [esi + 0xc], 0
je 0x407d77
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0x10
jb 0x407d56
mov eax, dword [eax]
push 0
push 0
lea ecx, [ebp - 4]
push ecx
push 0
push eax
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret 4
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x407fc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x551e88
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x5b9ec0]
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 edi, ecx
mov ebx, dword [ebp + 0xc]
mov ecx, ebx
mov esi, dword [ebp + 8]
mov dword [edi + 0xc], 0
mov dword [ebp - 0x3c], ebx
push dword [ebx + 4]
mov dword [ebp - 0x30], 7
push dword [ebx]
call fcn.00408fe0
mov eax, dword [ebx]
mov dword [ebx + 4], eax
cmp byte [edi + 8], 0
je 0x40809a
cmp dword [esi + 0x14], 0x10
jb 0x408025
mov eax, dword [esi]
jmp 0x408027
mov eax, esi
lea ecx, [ebp - 0x2c]
push ecx
push 0
lea ecx, [ebp - 0x30]
push ecx
push 0
push eax
push dword [edi + 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [edi + 0xc], eax
test eax, eax
jne 0x40809a
mov eax, dword [ebp - 0x2c]
add eax, 5
push eax
mov dword [ebp - 0x34], eax
call fcn.00536304
mov ebx, eax
add esp, 4
mov dword [ebp - 0x38], ebx
test ebx, ebx
je 0x40809a
push dword [ebp - 0x34]
push 0
push ebx
call fcn.00535400
add esp, 0xc
cmp dword [esi + 0x14], 0x10
jb 0x408075
mov esi, dword [esi]
lea eax, [ebp - 0x2c]
push eax
push ebx
lea eax, [ebp - 0x30]
push eax
push 0
push esi
push dword [edi + 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [edi + 0xc], eax
test eax, eax
je 0x40809e
push ebx
call fcn.0053490c
add esp, 4
xor al, al
jmp 0x40810f
mov edi, dword [ebp - 0x2c]
mov esi, ebx
cmp byte [esi], 0
jne 0x4080ac
test edi, edi
je 0x408102
push esi
lea ecx, [ebp - 0x28]
call sym.Autorun.exe_public:_void___thiscall_CNcsString::constructor_char_const__
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], 0
lea ebx, [eax + 1]
test eax, eax
je 0x4080d2
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0x28]
push eax
call fcn.004091c0
add esi, ebx
mov dword [ebp - 4], 0xffffffff
sub edi, ebx
cmp dword [ebp - 0x14], 0x10
jb 0x4080ee
push dword [ebp - 0x28]
call fcn.0041a02a
add esp, 4
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jmp 0x4080a3
push dword [ebp - 0x38]
call fcn.0053490c
add esp, 4
mov al, 1
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.00534944
mov esp, ebp
pop ebp
ret 8
Function at 0x408130
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov dword [ebp - 4], 3
xor al, al
cmp byte [esi + 8], al
je 0x40816e
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0x10
jb 0x408150
mov eax, dword [eax]
push dword [ebp + 0x10]
lea ecx, [ebp - 4]
push dword [ebp + 0xc]
push ecx
push 0
push eax
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
mov dword [esi + 0xc], eax
sete al
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x408bd0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
xor edx, edx
push esi
mov esi, ecx
xor cl, cl
cmp byte [ebp + 0x10], cl
push edi
setne dl
mov dword [esi + 0xc], 0
inc edx
mov edi, dword [eax + 0x10]
inc edi
cmp byte [esi + 8], cl
je 0x408c25
cmp dword [eax + 0x14], 0x10
jb 0x408bfd
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x14], 0x10
jb 0x408c08
mov ecx, dword [ecx]
push edi
push eax
push edx
push 0
push ecx
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
mov dword [esi + 0xc], eax
pop edi
sete al
pop esi
pop ebp
ret 0xc
pop edi
mov al, cl
pop esi
pop ebp
ret 0xc

Function at 0x408c30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
xor al, al
cmp byte [esi + 8], al
je 0x408c64
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0x10
jb 0x408c48
mov eax, dword [eax]
push 4
lea ecx, [ebp + 0xc]
push ecx
push 4
push 0
push eax
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
mov dword [esi + 0xc], eax
sete al
pop esi
pop ebp
ret 8

Function at 0x408c70
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
xor al, al
mov dword [esi + 0xc], 0
cmp byte [esi + 8], al
je 0x408cab
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0x10
jb 0x408c8f
mov eax, dword [eax]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 3
push 0
push eax
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
mov dword [esi + 0xc], eax
sete al
pop esi
pop ebp
ret 0xc

Function at 0x40c6d0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x5b9ec0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x40c713
push 0x10
lea ecx, [ebp - 0x14]
push ecx
push 0x1004
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea eax, [ebp - 0x14]
push eax
call fcn.00536a2b
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00534944
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetACP]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00534944
mov esp, ebp
pop ebp
ret
Function at 0x40d840
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40d855
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40d894
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x40d890
lea ebx, [ebx]
cmp esi, edx
jae 0x40d894
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec ecx
jne 0x40d880
cmp esi, edx
jb 0x40d899
xor eax, eax
pop esi
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret

Function at 0x40da30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
movzx eax, ax
mov dword [ebp + 8], eax
pop ebp
jmp fcn.0041be98

Function at 0x40fec0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x552e4b
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x5b9ec0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x158]
mov edi, dword [ebp + 0xc]
push 0x3c
push 0
push eax
call fcn.00535400
add esp, 0xc
mov dword [ebp - 0x158], 0x3c
mov dword [ebp - 0x154], 0x40
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push esi
push str.__s_
mov dword [ebp - 0x150], eax
lea eax, [ebp - 0x118]
push 0x106
push eax
mov dword [ebp - 0x14c], 0
call fcn.00535f57
add esp, 0x10
mov dword [ebp - 0x144], edi
lea eax, [ebp - 0x118]
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x13c], 1
mov dword [ebp - 0x138], 0
call fcn.0041f5c2
mov ecx, dword [eax + 4]
call fcn.0041b61d
lea eax, [ebp - 0x158]
mov dword [ebp - 4], 0
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
call fcn.0041f5c2
mov ecx, dword [eax + 4]
call fcn.0041b8d0
mov esi, dword [ebp - 0x120]
lea ecx, [ebp - 0x119]
mov dword [ebp - 4], 0xffffffff
call fcn.0040ee20
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00534944
mov esp, ebp
pop ebp
ret 8
Function at 0x415790
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x553508
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x5b9ec0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x14]
lea eax, [ebp - 0x34]
push eax
push 0x18
push dword [esi + 4]
call dword [sym.imp.GDI32.dll_GetObjectA]
lea ecx, [ebp - 0x1c]
call fcn.00426606
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0
test edi, edi
jne 0x4157e4
xor eax, eax
jmp 0x4157e7
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00426e4d
push dword [esi + 4]
push dword [ebp - 0x18]
call fcn.004274b8
mov ebx, eax
xor esi, esi
mov eax, dword [ebp - 0x30]
mov ecx, eax
push 0xcc0020
push 0
push 0
push dword [ebp - 0x18]
imul ecx, esi
push dword [ebp - 0x2c]
push eax
push dword [ebp + 0x10]
add ecx, dword [ebp + 0xc]
push ecx
push dword [edi + 4]
call dword [sym.imp.GDI32.dll_BitBlt]
inc esi
cmp esi, dword [ebp + 0x18]
jl 0x415806
test ebx, ebx
jne 0x41583c
xor eax, eax
jmp 0x41583f
mov eax, dword [ebx + 4]
push eax
push dword [ebp - 0x18]
call fcn.004274b8
lea ecx, [ebp - 0x1c]
call fcn.00426f25
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.00426746
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14

Function at 0x41bef4
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.0041f5c2
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41bf2b
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.0041bf4c
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 0x41e5bb
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x553e31
mov eax, dword fs:[0]
push eax
mov eax, 0x101c
call fcn.00537170
mov eax, dword [0x5b9ec0]
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 - 0x101c], edx
mov dword [ebp - 0x1028], ebx
cmp dword [ecx + 0x58], ebx
je 0x41e6ef
push ebx
push eax
call fcn.0041e73e
mov ebx, eax
test ebx, ebx
jne 0x41e623
push esi
jmp 0x41e717
call fcn.0041b3a5
push eax
lea ecx, [ebp - 0x1014]
call fcn.0040c7e0
xor ecx, ecx
lea eax, [ebp - 0x1018]
push eax
push ecx
lea eax, [ebp - 0x1020]
mov dword [ebp - 4], ecx
push eax
push ecx
push dword [ebp - 0x101c]
mov dword [ebp - 0x1020], ecx
push ebx
mov dword [ebp - 0x1018], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x1024], eax
test eax, eax
jne 0x41e6ae
push dword [ebp - 0x1018]
lea ecx, [ebp - 0x1014]
call fcn.0040d620
lea ecx, [ebp - 0x1018]
push ecx
push eax
lea eax, [ebp - 0x1020]
push eax
push 0
push dword [ebp - 0x101c]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x1014]
mov dword [ebp - 0x1024], eax
call fcn.0041b05a
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x1024], 0
jne 0x41e6dc
mov esi, dword [ebp - 0x1014]
add esi, 0xfffffff0
push esi
call fcn.0040cab0
pop ecx
add eax, 0x10
mov ecx, esi
mov dword [edi], eax
call fcn.0040d6a0
jmp 0x41e71e
push esi
mov ecx, edi
call fcn.0040c810
mov ecx, dword [ebp - 0x1014]
lea ecx, [ecx - 0x10]
jmp 0x41e6d5
test esi, esi
jne 0x41e6f8
mov esi, 0x563c84
push dword [ecx + 0x6c]
lea ecx, [ebp - 0x1010]
push 0x1000
push ecx
push esi
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x1010]
push eax
mov ecx, edi
call fcn.0040c810
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.00534944
mov esp, ebp
pop ebp
ret 0x10

Function at 0x421358
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 0x42139d
call fcn.0041f5c2
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x42139d
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x4213b9
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00428354
mov ebx, eax
test edi, edi
je 0x4213b7
test esi, esi
je 0x4213b7
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 0x42a900
Capabilities:
Get disk information

Disassembly:
push 0x158
mov eax, 0x554541
call fcn.00537c96
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 - 0x158], esi
test eax, eax
jne 0x42a92e
call fcn.0041a0b0
xor eax, eax
test ebx, ebx
setne al
test eax, eax
je 0x42a929
lea eax, [ebp - 0x154]
push eax
push esi
push 0x104
push ebx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
jne 0x42a976
push 0xffffffffffffffff
push ebx
push 0x104
push esi
call fcn.00537c16
push eax
call fcn.0041a086
add esp, 0x14
push ebx
push edi
call fcn.0042a8d3
xor eax, eax
jmp 0x42aa97
cmp eax, 0x104
jb 0x42a993
test edi, edi
je 0x42a96f
push ebx
lea ecx, [edi + 0x10]
mov dword [edi + 8], 3
call fcn.0040d710
jmp 0x42a96f
call fcn.0041b3a5
push eax
lea ecx, [ebp - 0x15c]
call fcn.0040c7e0
and dword [ebp - 4], 0
lea eax, [ebp - 0x15c]
push eax
push esi
call fcn.0042a30d
mov esi, dword [ebp - 0x15c]
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsUNCA]
test eax, eax
jne 0x42aa8c
xor ecx, ecx
lea eax, [ebp - 0x160]
push ecx
push ecx
push eax
lea eax, [ebp - 0x164]
push eax
push ecx
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x42a9fe
push ebx
push edi
call fcn.0042a8d3
lea ecx, [esi - 0x10]
call fcn.0040d6a0
jmp 0x42a96f
mov eax, dword [ebp - 0x160]
test al, 2
jne 0x42aa1a
push dword [ebp - 0x158]
call dword [sym.imp.USER32.dll_CharUpperA]
mov eax, dword [ebp - 0x160]
test al, 4
jne 0x42aa8c
lea eax, [ebp - 0x150]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x42aa8c
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x154]
test eax, eax
je 0x42a9ea
cmp eax, dword [ebp - 0x158]
jbe 0x42a9ea
lea eax, [ebp - 0x124]
push eax
call fcn.00537d40
mov edx, dword [ebp - 0x154]
sub edx, dword [ebp - 0x158]
pop ecx
add eax, edx
mov ecx, 0x104
cmp eax, ecx
jge 0x42aa9f
lea eax, [ebp - 0x124]
sub ecx, edx
push eax
push ecx
push dword [ebp - 0x154]
call fcn.0053648d
push eax
call fcn.0041a086
add esp, 0x10
lea ecx, [esi - 0x10]
call fcn.0040d6a0
xor eax, eax
inc eax
call fcn.00537c45
ret 0xc
test edi, edi
je 0x42a9f1
push ebx
lea ecx, [edi + 0x10]
mov dword [edi + 8], 3
call fcn.0040d710
jmp 0x42a9f1
Function at 0x42cf04
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x5b9ec0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x42cf96
test esi, esi
je 0x42cf96
push esi
call fcn.00537d40
push 0xff
mov ebx, eax
mov byte [ebp - 0x104], 0
lea eax, [ebp - 0x103]
push 0
push eax
call fcn.00535400
mov eax, 0x100
add esp, 0x10
cmp ebx, eax
ja 0x42cf7b
push eax
lea eax, [ebp - 0x104]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp eax, ebx
jne 0x42cf7b
push esi
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x42cf83
push esi
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00534944
mov esp, ebp
pop ebp
ret 8
call fcn.0041a0b0
int3

Function at 0x4322e6
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.00425a90
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x432322
call fcn.00432505
mov dword [esi + 0xc], 1
jmp 0x432327
call fcn.00432505
cmp dword [esi], 0
je 0x432370
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x43234a
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.0041b037
jmp 0x43235b
push 0xff
mov ecx, esi
call fcn.0040d620
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, esi
call fcn.0041b05a
jmp 0x432394
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x432394
push dword [esi]
push dword [ebp - 4]
call fcn.0042cf04
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x43245a
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.00432505
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x4324a2
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0041b037
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0041b05a
jmp 0x4324ad
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0042cf04
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x432549
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x5b9ec0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
mov ecx, edi
push eax
mov dword [ebp - 0x48], esi
call fcn.00432505
cmp dword [edi], 0
mov ebx, eax
mov dword [edi + 0xc], 1
je 0x4325ba
mov esi, dword [ebp + 0x18]
lea eax, [ebp - 0x44]
push 0x40
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextA]
push esi
push dword [ebp - 0x48]
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.0053bb88
add esp, 0x10
cmp eax, 1
je 0x432608
push 0xffffffffffffffff
push 0
push dword [ebp + 0x14]
call fcn.0041f02c
mov ecx, edi
call fcn.004324b3
jmp 0x432608
call fcn.00537e52
mov edi, dword [eax]
call fcn.00537e52
and dword [eax], 0
lea eax, [ebp + 0x18]
push eax
push esi
push 0x3f
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.0053603d
add esp, 0x14
call fcn.00537e52
cmp dword [eax], 0
je 0x4325f7
call fcn.00537e52
push dword [eax]
call fcn.0041a7d4
pop ecx
jmp 0x4325fe
call fcn.00537e52
mov dword [eax], edi
lea eax, [ebp - 0x44]
push eax
push ebx
call fcn.0042cf04
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00534944
mov esp, ebp
pop ebp
ret

Function at 0x432738
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0x432786
push esi
mov ebx, 0x811c9dc5
xor edi, edi
call fcn.00537d40
xor edx, edx
mov dword [ebp + 8], 0xa
pop ecx
mov ecx, eax
div dword [ebp + 8]
inc eax
test ecx, ecx
je 0x43277b
mov edx, ecx
movsx ecx, byte [edi + esi]
add edi, eax
imul ebx, ebx, 0x1000193
xor ebx, ecx
cmp edi, edx
jb 0x432769
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.0041a0b0
int3

Function at 0x43374a
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
mov eax, dword [0x5b9ec0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x10c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x43379f
xor eax, eax
test esi, esi
sete al
or eax, 0x4000
push eax
push 0x160
lea eax, [ebp - 0x26c]
push eax
push 0
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00534944
mov esp, ebp
pop ebp
ret 4
Function at 0x433903
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x71c
mov eax, dword [0x5b9ec0]
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 0x433b22
test esi, esi
je 0x433b22
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 0x45c], ebx
mov dword [ebp - 0x458], ebx
mov dword [ebp - 0x454], ebx
mov dword [ebp - 0x450], ebx
mov dword [ebp - 0x44c], ebx
mov dword [ebp - 0x448], ebx
mov dword [ebp - 0x334], ebx
mov dword [ebp - 0x330], ebx
mov dword [ebp - 0x32c], ebx
mov dword [ebp - 0x328], ebx
mov dword [ebp - 0x324], ebx
mov dword [ebp - 0x320], ebx
sub eax, ebx
je 0x433af3
dec eax
je 0x433995
dec eax
je 0x433a5b
dec eax
jne 0x433b0d
mov edi, dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
lea eax, [ebp - 0x108]
push eax
push dword [edx + 4]
call edi
test eax, eax
je 0x433aee
push ebx
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.0042638b
test eax, eax
je 0x433aee
lea eax, [ebp - 0x20c]
push eax
push dword [esi + 4]
call edi
test eax, eax
je 0x433a53
push ebx
lea eax, [ebp - 0x334]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0042638b
test eax, eax
je 0x433a53
cmp dword [ebp + 0x10], 1
jne 0x433ab3
test byte [ebp - 0x43c], 0x10
jne 0x433aee
test byte [ebp - 0x314], 0x10
jne 0x433a53
mov ecx, dword [ebp - 0x318]
mov eax, dword [ebp - 0x31c]
cmp dword [ebp - 0x440], ecx
ja 0x433a53
jb 0x433aee
cmp dword [ebp - 0x444], eax
jb 0x433aee
cmp dword [ebp - 0x440], ecx
jb 0x433b0d
ja 0x433a53
cmp dword [ebp - 0x444], eax
jbe 0x433b0d
xor ebx, ebx
inc ebx
jmp 0x433b0d
mov edi, dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
lea eax, [ebp - 0x71c]
push 0x408
push 0x160
push eax
push ebx
push dword [edx + 4]
call edi
test eax, eax
je 0x433b0d
push 0x408
push 0x160
lea eax, [ebp - 0x5bc]
push eax
push ebx
push dword [esi + 4]
call edi
test eax, eax
je 0x433b0d
lea eax, [ebp - 0x4ac]
push eax
lea eax, [ebp - 0x60c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov ebx, eax
jmp 0x433b0d
push dword [ebp - 0x328]
lea ecx, [ebp - 0x454]
push dword [ebp - 0x32c]
call fcn.0043302a
test al, al
jne 0x433aee
push dword [ebp - 0x328]
lea ecx, [ebp - 0x454]
push dword [ebp - 0x32c]
call fcn.00433049
xor ebx, ebx
test al, al
setne bl
jmp 0x433b0d
or ebx, 0xffffffff
jmp 0x433b0d
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 0x433b0a
xor eax, eax
jmp 0x433b0f
movsx ebx, ax
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00534944
mov esp, ebp
pop ebp
ret 0xc
call fcn.0041a0b0
int3