joyce8/EMBER2024-capa huggingface dataset:
Function at 0x459790
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56f8c8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5d7c7c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 1
lea eax, [ebp - 0x10]
xor bl, bl
push 0x586a74
push eax
call fcn.004cc0d0
add esp, 0xc
mov edx, dword [eax]
mov ecx, edx
mov dword [ebp - 4], 0
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4597e0
sub ecx, esi
lea esi, [edi + 0xc]
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.004129e0
mov edx, dword [ebp - 0x10]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45981d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [esi + 0x14], 8
jb 0x459825
mov esi, dword [esi]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45985b
cmp dword [edi + 8], 0
jne 0x459847
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 8], eax
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x468230
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5d7c7c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov edi, ecx
push 0
push eax
call fcn.00512920
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push dword [edi + 0x58]
call dword [sym.imp.USER32.dll_GetWindowTextW]
call fcn.00472010
test eax, eax
je 0x468291
mov ecx, dword [eax]
lea edx, [ebp - 0x20c]
push edx
push eax
call dword [ecx + 0x30]
test eax, eax
jne 0x468291
lea esi, [eax + 1]
jmp 0x468293
xor esi, esi
mov edx, dword [edi + 0x8c]
test edx, edx
je 0x4682a9
mov ecx, dword [edx]
mov eax, esi
xor eax, 1
push eax
push edx
call dword [ecx + 0x14]
mov ecx, dword [edi + 0x84]
test ecx, ecx
je 0x4682ba
mov eax, dword [ecx]
push esi
push ecx
call dword [eax + 0x30]
mov ecx, dword [edi + 0x88]
test ecx, ecx
je 0x4682cb
mov eax, dword [ecx]
push esi
push ecx
call dword [eax + 0x30]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004acb88
mov esp, ebp
pop ebp
ret

