joyce8/EMBER2024-capa huggingface dataset:
Function at 0x468906
Capabilities:
Get memory capacity

Disassembly:
push 0x6c
mov eax, 0x4d6e12
call fcn.004ae233
and dword [ebp - 4], 0
lea eax, [ebp - 0x78]
push eax
mov dword [ebp - 0x78], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov eax, dword [ebp - 0x64]
mov edi, dword [ebp - 0x70]
mov esi, dword [ebp - 0x6c]
mov ebx, dword [ebp - 0x68]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x2c], eax
call fcn.0048aa29
push eax
lea ecx, [ebp - 0x18]
call fcn.00402840
mov byte [ebp - 4], 1
call fcn.0048aa29
push eax
lea ecx, [ebp - 0x14]
call fcn.00402840
mov byte [ebp - 4], 2
call fcn.0048aa29
push eax
lea ecx, [ebp - 0x1c]
call fcn.00402840
mov byte [ebp - 4], 3
call fcn.0048aa29
push eax
lea ecx, [ebp - 0x20]
call fcn.00402840
push esi
push edi
mov edi, str._llu
lea eax, [ebp - 0x18]
push edi
push eax
mov byte [ebp - 4], 4
call fcn.00402a45
add esp, 0x10
push dword [ebp - 0x34]
lea eax, [ebp - 0x14]
push ebx
push edi
push eax
call fcn.00402a45
add esp, 0x10
push dword [ebp - 0x24]
lea eax, [ebp - 0x1c]
push dword [ebp - 0x28]
push edi
push eax
call fcn.00402a45
add esp, 0x10
push dword [ebp - 0x2c]
lea eax, [ebp - 0x20]
push dword [ebp - 0x30]
push edi
push eax
call fcn.00402a45
mov esi, dword [ebp + 8]
add esp, 0x10
xor edi, edi
inc edi
push edi
push 0
push str.memory_info
push esi
call fcn.00466267
mov eax, esi
call fcn.00465718
push edi
push dword [ebp - 0x18]
push str.total_phy
push esi
call fcn.00466267
push edi
push dword [ebp - 0x14]
push str.avail_phy
push esi
call fcn.00466267
mov ebx, dword [ebp - 0x1c]
push edi
push ebx
push str.total_page_file
push esi
call fcn.00466267
push edi
mov edi, dword [ebp - 0x20]
push edi
push str.avail_page_file
push esi
call fcn.00466267
call fcn.00465742
lea ecx, [edi - 0x10]
call fcn.00402883
lea ecx, [ebx - 0x10]
call fcn.00402883
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00402883
call fcn.004ae2d8
ret 4
Function at 0x4734a0
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push edi
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
test edi, edi
je 0x4734d6
push esi
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
push esi
push 0x4733b3
push edi
call dword [sym.imp.USER32.dll_EnumChildWindows]
mov al, 1
jmp 0x473568
push 9
pop ecx
xor eax, eax
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
push eax
push 5
mov dword [ebp - 0x24], 0x24
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
test eax, eax
je 0x47353d
mov eax, dword [ebp - 0x18]
sub eax, 0
je 0x473521
dec eax
je 0x473508
dec eax
je 0x473521
dec eax
jne 0x4734cf
mov eax, dword [ebp - 0x10]
mov dword [esi + 4], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0xc]
lea ecx, [eax - 0x64]
mov dword [esi], ecx
add eax, 0xfffffff0
jmp 0x473538
mov eax, dword [ebp - 8]
lea ecx, [eax - 0x64]
add eax, 0xfffffff0
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x14]
mov dword [esi], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 4], ecx
mov dword [esi + 8], eax
jmp 0x4734cf
push 0
push esi
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x473566
mov eax, dword [esi + 8]
sub eax, 0x96
mov dword [esi], eax
mov eax, dword [esi + 0xc]
sub eax, 0x1e
mov dword [esi + 4], eax
jmp 0x4734cf
xor al, al
pop edi
leave
ret
Function at 0x475ba8
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push 0x230
mov eax, 0x4cc32c
call fcn.004ae269
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x22c], ebx
xor esi, esi
push 0x5236d0
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], esi
call fcn.004118b1
test eax, eax
jne 0x475beb
xor edi, edi
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00402883
mov eax, edi
call fcn.004ae2ec
ret
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x220], esi
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 1
push dword [ebp + 0xc]
lea edi, [ebp - 0x224]
push ebx
call fcn.00411f6e
mov edi, eax
cmp edi, esi
je 0x475c20
lea ecx, [ebp - 0x224]
call fcn.00411faa
jmp 0x475bd8
xor eax, eax
lea edi, [ebp - 0x234]
push 0x206
mov dword [ebp - 0x238], esi
stosd dword es:[edi], eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push esi
push eax
mov dword [ebp - 0x228], 0x100
call fcn.004adda0
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
add esp, 0xc
lea eax, [ebp - 0x238]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x21c]
push eax
push esi
push dword [ebp - 0x224]
call edi
test eax, eax
jne 0x475d27
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x230]
call fcn.0040255d
push 0x5236d0
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.004118b1
mov ebx, eax
neg ebx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x230]
sbb bl, bl
add ecx, 0xfffffff0
inc bl
call fcn.00402883
test bl, bl
jne 0x475d21
push dword [ebp + 0x10]
lea eax, [ebp - 0x21c]
push ecx
mov ecx, esp
mov dword [ebp - 0x23c], esp
push eax
call fcn.0040255d
push dword [ebp - 0x224]
call fcn.00475ba8
add esp, 0xc
cmp eax, esi
jne 0x475d21
lea eax, [ebp - 0x238]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x21c]
push eax
push esi
push dword [ebp - 0x224]
mov dword [ebp - 0x228], 0x100
call edi
test eax, eax
je 0x475c84
mov ebx, dword [ebp - 0x22c]
lea ecx, [ebp - 0x224]
call fcn.00411faa
call fcn.00461ea4
test al, al
je 0x475d8d
test byte [0x568440], 1
jne 0x475d67
or dword [0x568440], 1
push str.RegDeleteKeyExW
push str.advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x56843c], eax
mov eax, dword [0x56843c]
cmp eax, esi
je 0x475d7c
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call eax
jmp 0x475d86
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edi, eax
jmp 0x475c13
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edi, eax
cmp edi, esi
je 0x475c13
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
jmp 0x475d86
Function at 0x4761ad
Capabilities:
Enumerate files on windows

