joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405210
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b9048
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x4e0490]
xor eax, ebp
mov dword [ebp - 0x18], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x68], ecx
mov eax, dword [ebp - 0x68]
cmp dword [eax + 0x3c], 0
je 0x405250
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x40525c
mov al, 1
jmp 0x4053ff
mov dword [ebp - 0x10], 8
call fcn.00406d10
push eax
mov eax, dword [ebp - 0x68]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x68]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x3c], eax
call fcn.00406d10
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.00406cc0
add esp, 8
movzx eax, al
test eax, eax
je 0x40529f
xor al, al
jmp 0x4053ff
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.00404d90
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x34]
call fcn.004013a0
mov ecx, eax
call fcn.00405580
mov esi, eax
lea ecx, [ebp - 0x34]
call fcn.004015f0
add esi, eax
push esi
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x34]
call fcn.004013a0
mov ecx, eax
call fcn.00405580
push eax
mov ecx, dword [ebp - 0x68]
add ecx, 0x44
push ecx
mov edx, dword [ebp - 0x68]
mov ecx, dword [edx + 0x3c]
call fcn.00405820
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x40531a
cmp dword [ebp - 0x6c], 1
je 0x405321
cmp dword [ebp - 0x6c], 3
je 0x4053bb
jmp 0x4053d3
mov eax, dword [ebp - 0x68]
mov byte [eax + 0x41], 0
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x34]
call fcn.004013a0
mov ecx, eax
call fcn.00405580
mov edx, dword [ebp - 0x14]
sub edx, eax
mov dword [ebp - 0x38], edx
je 0x405384
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x34]
call fcn.004013a0
mov ecx, eax
call fcn.00405580
push eax
call fcn.0044c4a2
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x405384
mov byte [ebp - 0x61], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004031c0
mov al, byte [ebp - 0x61]
jmp 0x4053ff
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x4053a7
mov byte [ebp - 0x62], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004031c0
mov al, byte [ebp - 0x62]
jmp 0x4053ff
cmp dword [ebp - 0x38], 0
jne 0x4053b9
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.00401c90
jmp 0x4053eb
mov byte [ebp - 0x63], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004031c0
mov al, byte [ebp - 0x63]
jmp 0x4053ff
mov byte [ebp - 0x64], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004031c0
mov al, byte [ebp - 0x64]
jmp 0x4053ff
jmp 0x4052b2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0044bc4c
mov esp, ebp
pop ebp
ret
Function at 0x40a9e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 0xc]
lea eax, [esp]
push eax
push edx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
mov eax, dword [ecx]
push 0
push edx
push eax
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40aa19
mov eax, dword [esp + 0xc]
sub eax, 4
neg eax
sbb eax, eax
and eax, 0xd
pop ecx
ret 8

