joyce8/EMBER2024-capa huggingface dataset:
Function at 0x470bd0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ed4f4
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x572734]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 4
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.00415310
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.00415310
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.00415310
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.00415310
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
call fcn.00415310
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x471250
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x572734]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, byte [0x5753bc]
test eax, eax
jne 0x47134a
cmp dword [0x5753b8], 0
jne 0x471343
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x51e0bc
push 0x104
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.MSVCR120.dll_wcscat_s]
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x5753b8], eax
cmp dword [0x5753b8], 0
je 0x471343
push str.GetDpiForMonitor
mov ecx, dword [0x5753b8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5753b4], eax
push str.GetProcessDpiAwareness
mov edx, dword [0x5753b8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5753ac], eax
push str.SetProcessDpiAwareness
mov eax, dword [0x5753b8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5753b0], eax
cmp dword [0x5753ac], 0
je 0x471325
cmp dword [0x5753b0], 0
je 0x471325
cmp dword [0x5753b4], 0
jne 0x471343
mov dword [0x5753b4], 0
mov dword [0x5753ac], 0
mov dword [0x5753b0], 0
mov byte [0x5753bc], 1
mov al, byte [0x5753bc]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e134c
mov esp, ebp
pop ebp
ret
Function at 0x471f80
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ed6f6
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x572734]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3c], ecx
push str.MD::RL
lea ecx, [ebp - 0x38]
call fcn.00445910
mov dword [ebp - 4], 0
mov dword [ebp - 0x58], 0x1f4
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [edx + 0x30]
call eax
movzx ecx, al
test ecx, ecx
je 0x472031
mov edx, dword [ebp - 0x3c]
cmp dword [edx + 4], 0
je 0x472031
push 0x1f4
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x472031
push 0xffffffffffffffff
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0x1f4
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x3c]
add ecx, 0x10
call fcn.004a9cb0
mov ecx, dword [ebp - 0x3c]
add ecx, 0x10
call fcn.004aaff0
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 4], 0
je 0x47207f
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x47206e
push 1
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x40]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x48], eax
jmp 0x472075
mov dword [ebp - 0x48], 0
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 4], 0
mov edx, dword [ebp - 0x3c]
cmp dword [edx + 0xc], 0
je 0x4720aa
push 0
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ecx]
mov ecx, dword [edx + 0xc]
mov edx, dword [eax + 0xb8]
call edx
mov eax, dword [ebp - 0x3c]
mov dword [eax + 0xc], 0
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x44], edx
cmp dword [ebp - 0x44], 0
je 0x4720d3
push 1
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x44]
mov eax, dword [edx + 0xb0]
call eax
mov dword [ebp - 0x4c], eax
jmp 0x4720da
mov dword [ebp - 0x4c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.004459d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e134c
mov esp, ebp
pop ebp
ret
Function at 0x472b00
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ed9b8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x572734]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
add ecx, 0x10
call fcn.004a9bf0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
lea eax, [ebp + 8]
push eax
call fcn.00431770
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x24], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
mov edx, dword [eax + 0x30]
call edx
mov byte [ebp - 0xd], al
mov al, byte [ebp - 0xd]
mov byte [ebp - 0xe], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00409150
mov al, byte [ebp - 0xe]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4791c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x572734]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 0x15], 0
push 0x17
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x4791f9
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x80
je 0x4791f7
mov byte [ebp - 0x15], 1
jmp 0x479210
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
and ecx, 0x80
je 0x479210
mov byte [ebp - 0x15], 1
movzx edx, byte [ebp - 0x15]
test edx, edx
je 0x4792d2
push 0
push 0xf012
push 0x112
mov ecx, dword [ebp - 0x1c]
call fcn.00409730
call fcn.004711f0
cmp eax, 2
jne 0x4792d2
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x254]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x258]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0x258
push ecx
mov edx, dword [ebp - 0x1c]
add edx, 0x254
push edx
mov ecx, dword [ebp - 0x1c]
call fcn.004029d0
push eax
call fcn.004710f0
add esp, 0xc
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x254]
cmp ecx, dword [ebp - 0x20]
jne 0x479297
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x258]
cmp eax, dword [ebp - 0x24]
je 0x4792d2
mov ecx, dword [ebp - 0x1c]
call fcn.00479b90
lea ecx, [ebp - 0x14]
call fcn.00408bc0
lea ecx, [ebp - 0x14]
call fcn.004a09d0
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.004094e0
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
push edx
push 1
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x1c8]
call eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e134c
mov esp, ebp
pop ebp
ret
Function at 0x495dd0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f12f0
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x572734]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
movzx edx, word [ecx]
cmp edx, 0x5a4d
je 0x495e25
xor eax, eax
jmp 0x495f00
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
cmp dword [edx], 0x4550
je 0x495e43
xor eax, eax
jmp 0x495f00
mov eax, 8
imul ecx, eax, 0
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
add eax, dword [edx + ecx + 0x78]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add edx, dword [ecx + 0x20]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x18], 0
jmp 0x495e82
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [eax + 0x18]
jae 0x495ee5
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.MSVCR120.dll__stricmp]
add esp, 8
test eax, eax
jne 0x495ee3
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x30]
lea eax, [edx + ecx*2]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add edx, dword [ecx + 0x1c]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x34]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + ecx*4]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x24], ecx
jmp 0x495ee5
jmp 0x495e79
jmp 0x495eed
mov dword [ebp - 4], 0xffffffff
jmp 0x495efd
mov eax, dword [ebp - 0x24]
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 0x496260
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f1377
mov eax, dword fs:[0]
push eax
mov eax, 0x6814
call fcn.004e13f0
mov eax, dword [0x572734]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x681c], ecx
mov dword [ebp - 0x6820], 0
lea ecx, [ebp - 0x6818]
call dword [sym.imp.mfc120u.dll_Ordinal_296]
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x6814]
call fcn.004d5800
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x681c]
add ecx, 4
call dword [sym.imp.mfc120u.dll_Ordinal_8064]
movzx eax, al
test eax, eax
jne 0x49632f
xor ecx, ecx
mov word [ebp - 0x420], cx
push 0x206
push 0
lea edx, [ebp - 0x41e]
push edx
call sub.MSVCR120.dll_memset
add esp, 0xc
mov ecx, dword [ebp - 0x681c]
add ecx, 4
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x420]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [ebp - 0x420]
push edx
lea ecx, [ebp - 0x6818]
call dword [sym.imp.mfc120u.dll_Ordinal_1520]
jmp 0x496405
lea eax, [ebp - 0x6814]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x681c]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x4963a4
xor ecx, ecx
mov word [ebp - 0x628], cx
push 0x206
push 0
lea edx, [ebp - 0x626]
push edx
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x26b8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x628]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x628]
push eax
lea ecx, [ebp - 0x6818]
call dword [sym.imp.mfc120u.dll_Ordinal_1520]
jmp 0x496405
xor ecx, ecx
mov word [ebp - 0x218], cx
push 0x206
push 0
lea edx, [ebp - 0x216]
push edx
call sub.MSVCR120.dll_memset
add esp, 0xc
mov ecx, dword [ebp - 0x681c]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.MSVCR120.dll_wcscpy_s]
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathStripPathW]
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x6818]
call dword [sym.imp.mfc120u.dll_Ordinal_1520]
lea eax, [ebp - 0x6818]
push eax
mov ecx, dword [ebp + 8]
call dword [sym.imp.mfc120u.dll_Ordinal_280]
mov ecx, dword [ebp - 0x6820]
or ecx, 1
mov dword [ebp - 0x6820], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x6814]
call fcn.004d5930
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6818]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e134c
mov esp, ebp
pop ebp
ret 8
Function at 0x497100
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f150b
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x572734]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00497360
mov dword [ebp - 0x228], eax
cmp dword [ebp - 0x228], 0
jne 0x497144
jmp 0x4972f2
movzx eax, byte [0x576678]
test eax, eax
jne 0x497161
mov ecx, dword [ebp - 0x228]
call fcn.004973f0
mov byte [0x576678], 1
push 0x100
lea ecx, [ebp - 0x210]
push ecx
call fcn.00497420
add esp, 8
lea ecx, [ebp - 0x240]
call fcn.004152e0
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x210]
push eax
push str._s____s_r_n
lea ecx, [ebp - 0x240]
push ecx
call fcn.00415bb0
add esp, 0x10
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
push 0x576470
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0xffffffff
je 0x4972e0
call fcn.00406200
mov dword [ebp - 0x230], eax
push 2
push 0
push 0
mov edx, dword [ebp - 0x214]
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x234], 0
lea ecx, [ebp - 0x240]
call fcn.004157f0
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x497224
mov dword [ebp - 0x220], 0
jmp 0x49729d
mov eax, dword [ebp - 0x21c]
push eax
call dword [sym.imp.MSVCR120.dll_wcslen]
add esp, 4
add eax, 1
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0x3fffffff
jle 0x497255
mov dword [ebp - 0x224], 0
jmp 0x497291
mov eax, dword [ebp - 0x218]
shl eax, 1
call fcn.004e13c0
mov dword [ebp - 0x22c], esp
mov ecx, dword [ebp - 0x230]
push ecx
mov edx, dword [ebp - 0x218]
shl edx, 1
push edx
mov eax, dword [ebp - 0x21c]
push eax
mov ecx, dword [ebp - 0x22c]
push ecx
call fcn.004060d0
mov dword [ebp - 0x224], eax
mov edx, dword [ebp - 0x224]
mov dword [ebp - 0x220], edx
push 0
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x240]
call fcn.00415810
push eax
mov ecx, dword [ebp - 0x220]
push ecx
mov edx, dword [ebp - 0x214]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov ecx, dword [ebp - 0x214]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x240]
call fcn.00415310
lea esp, [ebp - 0x244]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e134c
mov esp, ebp
pop ebp
ret
Function at 0x49dfe0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f2417
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x572734]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x224], ecx
mov byte [ebp - 0x21d], 0
mov ecx, dword [ebp - 0x224]
call fcn.0049ea20
lea eax, [ebp - 0x260]
push eax
mov ecx, dword [ebp - 0x224]
call fcn.0049dea0
mov dword [ebp - 4], 0
mov dword [ebp - 0x230], 0
lea ecx, [ebp - 0x230]
push ecx
push 0x20019
push 0
lea ecx, [ebp - 0x260]
call fcn.004157f0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x49e244
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x22c], 0x104
mov edx, dword [ebp - 0x22c]
shl edx, 1
push edx
push 0
lea eax, [ebp - 0x21c]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov ecx, dword [ebp - 0x22c]
push ecx
lea edx, [ebp - 0x21c]
push edx
mov eax, dword [ebp - 0x234]
push eax
mov ecx, dword [ebp - 0x230]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x49e230
push 0x2c
call sub.mfc120u.dll_Ordinal_1506
add esp, 4
mov dword [ebp - 0x238], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x238], 0
je 0x49e105
mov ecx, dword [ebp - 0x238]
call fcn.004a0b10
mov dword [ebp - 0x23c], eax
jmp 0x49e10f
mov dword [ebp - 0x23c], 0
mov edx, dword [ebp - 0x23c]
mov dword [ebp - 0x248], edx
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x248]
mov dword [ebp - 0x228], eax
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x26c]
push edx
mov ecx, dword [ebp - 0x224]
call fcn.0049df10
mov dword [ebp - 0x240], eax
mov eax, dword [ebp - 0x240]
mov dword [ebp - 0x244], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x244]
push ecx
mov ecx, dword [ebp - 0x228]
add ecx, 4
call fcn.00415600
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x26c]
call fcn.00415310
mov edx, dword [ebp - 0x228]
add edx, 0x1c
push edx
lea eax, [ebp - 0x21c]
push eax
mov ecx, dword [ebp - 0x224]
call fcn.0049e290
mov ecx, dword [ebp - 0x228]
add ecx, 0x24
push ecx
lea edx, [ebp - 0x21c]
push edx
mov ecx, dword [ebp - 0x224]
call fcn.0049e530
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x254]
call fcn.004153a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x254]
push ecx
mov ecx, dword [ebp - 0x224]
add ecx, 0x10
call fcn.004a0e10
mov edx, dword [ebp - 0x228]
mov dword [eax], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x254]
call fcn.00415310
mov dword [ebp - 0x22c], 0x104
mov eax, dword [ebp - 0x22c]
shl eax, 1
push eax
push 0
lea ecx, [ebp - 0x21c]
push ecx
call sub.MSVCR120.dll_memset
add esp, 0xc
mov edx, dword [ebp - 0x234]
add edx, 1
mov dword [ebp - 0x234], edx
jmp 0x49e0ab
mov eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 0x21d], 1
mov cl, byte [ebp - 0x21d]
mov byte [ebp - 0x21e], cl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x260]
call fcn.00415310
mov al, byte [ebp - 0x21e]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e134c
mov esp, ebp
pop ebp
ret
Function at 0x49e290
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f246b
mov eax, dword fs:[0]
push eax
sub esp, 0x468
mov eax, dword [0x572734]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x43c], ecx
mov byte [ebp - 0x421], 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x450]
push ecx
mov ecx, dword [ebp - 0x43c]
call fcn.0049dd20
mov dword [ebp - 4], 0
push str.CustomData
push 0x5307b4
lea edx, [ebp - 0x450]
push edx
lea eax, [ebp - 0x474]
push eax
call fcn.00418560
add esp, 0xc
mov dword [ebp - 0x444], eax
mov ecx, dword [ebp - 0x444]
mov dword [ebp - 0x440], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x440]
push edx
lea eax, [ebp - 0x45c]
push eax
call fcn.00418560
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x474]
call fcn.00415310
mov dword [ebp - 0x434], 0
lea ecx, [ebp - 0x434]
push ecx
push 0x20019
push 0
lea ecx, [ebp - 0x45c]
call fcn.004157f0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x49e4d4
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x42c], 0x104
mov dword [ebp - 0x428], 0x104
mov edx, dword [ebp - 0x428]
shl edx, 1
push edx
push 0
lea eax, [ebp - 0x218]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov ecx, dword [ebp - 0x42c]
shl ecx, 1
push ecx
push 0
lea edx, [ebp - 0x420]
push edx
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x42c]
push eax
lea ecx, [ebp - 0x420]
push ecx
lea edx, [ebp - 0x438]
push edx
push 0
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp - 0x218]
push ecx
mov edx, dword [ebp - 0x430]
push edx
mov eax, dword [ebp - 0x434]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x49e4c0
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x468]
call fcn.004153a0
mov byte [ebp - 4], 4
lea edx, [ebp - 0x420]
push edx
lea eax, [ebp - 0x468]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.004384b0
mov ecx, eax
call fcn.004155b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x468]
call fcn.00415310
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x428], 0x104
mov dword [ebp - 0x42c], 0x104
mov ecx, dword [ebp - 0x428]
shl ecx, 1
push ecx
push 0
lea edx, [ebp - 0x218]
push edx
call sub.MSVCR120.dll_memset
add esp, 0xc
mov eax, dword [ebp - 0x42c]
shl eax, 1
push eax
push 0
lea ecx, [ebp - 0x420]
push ecx
call sub.MSVCR120.dll_memset
add esp, 0xc
mov edx, dword [ebp - 0x430]
add edx, 1
mov dword [ebp - 0x430], edx
jmp 0x49e3d7
mov eax, dword [ebp - 0x434]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 0x421], 1
mov cl, byte [ebp - 0x421]
mov byte [ebp - 0x422], cl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x45c]
call fcn.00415310
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x450]
call fcn.00415310
mov al, byte [ebp - 0x422]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e134c
mov esp, ebp
pop ebp
ret 8
Function at 0x49e530
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f24ac
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x572734]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x230], ecx
mov byte [ebp - 0x219], 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x248]
push ecx
mov ecx, dword [ebp - 0x230]
call fcn.0049dd20
mov dword [ebp - 4], 0
mov dword [ebp - 0x224], 0
lea edx, [ebp - 0x224]
push edx
push 0x20019
push 0
lea ecx, [ebp - 0x248]
call fcn.004157f0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x49e71b
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x220], 0x104
mov eax, dword [ebp - 0x220]
shl eax, 1
push eax
push 0
lea ecx, [ebp - 0x218]
push ecx
call sub.MSVCR120.dll_memset
add esp, 0xc
mov edx, dword [ebp - 0x220]
push edx
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp - 0x228]
push ecx
mov edx, dword [ebp - 0x224]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x49e707
push str.CustomData
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.MSVCR120.dll_wcscmp]
add esp, 8
test eax, eax
je 0x49e6cf
push 0x18
call sub.mfc120u.dll_Ordinal_1506
add esp, 4
mov dword [ebp - 0x238], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x238], 0
je 0x49e665
mov ecx, dword [ebp - 0x238]
call fcn.004a0ba0
mov dword [ebp - 0x234], eax
jmp 0x49e66f
mov dword [ebp - 0x234], 0
mov ecx, dword [ebp - 0x234]
mov dword [ebp - 0x23c], ecx
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x23c]
mov dword [ebp - 0x22c], edx
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp - 0x22c]
add ecx, 4
call fcn.004155b0
mov ecx, dword [ebp - 0x22c]
add ecx, 0x10
push ecx
lea edx, [ebp - 0x218]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x230]
call fcn.0049e760
lea ecx, [ebp - 0x22c]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00471000
mov dword [ebp - 0x220], 0x104
mov edx, dword [ebp - 0x220]
shl edx, 1
push edx
push 0
lea eax, [ebp - 0x218]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov ecx, dword [ebp - 0x228]
add ecx, 1
mov dword [ebp - 0x228], ecx
jmp 0x49e5ee
mov edx, dword [ebp - 0x224]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 0x219], 1
mov al, byte [ebp - 0x219]
mov byte [ebp - 0x21a], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.00415310
mov al, byte [ebp - 0x21a]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e134c
mov esp, ebp
pop ebp
ret 8