Disassembly:
push 0x26c
mov eax, 0x4cc2e6
call fcn.004ae269
and dword [ebp - 4], 0
and dword [ebp - 0x278], 0
mov edi, ecx
mov dword [ebp - 0x274], edi
call fcn.0048aa29
push eax
lea ecx, [ebp - 0x26c]
call fcn.00402840
xor esi, esi
inc esi
mov ecx, edi
mov dword [ebp - 4], esi
call fcn.00402865
mov dword [ebp - 0x278], esi
call fcn.0048aa29
push eax
lea ecx, [ebp - 0x264]
call fcn.00402840
and dword [ebp - 0x268], 0
mov byte [ebp - 4], 2
call fcn.0040770e
push dword [ebx + 0x24]
lea eax, [ebp - 0x26c]
push 0x537fc8
push eax
call fcn.00402a45
add esp, 0xc
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x26c]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x270], eax
cmp eax, 0xffffffff
je 0x476349
mov ecx, 0x5201c4
lea eax, [ebp - 0x234]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x47627e
test dx, dx
je 0x47627a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47627e
add eax, 4
add ecx, 4
test dx, dx
jne 0x476258
xor eax, eax
jmp 0x476283
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x47631d
mov ecx, 0x52d0e0
lea eax, [ebp - 0x234]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4762bc
test dx, dx
je 0x4762b8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4762bc
add eax, 4
add ecx, 4
test dx, dx
jne 0x476296
xor eax, eax
jmp 0x4762c1
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x47631d
test byte [ebp - 0x260], 0x10
jne 0x47631d
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x264]
call fcn.0040276b
mov eax, dword [ebp - 0x264]
mov edi, dword [eax - 0xc]
push 0x537fd4
xor ecx, ecx
lea esi, [ebp - 0x264]
call fcn.004077b1
add edi, 0xfffffffd
cmp eax, edi
jne 0x47631d
lea eax, [ebp - 0x234]
push eax
call fcn.004ab21f
cmp dword [ebp - 0x268], eax
pop ecx
jg 0x47631d
mov dword [ebp - 0x268], eax
call fcn.0040770e
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x270]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x47624d
push dword [ebp - 0x270]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x268]
inc eax
push eax
push dword [ebx + 0x24]
push str._s_.8d
push dword [ebp - 0x274]
call fcn.00402a45
mov ecx, dword [ebp - 0x264]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [ebp - 0x26c]
add ecx, 0xfffffff0
call fcn.00402883
mov eax, dword [ebp - 0x274]
call fcn.004ae2ec
ret
Function at 0x477f56
Capabilities:
Create directory
Set file attributes