Function at 0x40acc0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4b5e98
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e0490]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebx, ecx
xor edi, edi
xor esi, esi
mov dword [esp + 0x24], edi
lea eax, [esp + 0x14]
push eax
push 0x2001f
push edi
push 0x4ba91c
push reloc.WS2_32.dll_accept
mov dword [esp + 0x44], edi
mov dword [esp + 0x28], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x40ad1e
mov esi, dword [esp + 0x14]
jmp 0x40ad4d
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
push edi
push 0x2001f
push edi
push edi
push edi
push 0x4ba91c
push reloc.WS2_32.dll_accept
mov dword [esp + 0x3c], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, edi
jne 0x40adc1
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push edx
push edi
push 0x4ba908
mov ebp, 4
push esi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], esi
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, edi
jne 0x40ad88
cmp dword [esp + 0x1c], ebp
je 0x40ada9
cmp esi, edi
je 0x40ad93
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
mov eax, dword [esp + 0x18]
push eax
call fcn.00429370
add esp, 4
mov ebp, eax
call fcn.00429590
cmp eax, ebp
jne 0x40ad88
cmp dword [ebx + 0x18], 0x10
jb 0x40adcc
mov eax, dword [ebx + 4]
jmp 0x40adcf
lea eax, [ebx + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp esi, edi
je 0x40ade1
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x40bbf0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x108
mov eax, dword [0x4e0490]
xor eax, esp
mov dword [esp + 0x104], eax
push esi
push edi
push 0x103
lea eax, [esp + 0xd]
push 0
push eax
mov edi, ecx
mov byte [esp + 0x14], 0
call fcn.0044b5c0
add esp, 0xc
push 0
push 0x1a
lea ecx, [esp + 0x10]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendA]
push str.Kuaizip
lea edx, [esp + 0xc]
push edx
call esi
push str.report_config.txt
lea eax, [esp + 0xc]
push eax
call esi
lea eax, [esp + 8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40bc57
sub eax, edx
push eax
lea ecx, [esp + 0xc]
push ecx
mov ecx, edi
call fcn.00403910
mov ecx, dword [esp + 0x10c]
pop edi
pop esi
xor ecx, esp
call fcn.0044bc4c
add esp, 0x108
ret

Function at 0x40c230
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4b3ba3
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4e0490]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.std::locale::_Locimp.0
push esi
mov dword [esp + 0x18], 1
call fcn.004691cf
add esp, 4
cmp dword [esi + 0x30], 0x10
jb 0x40c281
mov eax, dword [esi + 0x1c]
push eax
call fcn.0042f06b
add esp, 4
xor eax, eax
mov dword [esi + 0x30], 0xf
mov dword [esi + 0x2c], eax
mov byte [esi + 0x1c], al
mov dword [esi], vtable.std::locale::facet.0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x40df80
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4b3f95
mov eax, dword fs:[0]
push eax
sub esp, 0x118
push esi
push edi
mov eax, dword [0x4e0490]
xor eax, esp
push eax
lea eax, [esp + 0x124]
mov dword fs:[0], eax
mov esi, ecx
push 1
push 3
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], 0
call fcn.0040dca0
cmp dword [esi + 0x18], 0x10
mov dword [esp + 0x12c], 1
lea edi, [esi + 4]
jb 0x40dfda
mov eax, dword [edi]
jmp 0x40dfdc
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x40e054
push 1
lea ecx, [esp + 0x9c]
call fcn.0040dd40
cmp dword [esi + 0x18], 0x10
mov byte [esp + 0x12c], 2
jb 0x40e005
mov edi, dword [edi]
push 0x20
push edi
lea ecx, [esp + 0xa0]
call fcn.0040d040
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0x1c]
call fcn.0040d230
lea ecx, [esp + 0xf0]
mov byte [esp + 0x12c], 1
call fcn.00403fb0
lea ecx, [esp + 0xf0]
push ecx
mov dword [esp + 0xf4], vtable.std::ios_base.0
call fcn.00469484
add esp, 4
mov esi, dword [esp + 0x134]
push esi
lea ecx, [esp + 0x14]
call fcn.0040bc90
lea ecx, [esp + 0x64]
mov dword [esp + 0xc], 1
mov byte [esp + 0x12c], 0
call fcn.0040b390
lea edx, [esp + 0x64]
push edx
mov dword [esp + 0x68], vtable.std::ios_base.0
call fcn.00469484
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x124]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x124
ret 4
Function at 0x40e0b0
Capabilities:
Set registry value