Function at 0x4682e0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x570b2b
mov eax, dword fs:[0]
push eax
mov eax, 0x4054
call fcn.004acfe0
mov eax, dword [0x5d7c7c]
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, ecx
push 0x2000
lea eax, [ebp - 0x2010]
push 0
push eax
call fcn.00512920
add esp, 0xc
lea eax, [ebp - 0x2010]
push 0x1000
push eax
push dword [esi + 0x58]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [esi + 4]
mov dword [ebp - 0x4060], eax
lea eax, [ebp - 0x2010]
mov dword [ebp - 0x4058], eax
mov dword [ebp - 0x4048], eax
lea eax, [ebp - 0x4060]
push eax
mov dword [ebp - 0x4054], 0x58fc18
mov dword [ebp - 0x4050], 0x59
mov dword [ebp - 0x4044], 0
mov dword [ebp - 0x404c], 0x466e40
mov dword [ebp - 0x405c], 0
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
mov edi, eax
test edi, edi
je 0x468475
push 0x2000
lea eax, [ebp - 0x4010]
push 0
push eax
call fcn.00512920
add esp, 0xc
lea eax, [ebp - 0x4010]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x46846e
xor eax, eax
mov dword [ebp - 0x4018], 0
lea ecx, [ebp - 0x4010]
mov dword [ebp - 0x4014], 7
mov word [ebp - 0x4028], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4683f4
sub ecx, edx
lea eax, [ebp - 0x4010]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x4028]
call fcn.004129e0
lea eax, [ebp - 0x4028]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x4040]
push eax
call fcn.00410c20
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4028]
call fcn.00410a90
cmp dword [ebp - 0x402c], 8
lea eax, [ebp - 0x4040]
cmovae eax, dword [ebp - 0x4040]
push eax
push dword [esi + 0x58]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 0x4040]
call fcn.00410a90
mov ecx, esi
call fcn.00468230
xor eax, eax
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.004acb88
mov esp, ebp
pop ebp
ret 0x10
Function at 0x468890
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x570c3b
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x5d7c7c]
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]
push esi
call fcn.00425d50
call fcn.00444d10
mov ecx, eax
call fcn.004400f0
cmp dword [eax], 0
je 0x4688df
lea ecx, [esi - 0x24]
call fcn.00468cf0
call fcn.00444d10
cmp dword [eax + 0x74], 0
je 0x4689a9
call fcn.00472010
push 0x208
mov edi, eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00512920
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [edi]
lea ecx, [ebp - 0x218]
push ecx
push edi
call dword [eax + 0x30]
test eax, eax
je 0x468949
push 9
lea ecx, [esi + 4]
call fcn.00467030
test eax, eax
je 0x4689a9
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x14]
jmp 0x4689a9
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.0040e0d0
lea ecx, [ebp - 0x21c]
mov dword [ebp - 4], 0
call fcn.0043cba0
lea ecx, [ebp - 0x21c]
call fcn.0043cca0
push dword [ebp - 0x21c]
mov eax, dword [edi]
push edi
call dword [eax + 0x24]
mov edx, dword [ebp - 0x21c]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4689a9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00444d10
mov ecx, eax
call fcn.004400d0
cmp dword [eax], 0
je 0x4689cc
push 0
push 0
push 0x15eb
push dword [esi - 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, 1
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.004acb88
mov esp, ebp
pop ebp
ret 4
Function at 0x4caea0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x5d7c7c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x70], ebx
test edi, edi
je 0x4cb068
test eax, eax
je 0x4cb068
mov ecx, dword [ebp + 0x10]
cmp ecx, 0x20
jl 0x4cb068
push ecx
push ebx
push eax
call fcn.00512920
add esp, 0xc
push ebx
push 1
push 3
push ebx
push 1
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x84], edi
test edi, edi
je 0x4cb068
cmp edi, 0xffffffff
je 0x4cb061
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.004248c0
add esp, 8
lea eax, [ebp - 0x78]
xorps xmm0, xmm0
movq qword [ebp - 0x78], xmm0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x4cb061
mov eax, dword [ebp - 0x78]
or eax, dword [ebp - 0x74]
je 0x4caff7
push ebx
push ebx
push ebx
push 2
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov edx, eax
mov dword [ebp - 0x70], edx
test edx, edx
je 0x4cb061
mov ecx, dword [ebp - 0x74]
xorps xmm0, xmm0
movq qword [ebp - 0x8c], xmm0
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x7c], eax
cmp eax, ecx
jg 0x4caff7
mov esi, dword [ebp - 0x78]
mov edi, dword [ebp - 0x8c]
jl 0x4caf90
cmp edi, esi
jae 0x4caff7
nop
sub esi, edi
sbb ecx, eax
js 0x4cafa5
jg 0x4cafa0
cmp esi, 0x400000
jb 0x4cafa5
mov esi, 0x400000
push esi
push edi
push eax
push 4
push edx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
test ebx, ebx
je 0x4caff7
push esi
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.00424910
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [ebp - 0x7c]
xor ebx, ebx
mov ecx, dword [ebp - 0x74]
add edi, 0x400000
adc eax, ebx
mov dword [ebp - 0x7c], eax
cmp eax, ecx
jge 0x4cafeb
mov esi, dword [ebp - 0x78]
mov edx, dword [ebp - 0x70]
jmp 0x4caf90
jg 0x4caff7
mov esi, dword [ebp - 0x78]
mov edx, dword [ebp - 0x70]
cmp edi, esi
jb 0x4caf90
lea eax, [ebp - 0x6c]
push eax
call fcn.004245f0
mov edi, dword [ebp - 0x80]
add esp, 4
xor esi, esi
nop dword [eax + eax]
movzx eax, byte [ebp + esi - 0x14]
push eax
push str._02x
push 3
push edi
call fcn.0046c7a0
inc esi
add esp, 0x10
add edi, 2
cmp esi, 0x10
jl 0x4cb010
push dword [ebp + 0x10]
push dword [ebp - 0x80]
call fcn.0054edb8
add esp, 8
mov esi, 1
test ebx, ebx
je 0x4cb04d
push ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x4cb05b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x84]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004acb88
mov esp, ebp
pop ebp
ret
Function at 0x4ce860
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57b198
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x5d7c7c]
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, ecx
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push eax
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x28]
push 0x1a
push eax
call fcn.004cf930
cmp dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
je 0x4ce8c7
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4ce945
push dword [ebp - 0x44]
lea eax, [ebp - 0x40]
mov ecx, esi
push 1
push eax
call fcn.004cf930
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x4ce90b
mov ecx, eax
call fcn.0043cf40
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x4ce945
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4ce93b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4cea4d
push edx
push ecx
call fcn.004acb9e
add esp, 8
cmp dword [ebp - 0x18], 0
jne 0x4ce970
xor eax, eax
mov dword [edi + 0x10], 0
push eax
mov dword [edi + 0x14], 7
mov ecx, edi
push 0x586a74
mov word [edi], ax
call fcn.004129e0
jmp 0x4cea26
call fcn.00414b70
mov ecx, eax
test ecx, ecx
je 0x4cea52
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0040e0d0
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.004523e0
mov edx, dword [ebp - 0x48]
add esp, 8
mov byte [ebp - 4], 1
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4ce9d7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x44]
xor eax, eax
mov ecx, esi
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4ce9f2
sub ecx, edx
sar ecx, 1
push ecx
push esi
mov ecx, edi
call fcn.004129e0
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4cea26
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x28]
call fcn.00410a90
mov eax, edi
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.004acb88
mov esp, ebp
pop ebp
ret 8
call fcn.0052fd36
push 0x80004005
call fcn.0040ae00
int3
Function at 0x4e8190
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57dbb8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x5d7c7c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
test esi, esi
je 0x4e8364
push str.__set_log_lev0
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x4e81e5
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax + 4]
jmp 0x4e8364
push str.__set_log_lev1
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x4e8203
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 4]
jmp 0x4e8364
push str.__set_log_lev2
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x4e8221
mov eax, dword [edi]
mov ecx, edi
push 2
call dword [eax + 4]
jmp 0x4e8364
push str.__set_log_lev3
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x4e823f
mov eax, dword [edi]
mov ecx, edi
push 3
call dword [eax + 4]
jmp 0x4e8364
push str.__reload_log_switch
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x4e8364
lea eax, [edi + 4]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x4e8264
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [edi + 0x2c]
mov dword [edi + 0x1c], 3
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x30], ecx
jb 0x4e8297
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
cmp ecx, 8
jae 0x4e82af
movups xmm0, xmmword [eax]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 7
movups xmmword [ebp - 0x28], xmm0
jmp 0x4e82ed
mov esi, ecx
mov eax, SysReAllocString
or esi, 7
lea ecx, [ebp - 0x28]
cmp esi, eax
cmova esi, eax
lea eax, [esi + 1]
push eax
call fcn.004232a0
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x28], eax
lea ecx, [ecx*2 + 2]
push ecx
push dword [ebp - 0x2c]
push eax
call fcn.005130b0
mov eax, dword [ebp - 0x30]
add esp, 0xc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], esi
push 0x5a1cec
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.004e9170
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4e831b
mov dword [edi + 0x1c], 0
cmp dword [edi + 0x28], 0
je 0x4e8354
mov eax, dword [edi]
mov ecx, edi
push 1
mov eax, dword [eax + 8]
call eax
test al, al
je 0x4e8354
push str._______log_reload_switch
lea ecx, [ebp - 0x4c]
call fcn.00410920
mov ecx, dword [edi + 0x28]
lea edx, [ebp - 0x4c]
push edx
mov byte [ebp - 4], 2
mov eax, dword [ecx]
call dword [eax]
lea ecx, [ebp - 0x4c]
call fcn.00410a90
lea ecx, [ebp - 0x28]
call fcn.00410a90
lea ecx, [ebp - 0x34]
call fcn.00457c00
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.004acb88
mov esp, ebp
pop ebp
ret 4
Function at 0xfc8c95
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push 0xfc8d18
mov ebx, 0x80000002
push ebx
mov dword [ebp - 0x14], esi
mov dword [ebp - 8], esi
call edi
test eax, eax
jne 0xfdaee7
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 0x10]
push eax
push esi
push dword [ebp + 8]
mov dword [ebp - 8], esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov dword [ebp - 0xc], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xc], esi
jne 0xfdaeda
cmp dword [ebp - 0x10], 1
jne 0xfdaee7
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0xfcbcbe
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0xffa02c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, ecx
lea ecx, [ebp - 0x214]
push ecx
lea ecx, [ebp - 0x20c]
push ecx
lea ecx, [ebp - 0x210]
push ecx
xor ebx, ebx
push ebx
push dword [0xffb470]
xor edi, edi
inc edi
push eax
mov dword [ebp - 0x210], edi
mov dword [ebp - 0x214], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0xfcbd61
push dword [0xffb484]
lea eax, [ebp - 0x20c]
push eax
call fcn.00fc89d2
test eax, eax
je 0xfdb160
push dword [0xffb488]
lea eax, [ebp - 0x20c]
push eax
call fcn.00fc89d2
test eax, eax
jne 0xfdb168
mov dword [esi + 8], edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00fc86a6
leave
ret 4
mov ebx, 0x80041012
jmp 0xfcbd4e
Function at 0xfcd089
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
push ebx
push esi
push dword [0xffb474]
lea eax, [ebp - 4]
push dword [ebp + 8]
mov esi, ecx
push eax
push 2
call fcn.00fcd2a1
mov ebx, eax
add esp, 0x10
test ebx, ebx
jl 0xfcd14b
xor ecx, ecx
cmp dword [esi + 0x644], 0x20
mov eax, 0x100
setne cl
dec ecx
and ecx, eax
add eax, ecx
lea ecx, [ebp + 8]
push ecx
or eax, 0x20019
push eax
push 0
push dword [ebp - 4]
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xfcd142
push edi
push dword [ebp + 8]
xor edi, edi
inc edi
mov ecx, esi
mov dword [esi + 0x10], edi
call fcn.00fcbcbe
mov ebx, eax
test ebx, ebx
jl 0xfcd111
push dword [ebp + 8]
mov ecx, esi
call fcn.00fcd158
mov ebx, eax
lea eax, [ebp - 8]
push eax
add esi, 0x2c
push esi
lea eax, [ebp - 0xc]
push eax
push 0
push dword [0xffb4e4]
mov dword [ebp - 0xc], edi
push dword [ebp + 8]
mov dword [ebp - 8], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
push dword [ebp - 4]
call dword [fcn.00fc1284]
pop esi
mov eax, ebx
pop ebx
leave
ret 4