Disassembly:
push 0x270
mov eax, 0x4cc286
call fcn.004ae269
xor ebx, ebx
lea ecx, [ebp - 0x27c]
mov dword [ebp - 4], ebx
call fcn.004956f5
mov byte [ebp - 4], 1
call fcn.0048aa29
push eax
lea ecx, [ebp - 0x268]
call fcn.00402840
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
xor esi, esi
cmp dword [eax - 0xc], ebx
jle 0x478017
mov ecx, esi
lea eax, [ebp + 8]
call fcn.00402bdb
cmp ax, 0x5c
je 0x477fc3
mov ecx, esi
lea eax, [ebp + 8]
call fcn.00402bdb
movzx eax, ax
push eax
lea ecx, [ebp - 0x268]
call fcn.00434c76
jmp 0x477feb
lea eax, [ebp - 0x268]
push eax
push dword [ebp - 0x274]
lea ecx, [ebp - 0x27c]
call fcn.00495a83
push 0x5236bc
lea ecx, [ebp - 0x268]
call fcn.00411b75
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
dec eax
cmp esi, eax
jne 0x47800e
lea eax, [ebp - 0x268]
push eax
push dword [ebp - 0x274]
lea ecx, [ebp - 0x27c]
call fcn.00495a83
mov eax, dword [ebp + 8]
inc esi
cmp esi, dword [eax - 0xc]
jl 0x477f98
xor esi, esi
inc esi
cmp dword [ebp - 0x274], esi
jle 0x478065
push esi
lea ecx, [ebp - 0x27c]
call fcn.00434b30
push eax
lea ecx, [ebp - 0x268]
call fcn.0040262c
push ebx
push dword [ebp - 0x268]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp eax, ebx
je 0x47805c
push 0x80
push dword [ebp - 0x268]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
inc esi
cmp esi, dword [ebp - 0x274]
jl 0x478022
lea eax, [ebp - 0x264]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x27c]
mov esi, eax
call fcn.00495776
cmp dword [ebp - 0x264], 0x10
push esi
jne 0x4780c9
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x268]
add ecx, 0xfffffff0
call fcn.00402883
xor esi, esi
inc esi
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], bl
call fcn.00495921
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402883
mov eax, esi
call fcn.004ae2ec
ret 4
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x268]
add ecx, 0xfffffff0
call fcn.00402883
xor esi, esi
jmp 0x4780a6
Function at 0x4780e1
Capabilities:
Create process on windows

Disassembly:
push 0x64
mov eax, 0x4cbdc7
call fcn.004ae200
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.0048aa29
push eax
lea ecx, [ebp - 0x10]
call fcn.00402840
push 0x44
pop esi
push esi
lea eax, [ebp - 0x70]
push ebx
push eax
mov byte [ebp - 4], 1
call fcn.004adda0
xor eax, eax
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
mov dword [ebp - 0x70], esi
stosd dword es:[edi], eax
mov dword [ebp - 0x14], ebx
cmp byte [ebp + 0xc], bl
je 0x478136
lea eax, [ebp - 0x18]
push eax
call fcn.004473e7
pop ecx
mov dword [ebp - 0x14], eax
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push str.regedit.exe__s___s_
push eax
call fcn.00402a45
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x70]
push eax
push ebx
push ebx
push 0x20
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x10]
call fcn.00407261
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
mov edi, eax
call fcn.00411fca
cmp edi, ebx
je 0x478197
push 0x2328
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x24]
call esi
cmp dword [ebp - 0x14], ebx
je 0x4781a5
push dword [ebp - 0x18]
call fcn.0044741d
pop ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402883
mov eax, edi
call fcn.004ae2d8
ret 8