Disassembly:
sub esp, 8
push esi
mov esi, ecx
call fcn.0040d8e0
test al, al
je 0x40e129
push 0x2001f
push 0x4ba91c
push reloc.WS2_32.dll_accept
lea eax, [esp + 0x10]
push eax
mov ecx, esi
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.00427230
mov esi, dword [esp + 4]
test al, al
je 0x40e117
push 0
call fcn.0044b26c
add esp, 4
push 4
lea ecx, [esp + 8]
push ecx
push 4
push 0
push 0x4ba908
push esi
mov dword [esp + 0x1c], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test esi, esi
je 0x40e122
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
pop esi
add esp, 8
ret
xor al, al
pop esi
add esp, 8
ret
Function at 0x40e130
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4b400a
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x4e0490]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e0490]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xa0]
mov esi, dword [esp + 0xa4]
xor edi, edi
mov ebx, ecx
mov ecx, ebp
mov dword [esp + 0x98], edi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], edi
call fcn.00407c40
push 0xffffffffffffffff
push edi
push esi
lea ecx, [esp + 0x44]
mov dword [esp + 0xa4], edi
mov dword [esp + 0x20], 1
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], edi
mov byte [esp + 0x48], 0
call fcn.00403360
mov eax, dword [esp + 0x4c]
xor esi, esi
mov dword [esp + 0x98], 1
test eax, eax
jbe 0x40e27a
cmp esi, eax
jbe 0x40e1dc
call fcn.0044b41a
cmp dword [esp + 0x50], 0x10
mov eax, dword [esp + 0x3c]
jae 0x40e1eb
lea eax, [esp + 0x3c]
movsx eax, byte [eax + esi]
cmp eax, dword [esp + 0xa8]
jne 0x40e26d
mov eax, esi
sub eax, edi
push eax
push edi
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esp + 0x44]
call fcn.00401490
push 0xd
lea edx, [esp + 0x74]
push edx
lea eax, [esp + 0x24]
push eax
mov ecx, ebx
mov byte [esp + 0xa4], 2
lea edi, [esi + 1]
call fcn.0040b9e0
push eax
mov ecx, ebp
mov byte [esp + 0x9c], 3
call fcn.00407d00
cmp dword [esp + 0x34], 0x10
jb 0x40e24e
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0042f06b
add esp, 4
cmp dword [esp + 0x88], 0x10
mov byte [esp + 0x98], 1
jb 0x40e26d
mov edx, dword [esp + 0x74]
push edx
call fcn.0042f06b
add esp, 4
mov eax, dword [esp + 0x4c]
inc esi
cmp esi, eax
jb 0x40e1dc
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x44]
call fcn.00401490
push 0xd
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x24]
push edx
mov ecx, ebx
mov byte [esp + 0xa4], 4
call fcn.0040b9e0
push eax
mov ecx, ebp
mov byte [esp + 0x9c], 5
call fcn.00407d00
mov esi, 0x10
cmp dword [esp + 0x34], esi
jb 0x40e2ce
mov eax, dword [esp + 0x20]
push eax
call fcn.0042f06b
add esp, 4
cmp dword [esp + 0x6c], esi
jb 0x40e2e1
mov ecx, dword [esp + 0x58]
push ecx
call fcn.0042f06b
add esp, 4
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], 0
mov byte [esp + 0x58], 0
cmp dword [esp + 0x50], esi
jb 0x40e309
mov edx, dword [esp + 0x3c]
push edx
call fcn.0042f06b
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.0044bc4c
add esp, 0x88
ret 0xc
Function at 0x40fb80
Capabilities:
Get common file path
Get file version info

Disassembly:
sub esp, 0x214
mov eax, dword [0x4e0490]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push 0x206
xor ebx, ebx
lea ecx, [esp + 0x12]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x18], ax
call fcn.0044b5c0
add esp, 0xc
lea edx, [esp + 0xc]
push edx
push ebx
push ebx
push 0x25
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jge 0x40fbdd
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.0044bc4c
add esp, 0x214
ret
push esi
push 0x4bac34
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push ebx
lea ecx, [esp + 0x14]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, ebx
jbe 0x40fc4e
push edi
push esi
call fcn.0042f076
add esp, 4
mov edi, eax
push edi
push esi
push ebx
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x40fc44
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
push 0x4bac30
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40fc44
mov edx, dword [esp + 0xc]
mov ebx, dword [edx + 8]
push edi
call fcn.0042f06b
add esp, 4
pop edi
mov ecx, dword [esp + 0x218]
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.0044bc4c
add esp, 0x214
ret