Function at 0xfcd158
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0xffa02c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov esi, ecx
lea ecx, [ebp - 0x214]
push ecx
lea ecx, [ebp - 0x20c]
push ecx
lea ecx, [ebp - 0x210]
push ecx
push 0
push dword [0xffb47c]
xor edi, edi
inc edi
push eax
mov dword [ebp - 0x210], edi
mov dword [ebp - 0x214], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0xfdb1ad
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.00fc86a6
leave
ret 4
Function at 0xfcd366
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x20]
xor ebx, ebx
push edi
cmp eax, ebx
jne 0xfdb2c7
mov edi, dword [fcn.00fc1288]
cmp dword [ebp + 8], ebx
je 0xfcd39b
push dword [ebp + 8]
call edi
mov dword [esi + 0x20], eax
cmp eax, ebx
je 0xfdb2d6
mov eax, dword [esi + 0x28]
cmp eax, ebx
jne 0xfdb2e0
cmp dword [ebp + 0xc], ebx
je 0xfcd3bb
push dword [ebp + 0xc]
call edi
mov dword [esi + 0x28], eax
cmp eax, ebx
je 0xfdb2d6
push dword [ebp + 8]
lea eax, [ebp - 4]
push dword [0xffb46c]
mov dword [ebp - 4], ebx
push eax
push 2
call fcn.00fcd2a1
add esp, 0x10
cmp eax, ebx
mov dword [ebp + 8], eax
jl 0xfcd488
push 0x20
pop ebx
push dword [ebp - 4]
lea edi, [esi + 0x644]
mov ecx, esi
mov dword [edi], ebx
call fcn.00fcd1ca
xor ecx, ecx
cmp dword [edi], ebx
mov dword [ebp + 8], eax
setne cl
mov eax, 0x100
xor ebx, ebx
dec ecx
and ecx, eax
add eax, ecx
lea ecx, [ebp + 0xc]
push ecx
or eax, 0x20019
push eax
push ebx
push dword [ebp - 4]
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor edi, edi
inc edi
test eax, eax
jne 0xfcd477
lea eax, [ebp - 8]
push eax
lea eax, [esi + 0x43c]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push dword [0xffb4e4]
mov dword [ebp - 0xc], edi
push dword [ebp + 0xc]
mov dword [ebp - 8], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp + 0xc]
mov ecx, esi
call fcn.00fcd497
cmp eax, ebx
mov dword [ebp + 8], eax
jl 0xfcd46e
cmp dword [esi + 0x10], edi
jne 0xfdb2ef
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 4]
call dword [fcn.00fc1284]
cmp dword [ebp + 8], ebx
jl 0xfcd488
mov dword [esi + 0x1c], edi
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0xfcd497
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0xffa02c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov esi, ecx
lea ecx, [ebp - 0x214]
push ecx
lea ecx, [ebp - 0x20c]
push ecx
lea ecx, [ebp - 0x210]
push ecx
xor edi, edi
push edi
push dword [0xffb480]
mov dword [ebp - 0x210], 1
push eax
mov dword [ebp - 0x214], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0xfdb297
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00fc86a6
leave
ret 4
Function at 0xfd0b01
Capabilities:
Read file via mapping

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
push dword [0xffb5d4]
xor ebx, ebx
push ebx
push 6
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov esi, eax
mov edi, 0x148
cmp esi, ebx
je 0xfd7339
push edi
push ebx
push ebx
push 6
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, ebx
je 0xfd73af
cmp dword [ebp - 4], ebx
jl 0xfd0b7a
mov dword [0xffa058], esi
mov dword [0xffa05c], eax
cmp dword [ebp - 4], ebx
jl 0xfd73c7
mov eax, dword [section..data]
pop edi
pop esi
pop ebx
cmp eax, section..data
je 0xfd0b75
test byte [eax + 0x1c], 4
jne 0xfd73db
mov eax, dword [ebp - 4]
leave
ret
cmp esi, ebx
jne 0xfd73bb
jmp 0xfd0b53