Function at 0x478283
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4782a7
xor esi, esi
mov ecx, dword [esp + 8]
add ecx, 0xfffffff0
call fcn.00402883
mov eax, esi
pop esi
ret 4
test al, 0x10
je 0x4782b0
push 2
pop esi
jmp 0x478295
xor esi, esi
inc esi
jmp 0x478295

Function at 0x4783c3
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0xc]
push 4
push 0
push dword [esp + 0x18]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 0xc
Function at 0x47865c
Capabilities:
Access peb ldr_data
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4cfc24
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x55c6c0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00405223
call fcn.0048b4c4
fld qword [0x53a620]
mov eax, dword [eax + 0xc]
push ecx
push ecx
fstp qword [esp]
push 0x1b1
push dword [esi + 0x20]
lea ecx, [esi + 0x258]
mov edx, eax
call fcn.0040b5ad
push 0x520938
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.RESOURCESTRING
call fcn.0040255d
and dword [esp + 0x30], 0
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x538af8
call fcn.0040255d
or dword [esp + 0x34], 0xffffffff
lea eax, [esp + 0x1c]
push eax
call fcn.00406e18
mov dword [esp + 0x28], 1
push dword [eax]
lea ecx, [esi + 0x26c]
call fcn.0048b6d6
or dword [esp + 0x28], 0xffffffff
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.00402883
push 0x1f
mov edi, 0x1db
push edi
push 0x22
push 0xc
pop ebx
push ebx
push 0x169
mov ecx, esi
call fcn.00446d36
push 0xd
push edi
push 0x44
push ebx
push 0x17b
mov ecx, esi
call fcn.00446d36
push 0xd
push edi
push 0x55
push ebx
push 0x15d
mov ecx, esi
call fcn.00446d36
push 0xd
push edi
push 0x67
push ebx
push 0x17f
mov ecx, esi
call fcn.00446d36
push 0x14
push 0x14
push 0xb6
push 0x1d2
push 0x1d4
mov ecx, esi
call fcn.00446d36
call fcn.0048b4c4
mov eax, dword [eax + 0xc]
push 0xd9
lea edi, [esi + 0x2e0]
push eax
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0x467
push dword [edi]
call ebx
push 0xffff0000
push 0xffffffffffffffff
push 0x465
push dword [edi]
call ebx
lea edi, [esi + 0x170]
xor ebx, ebx
push ebx
mov ecx, edi
call fcn.0048b7ba
push ebx
mov ecx, edi
call fcn.0048b778
add esi, 0x74
push ebx
mov ecx, esi
call fcn.0048b778
push ebx
mov ecx, esi
call fcn.0048b7ba
xor eax, eax
inc eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47b2a3
Capabilities:
Check if file exists
Enumerate files on windows
Get file attributes