Function at 0x40fc70
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4b4278
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x4e0490]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
lea ecx, [esp + 4]
call fcn.004b3210
lea ecx, [esp + 4]
mov dword [esp + 0x10], 0
call fcn.004b31e0
mov ecx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x20]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x40fce3
mov dword [esp + 0x10], 0xffffffff
lea ecx, [esp + 4]
call fcn.004b31f0
xor al, al
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
add esp, 0x10
ret
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push edx
push eax
push 0
push 0
push ecx
lea ecx, [esp + 0x18]
call fcn.004b31d0
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [esp + 0x10], 0xffffffff
lea ecx, [esp + 4]
test eax, eax
jne 0x40fccc
call fcn.004b31f0
mov al, 1
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
add esp, 0x10
ret
Function at 0x413010
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x914
mov eax, dword [0x4e0490]
xor eax, esp
mov dword [esp + 0x910], eax
push esi
mov esi, dword [esp + 0x91c]
push edi
push 0xff
lea eax, [esp + 0x1d]
push 0
push eax
or edi, 0xffffffff
mov dword [esp + 0x14], 0
mov byte [esp + 0x24], 0
call fcn.0044b5c0
push esi
lea ecx, [esp + 0x28]
push str.SYSTEMCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318_sConnection
push ecx
call fcn.0044c986
add esp, 0x18
lea edx, [esp + 8]
push edx
push 0x20019
push 0
lea eax, [esp + 0x24]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x413142
xor ecx, ecx
push 0x7fe
push ecx
lea edx, [esp + 0x122]
push edx
mov word [esp + 0x124], cx
call fcn.0044b5c0
mov edx, dword [esp + 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x11c]
push ecx
push 0
push 0
push str.PnpInstanceID
push edx
mov dword [esp + 0x28], 0x800
call esi
test eax, eax
jne 0x413137
push 3
push 0x4bae30
lea eax, [esp + 0x120]
push eax
push 0
call dword [sym.imp.SHLWAPI.dll_StrIsIntlEqualW]
test eax, eax
je 0x413137
mov eax, dword [esp + 8]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x10]
push edx
push 0
push 0
push str.MediaSubType
push eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x2c], 4
call esi
cmp eax, 2
je 0x413135
test eax, eax
jne 0x413137
mov eax, dword [esp + 0xc]
cmp eax, 1
je 0x413135
cmp eax, 2
jne 0x413137
lea edi, [eax - 1]
jmp 0x413137
xor edi, edi
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x918]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.0044bc4c
add esp, 0x914
ret
Function at 0x413d10
Capabilities:
Reference http user-agent string