Function at 0xfd1435
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x20119
push 0
push 0xfd14d0
push 0x80000002
mov dword [0xffa034], 0x40000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xfd1495
push 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 0xffa034
lea eax, [ebp - 0xc]
push eax
push 0
push 0xfd149c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0xffa034]
leave
ret

Function at 0xfd1b55
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 4], edi
mov dword [eax], edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
cmp eax, edi
je 0xfd1bf8
push ebx
mov ebx, dword [0xfc11e8]
push esi
mov esi, 0xfd1c34
push esi
push eax
call ebx
push esi
push edi
call ebx
mov edi, eax
add esp, 0x10
test edi, edi
je 0xfd1bf6
mov esi, dword [sym.imp.KERNEL32.dll_CompareStringW]
push 0xffffffffffffffff
push 0xfd1c1c
push 0xffffffffffffffff
push edi
push 1
push 0x7f
call esi
cmp eax, 2
je 0xfd669a
push 0xffffffffffffffff
push 0xfd1c00
push 0xffffffffffffffff
push edi
push 1
push 0x7f
call esi
cmp eax, 2
je 0xfd66ab
push 0xffffffffffffffff
push 0xfd1c3c
push 0xffffffffffffffff
push edi
xor edi, edi
inc edi
push edi
push 0x7f
call esi
cmp eax, 2
je 0xfd2434
push 0xfd1c34
push 0
call ebx
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0xfd1b98
pop esi
pop ebx
mov eax, dword [ebp - 4]
pop edi
leave
ret 4
mov eax, dword [ebp + 8]
mov dword [eax], edi
jmp 0xfd1be5