Disassembly:
push 0x480
mov eax, 0x4cf80e
call fcn.004ae269
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48c], eax
call fcn.0048aa29
push eax
lea ecx, [ebp - 0x47c]
call fcn.00402840
and dword [ebp - 4], 0
call fcn.0048aa29
push eax
lea ecx, [ebp - 0x488]
call fcn.00402840
mov byte [ebp - 4], 1
call fcn.0048aa29
push eax
lea ecx, [ebp - 0x470]
call fcn.00402840
push 0x208
lea eax, [ebp - 0x21c]
push 0
push eax
mov byte [ebp - 4], 2
call fcn.004adda0
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
call fcn.00461f0d
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x478]
call fcn.0040255d
mov byte [ebp - 4], 3
push dword [ebp - 0x478]
lea eax, [ebp - 0x47c]
push str._s.
push eax
call fcn.00402a45
add esp, 0xc
lea eax, [ebp - 0x46c]
push eax
push dword [ebp - 0x47c]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x480], eax
cmp eax, 0xffffffff
je 0x47b4eb
mov ecx, 0x5201c4
lea eax, [ebp - 0x440]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x47b39f
test dx, dx
je 0x47b39b
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47b39f
add eax, 4
add ecx, 4
test dx, dx
jne 0x47b379
xor eax, eax
jmp 0x47b3a4
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x47b4c4
mov ecx, 0x52d0e0
lea eax, [ebp - 0x440]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x47b3dd
test dx, dx
je 0x47b3d9
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47b3dd
add eax, 4
add ecx, 4
test dx, dx
jne 0x47b3b7
xor eax, eax
jmp 0x47b3e2
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x47b4c4
test byte [ebp - 0x46c], 0x10
jne 0x47b4c4
lea eax, [ebp - 0x440]
push eax
lea ecx, [ebp - 0x470]
call fcn.0040276b
mov eax, dword [ebp - 0x470]
mov edi, dword [eax - 0xc]
push 0x5382f4
xor ecx, ecx
lea esi, [ebp - 0x470]
call fcn.004077b1
add edi, 0xfffffffd
cmp eax, edi
jne 0x47b4c4
call fcn.0048aa29
push eax
lea ecx, [ebp - 0x474]
call fcn.00402840
lea eax, [ebp - 0x440]
push eax
mov byte [ebp - 4], 4
push dword [ebp - 0x478]
lea eax, [ebp - 0x474]
push 0x5252d8
push eax
call fcn.00402a45
add esp, 0x10
lea eax, [ebp - 0x474]
push eax
lea ecx, [ebp - 0x484]
call fcn.004025a1
mov esi, dword [ebp - 0x484]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea ecx, [esi - 0x10]
cmp eax, 0xffffffff
jne 0x47b493
call fcn.00402883
jmp 0x47b4b2
test al, 0x10
jne 0x47b48c
call fcn.00402883
mov ecx, dword [ebp - 0x48c]
mov eax, dword [ecx + 8]
lea edx, [ebp - 0x474]
push edx
push eax
call fcn.00495a83
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x474]
add ecx, 0xfffffff0
call fcn.00402883
lea eax, [ebp - 0x46c]
push eax
push dword [ebp - 0x480]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x47b36e
push dword [ebp - 0x480]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x478]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [ebp - 0x470]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [ebp - 0x488]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [ebp - 0x47c]
add ecx, 0xfffffff0
call fcn.00402883
call fcn.004ae2ec
ret 4
Function at 0x47c7e1
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d6cc3
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x55c6c0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00405223
call fcn.0048b4c4
fld qword [0x53a620]
mov eax, dword [eax + 0xc]
push ecx
push ecx
fstp qword [esp]
push 0x1ab
push dword [esi + 0x20]
lea ecx, [esi + 0x344]
mov edx, eax
call fcn.0040b5ad
push 1
push 0
push 0x21
push 0x18
lea edi, [esi + 0x3ac]
push 0x18
mov ecx, edi
call fcn.00498049
call fcn.0048b4c4
push 0x1b2
call fcn.00434b7e
push eax
mov eax, edi
call fcn.00434c5a
push 0xffffffffffffffff
push 0x269
push 0
mov ebx, 0x520938
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
mov edi, str.RESOURCESTRING
push edi
call fcn.0040255d
and dword [esp + 0x44], 0
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x5397f8
call fcn.0040255d
or dword [esp + 0x48], 0xffffffff
lea eax, [esp + 0x28]
push eax
call fcn.00406e18
mov dword [esp + 0x3c], 1
mov eax, dword [eax]
push eax
lea ecx, [esi + 0x358]
push 0
call fcn.00497bd2
or dword [esp + 0x30], 0xffffffff
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.00402883
push 0xffffffffffffffff
push 0
push 0
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push edi
call fcn.0040255d
push ecx
mov dword [esp + 0x48], 2
mov ecx, esp
mov dword [esp + 0x30], esp
push str.SPC_UNDO_FILE
call fcn.0040255d
or dword [esp + 0x48], 0xffffffff
lea eax, [esp + 0x2c]
push eax
call fcn.00406e18
mov dword [esp + 0x3c], 3
push dword [eax]
lea ecx, [esi + 0x358]
push 1
call fcn.00497bd2
or dword [esp + 0x30], 0xffffffff
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.00402883
push 0
push 0
push 0x1037
push dword [esi + 0x378]
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esi + 0x358]
test ecx, ecx
je 0x47c95f
mov ecx, dword [ecx + 0x20]
or eax, 0x520
push eax
push 0
push 0x1036
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push ecx
mov eax, esp
mov dword [esp + 0x20], esp
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push edi
mov dword [esp + 0x20], eax
call fcn.0040255d
push ecx
mov dword [esp + 0x40], 4
mov ecx, esp
mov dword [esp + 0x30], esp
push str.S9PT9_258
call fcn.0040255d
mov eax, dword [esp + 0x20]
or dword [esp + 0x40], 0xffffffff
push eax
call fcn.00406e18
push ecx
mov ebx, esp
mov dword [esp + 0x38], 5
mov dword [esp + 0x28], esp
push 0x520938
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push edi
call fcn.0040255d
push ecx
mov byte [esp + 0x44], 6
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.S9PT9_259
call fcn.0040255d
push ebx
mov byte [esp + 0x48], 5
call fcn.00406e18
or dword [esp + 0x38], 0xffffffff
lea eax, [esi + 0x358]
push eax
lea edi, [esi + 0x1dc]
lea ecx, [esi + 0x74]
call fcn.0047a4f5
add esp, 0xc
mov ecx, esi
call fcn.0047d2b1
xor eax, eax
inc eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47e312
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x10
mov eax, 0x4cc0c1
call fcn.004ae200
mov ebx, ecx
mov esi, edx
xor edi, edi
cmp dword [ebp + 8], edi
je 0x47e4be
push dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push 0x539ad0
push eax
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], 0x400000
call fcn.0040c5f2
push 0x539ac8
push eax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 4], edi
call fcn.004021ba
add esp, 0x18
lea edi, [esi + 8]
mov byte [ebp - 4], 1
mov ecx, dword [edi + 8]
push eax
push ecx
mov ecx, edi
call fcn.00495a83
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00402883
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00402883
mov eax, dword [ebx]
lea ecx, [ebp - 0x14]
push ecx
push dword [esi + 4]
lea ecx, [ebp - 0x10]
push ecx
push 0
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x47e4be
call fcn.0048aa29
push eax
lea ecx, [ebp + 8]
call fcn.00402840
mov dword [ebp - 4], 2
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
lea ecx, [ebp + 8]
jne 0x47e3d7
push 0x533f24
call fcn.0040276b
jmp 0x47e3dd
push ebx
call fcn.0040262c
call fcn.0048aa29
push eax
lea ecx, [ebp + 0xc]
call fcn.00402840
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x10]
dec eax
je 0x47e444
sub eax, 3
je 0x47e420
lea eax, [ebp + 0xc]
push eax
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x1c], esp
mov ecx, esp
push eax
call fcn.004025a1
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [esi + 4]
call fcn.0047e74e
add esp, 0x14
jmp 0x47e475
mov eax, dword [esi + 4]
movzx esi, byte [eax]
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x1c], esp
mov ecx, esp
push eax
lea ebx, [ebp + 0xc]
call fcn.004025a1
push esi
mov ecx, ebx
call fcn.0047e4c8
pop ecx
pop ecx
jmp 0x47e475
lea eax, [ebp + 0xc]
push eax
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x1c], esp
mov ecx, esp
push eax
call fcn.004025a1
push ecx
mov byte [ebp - 4], 4
mov ecx, esp
mov dword [ebp - 0x18], esp
push dword [esi + 4]
call fcn.0040255d
mov byte [ebp - 4], 3
call fcn.0047e64c
add esp, 0xc
test al, al
mov eax, dword [ebp + 0xc]
je 0x47e4ab
cmp dword [eax - 0xc], 0
je 0x47e4ab
lea eax, [ebp + 0xc]
push eax
push dword [edi + 8]
mov ecx, edi
call fcn.00495a83
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402883
xor eax, eax
inc eax
jmp 0x47e4c0
lea ecx, [eax - 0x10]
call fcn.00402883
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402883
xor eax, eax
call fcn.004ae2d8
ret 8