Disassembly:
push esi
push edi
push 2
mov edi, ecx
call fcn.0047b110
call fcn.0047b1a0
push 1
mov esi, eax
push 0x29
push esi
call fcn.0047b1e0
push str.User_Agent:Mozilla_5.0__Windows_NT_6.1__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_42.0.2311.90_Safari_537.36
push 0
call fcn.0047b4a0
push 0x4bb0f0
push eax
call fcn.0047b4a0
push eax
push 0x2727
push esi
call fcn.0047b1e0
add esp, 0x2c
cmp dword [edi + 0x18], 0x10
jb 0x413d5d
mov eax, dword [edi + 4]
jmp 0x413d60
lea eax, [edi + 4]
push eax
push 0x2712
push esi
call fcn.0047b1e0
push 0x413cd0
push 0x4e2b
push esi
call fcn.0047b1e0
push edi
push 0x2711
push esi
call fcn.0047b1e0
push 0
push 0x2b
push esi
call fcn.0047b1e0
push edi
push 0x2749
push esi
call fcn.0047b1e0
push 0x413bf0
push 0x4e58
push esi
call fcn.0047b1e0
mov eax, dword [edi + 0x20]
add esp, 0x48
test eax, eax
je 0x413dd0
push eax
push 0x13
push esi
call fcn.0047b1e0
mov eax, dword [edi + 0x24]
push eax
push 0x14
push esi
call fcn.0047b1e0
add esp, 0x18
push esi
call fcn.0047b3e0
add esp, 4
test eax, eax
je 0x413e1a
push eax
call fcn.00479f50
mov ecx, eax
add esp, 4
lea esi, [ecx + 1]
jmp 0x413df0
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x413df0
sub ecx, esi
push ecx
push eax
lea ecx, [edi + 0x30]
call fcn.00403910
cmp dword [edi + 0x28], 0
je 0x413e14
mov ecx, dword [edi + 0x28]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
pop edi
or eax, 0xffffffff
pop esi
ret
lea ecx, [edi + 0x2c]
push ecx
push 0x200002
push esi
call fcn.0047b420
add esp, 0xc
test eax, eax
je 0x413e3e
push eax
mov ecx, edi
call fcn.00413c90
pop edi
or eax, 0xffffffff
pop esi
ret
push esi
call fcn.0047b400
add esp, 4
cmp dword [edi + 0x28], 0
je 0x413e57
mov ecx, dword [edi + 0x28]
mov edx, dword [ecx]
mov eax, dword [edx]
push edi
call eax
pop edi
xor eax, eax
pop esi
ret
Function at 0x414430
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x630
mov eax, dword [0x4e0490]
xor eax, esp
mov dword [esp + 0x62c], eax
push esi
push edi
xor esi, esi
push 0x206
lea ecx, [esp + 0x432]
xor eax, eax
push esi
xor edi, edi
push ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
mov word [esp + 0x438], ax
call fcn.0044b5c0
push 0x206
lea eax, [esp + 0x2e]
xor edx, edx
push esi
push eax
mov word [esp + 0x34], dx
call fcn.0044b5c0
mov eax, dword [esp + 0x654]
lea edx, [esp + 0x34]
add esp, 0x18
sub edx, eax
lea ebx, [ebx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, si
jne 0x4144a0
lea ecx, [esp + 0x1c]
push ecx
call fcn.0044cf92
add esp, 4
lea edx, [esp + 8]
push edx
push 0x109
push esi
push str.SYSTEMCurrentControlSet_services_
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4145e5
mov ecx, dword [esp + 8]
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
push 0x104
lea eax, [esp + 0x434]
push eax
push esi
push ecx
call ebp
test eax, eax
jne 0x4145d9
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push ebx
lea ebx, [eax + 1]
lea ecx, [ecx]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x438]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4145b5
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x236]
push eax
mov dword [esp + 0x28], 0x104
mov word [esp + 0x238], dx
call fcn.0044b5c0
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x230]
push edx
lea eax, [esp + 0x28]
push eax
push 0
push str.DisplayName
push ecx
mov dword [esp + 0x38], ebx
call edi
test eax, eax
jne 0x4145aa
lea edx, [esp + 0x22c]
push edx
call fcn.0044cf92
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x234]
push ecx
call fcn.0044ccc5
add esp, 0xc
test eax, eax
je 0x4145aa
mov dword [esp + 0x18], ebx
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x10]
push 0x104
lea eax, [esp + 0x438]
push eax
add esi, ebx
push esi
push ecx
call ebp
test eax, eax
je 0x414510
mov edi, dword [esp + 0x18]
pop ebx
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebp
mov ecx, dword [esp + 0x634]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.0044bc4c
add esp, 0x630
ret 4
Function at 0x414600
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x41c
mov eax, dword [0x4e0490]
xor eax, esp
mov dword [esp + 0x418], eax
push ebx
push esi
xor esi, esi
push 0x206
lea ecx, [esp + 0x16]
xor eax, eax
push esi
push ecx
xor ebx, ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
mov word [esp + 0x1c], ax
call fcn.0044b5c0
push 0x206
lea eax, [esp + 0x22a]
xor edx, edx
push esi
push eax
mov word [esp + 0x230], dx
call fcn.0044b5c0
mov eax, dword [esp + 0x440]
lea edx, [esp + 0x230]
add esp, 0x18
sub edx, eax
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, si
jne 0x414670
lea ecx, [esp + 0x218]
push ecx
call fcn.0044cf92
add esp, 4
lea edx, [esp + 8]
push edx
push 0x109
push esi
push str.SYSTEMCurrentControlSet_services_
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41473e
mov ecx, dword [esp + 8]
push ebp
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
push 0x104
lea eax, [esp + 0x1c]
push eax
push esi
push ecx
call edi
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x414735
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x41471e
lea edx, [esp + 0x18]
push edx
call fcn.0044cf92
lea eax, [esp + 0x224]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.0044ccc5
add esp, 0xc
test eax, eax
je 0x414717
mov ebx, 1
mov edx, dword [esp + 0x14]
push edx
call ebp
mov ecx, dword [esp + 0x10]
push 0x104
lea eax, [esp + 0x1c]
push eax
inc esi
push esi
push ecx
call edi
test eax, eax
je 0x4146d6
mov edx, dword [esp + 0x10]
push edx
call ebp
pop edi
pop ebp
mov ecx, dword [esp + 0x420]
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.0044bc4c
add esp, 0x41c
ret 4