joyce8/EMBER2024-capa huggingface dataset:
Function at 0x11d55960
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x11df4483
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x11dfca04]
push esi
mov esi, ecx
push edi
mov dword [esp + 0x18], esi
lea edi, [esi + 4]
mov dword [edi], eax
mov dword [esi], 0x11dfc674
mov eax, dword [0x11dfca04]
mov dword [esp + 0x24], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov byte [esp + 0x24], 4
test eax, eax
je 0x11d559d2
call fcn.11db73e0
push eax
lea ecx, [esp + 0x18]
push str.__lu
push ecx
call fcn.11d7dd60
add esp, 0xc
mov eax, dword [esp + 0x34]
test eax, eax
je 0x11d559f3
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea edx, [esp + 0x14]
push str.__lu
push edx
call fcn.11d7dd60
add esp, 0xc
mov eax, dword [esp + 0x38]
test eax, eax
je 0x11d55a14
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
lea eax, [esp + 0x10]
push str.__lu
push eax
call fcn.11d7dd60
add esp, 0xc
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x11d55a35
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea ecx, [esp + 0xc]
push 0x11e0f80c
push ecx
call fcn.11d7dd60
add esp, 0xc
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x30]
push edx
call fcn.11d7a640
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x38]
push edx
push eax
push ecx
push str._s_s_s_s_s
push edi
mov byte [esp + 0x40], 5
call fcn.11d7dd60
add esp, 0x1c
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], 4
call fcn.11d7ade0
lea ecx, [esp + 8]
mov byte [esp + 0x24], 3
call fcn.11d7ade0
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 2
call fcn.11d7ade0
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 1
call fcn.11d7ade0
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 0
call fcn.11d7ade0
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 0x14
Function at 0x11d55b1d
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x11df44b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x11dfca04]
push esi
mov esi, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov byte [esp + 0x1c], 3
cmp eax, 0xffffffff
je 0x11d55b59
push eax
lea eax, [esp + 0x14]
push str.__lu
push eax
call fcn.11d7dd60
add esp, 0xc
mov eax, dword [esp + 0x2c]
cmp eax, 0xffffffff
je 0x11d55b75
push eax
lea ecx, [esp + 0x10]
push str.__lu
push ecx
call fcn.11d7dd60
add esp, 0xc
mov eax, dword [esp + 0x30]
cmp eax, 0xffffffff
je 0x11d55b91
push eax
lea edx, [esp + 0xc]
push str.__lu
push edx
call fcn.11d7dd60
add esp, 0xc
mov eax, dword [esp + 0x34]
cmp eax, 0xffffffff
je 0x11d55bad
push eax
lea eax, [esp + 8]
push 0x11e0f80c
push eax
call fcn.11d7dd60
add esp, 0xc
mov ecx, dword [esp + 0x24]
push ecx
lea ecx, [esp + 0x2c]
call fcn.11d7a640
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push edx
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x30]
push ecx
push edx
push eax
add esi, 4
push str._s_s_s_s_s
push esi
mov byte [esp + 0x38], 4
call fcn.11d7dd60
add esp, 0x1c
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 3
call fcn.11d7ade0
lea ecx, [esp + 4]
mov byte [esp + 0x1c], 2
call fcn.11d7ade0
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 1
call fcn.11d7ade0
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 0
call fcn.11d7ade0
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0xffffffff
call fcn.11d7ade0
mov ecx, dword [esp + 0x14]
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x14

Function at 0x11d55ce0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x11df4517
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x11dfca04]
push esi
mov esi, ecx
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 0x18], 1
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov byte [esp + 0x18], 2
test eax, eax
je 0x11d55d2c
push 0x11e0f850
jmp 0x11d55d31
push 0x11e0f840
lea ecx, [esp + 8]
call fcn.11d7b060
mov eax, dword [esi + 4]
mov ecx, dword [esp + 4]
push eax
push ecx
lea edx, [esp + 0x10]
push 0x11e0f834
push edx
call fcn.11d7dd60
mov esi, dword [esp + 0x30]
add esp, 0x10
lea eax, [esp + 8]
mov ecx, esi
push eax
call fcn.11d7a3e0
mov dword [esp + 0xc], 1
lea ecx, [esp + 4]
mov byte [esp + 0x18], 1
call fcn.11d7ade0
lea ecx, [esp + 8]
mov byte [esp + 0x18], 0
call fcn.11d7ade0
mov ecx, dword [esp + 0x10]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret 8
Function at 0x11d5d670
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push 0xffffffffffffffff
push 0x11df50a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebp
push esi
lea ecx, [esp + 0xc]
call fcn.11d74a70
push str.127.0.0.1
mov dword [esp + 0x2c], 0
call dword [sym.imp.WS2_32.dll_inet_addr]
mov esi, eax
xor eax, eax
mov dword [esp + 0x12], eax
lea ecx, [esp + 8]
mov dword [esp + 0x16], eax
lea edx, [esp + 0x10]
mov dword [esp + 0x1a], eax
push ecx
mov word [esp + 0x22], ax
mov eax, dword [esp + 0x34]
push edx
push eax
mov word [esp + 0x1c], 0
mov dword [esp + 0x14], 0x10
call dword [sym.imp.WS2_32.dll_getsockname]
mov ebp, dword [sym.imp.WS2_32.dll_ntohl]
cmp eax, 0xffffffff
mov eax, dword [0x11e297e0]
je 0x11d5d728
test eax, eax
je 0x11d5d714
mov ecx, dword [esp + 0x14]
push ecx
call ebp
push eax
push 0x12e
push str.TMAILHOOK32::getsockname_succeed__line__lu__ip_0x_x_
push 0x11e0b3a8
push 4
call fcn.11d455b0
add esp, 0x14
push 0
call dword [sym.imp.WS2_32.dll_htonl]
mov ecx, dword [esp + 0x14]
cmp ecx, eax
je 0x11d5d74c
mov esi, ecx
jmp 0x11d5d74c
test eax, eax
je 0x11d5d74c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 0x138
push str.TMAILHOOK32::getsockname_failed__line__lu__errno:__d
push 0x11e0b3a8
push 4
call fcn.11d455b0
add esp, 0x14
push edi
mov edi, dword [esp + 0x38]
test edi, edi
je 0x11d5d75c
call fcn.11d5d550
mov dword [edi], eax
mov eax, dword [0x11e297e0]
pop edi
test eax, eax
je 0x11d5d77e
push esi
call ebp
push eax
push str.TMAILHOOK32::dwTMGWIP_0x_x_
push 0x11e0b3a8
push 4
call fcn.11d455b0
add esp, 0x10
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.11d74a90
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x11d63720
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x11df5308
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push esi
push edi
lea ecx, [esp + 0xc]
xor edi, edi
call fcn.11d73380
push 1
push edi
push ecx
mov dword [esp + 0x44], edi
mov ecx, esp
mov dword [esp + 0x14], esp
push str.disable_middle_man
call fcn.11d7a640
lea ecx, [esp + 0x18]
call fcn.11d73570
lea ecx, [esp + 0xc]
call fcn.11d735e0
test eax, eax
je 0x11d6378b
lea ecx, [esp + 0xc]
call fcn.11d739a0
mov edi, eax
test edi, edi
je 0x11d6378b
cmp edi, 1
jne 0x11d6378b
mov esi, eax
jmp 0x11d6378d
xor esi, esi
mov eax, dword [0x11e297e0]
test eax, eax
je 0x11d637ac
push esi
push edi
push str.CSSLMailMgr::IsCfgDisable__dwNum:_d__bDis:_d_
push str.SSLMail
push 4
call fcn.11d455b0
add esp, 0x14
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0xffffffff
call fcn.11d734d0
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x34
ret

Function at 0x11d6b640
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x14
xor eax, eax
lea ecx, [esp]
mov dword [esp + 6], eax
push esi
mov dword [esp + 0xe], eax
lea edx, [esp + 8]
mov dword [esp + 0x12], eax
push ecx
mov word [esp + 0x1a], ax
mov eax, dword [esp + 0x20]
push edx
push eax
mov word [esp + 0x14], 0
mov dword [esp + 0x10], 0x10
call dword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x11d6b6b1
mov esi, dword [esp + 0xc]
push str.127.0.0.1
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, esi
je 0x11d6b6a7
push esi
call dword [sym.imp.WS2_32.dll_ntohl]
push eax
call fcn.11d67460
add esp, 4
test eax, eax
je 0x11d6b6b1
mov eax, 1
pop esi
add esp, 0x14
ret
xor eax, eax
pop esi
add esp, 0x14
ret
Function at 0x11d6d030
Capabilities:
Get common file path

Disassembly:
mov eax, dword [0x11e271ec]
test eax, eax
jne 0x11d6d07e
mov dword [0x11e271ec], 1
call fcn.11da52f0
test eax, eax
push 0x104
push 0x11e271f0
je 0x11d6d078
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jbe 0x11d6d07e
push str.SysWow64
push 0x11e271f0
call fcn.11d8ffc0
add esp, 8
mov eax, 0x11e271f0
ret
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov eax, 0x11e271f0
ret

Function at 0x11d708f0
Capabilities:
Get graphical window text

Disassembly:
call fcn.11da3c30
test eax, eax
je 0x11d7090f
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
ret
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
xor ebp, ebp
test edi, edi
je 0x11d70990
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x11d70990
lea ecx, [esi + esi]
xor eax, eax
mov edx, ecx
push esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
call fcn.11d8efa0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x11d70990
mov ecx, esi
xor eax, eax
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push esi
and ecx, 3
push ebx
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ebp, eax
test ebp, ebp
je 0x11d70990
push esi
mov esi, dword [esp + 0x1c]
push esi
push 0xffffffffffffffff
push ebx
xor ebp, ebp
call fcn.11d6d750
add esp, 0x10
test eax, eax
je 0x11d70990
push esi
call fcn.11d8f730
add esp, 4
mov ebp, eax
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
ret
Function at 0x11d718a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x11df5e68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push esi
push 0
mov esi, ecx
push 0
lea eax, [esp + 0x18]
push 0
push eax
mov ecx, 0x11e285a0
call fcn.11d73ab0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
lea ecx, [esp + 0x20]
call fcn.11d8c8b0
lea eax, [esp + 0xc]
push 0x11e19b84
push eax
lea ecx, [esp + 0x20]
call fcn.11d8d980
mov ecx, dword [0x11dfca04]
mov dword [esp + 0x30], 0
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x3c]
mov byte [esp + 0x30], 1
test eax, eax
jne 0x11d7191c
push 0x11e19b7c
jmp 0x11d71932
cmp eax, 1
jne 0x11d71928
push str.Smart
jmp 0x11d71932
cmp eax, 2
jne 0x11d7193b
push str.Forced
lea ecx, [esp + 8]
call fcn.11d7b060
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, dword [0x11dfca04]
mov dword [esp + 8], edx
mov ecx, dword [esp + 0x48]
mov byte [esp + 0x30], 2
test ecx, ecx
mov edx, str.Connect
jne 0x11d71962
mov edx, str.Disconnect
mov ecx, dword [esp + 0x44]
test ecx, ecx
mov ecx, 0x11e19b30
jne 0x11d71974
mov ecx, 0x11e19b7c
push edx
mov edx, dword [esp + 8]
push ecx
mov ecx, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x48]
push edx
push eax
push str.security_proc_log
push ecx
lea edx, [esp + 0x28]
push str._s__s_r_nProcess:_s_r_nSecurity_Process:_s_r_nPID:_d_r_nServerIP:_s_r_nProtected_Server:_s_r_nStatus:_s_r_n
push edx
call fcn.11d7dd60
mov eax, dword [esp + 0x30]
add esp, 0x28
mov ecx, esi
push 0
push eax
call fcn.11d71e70
lea ecx, [esp + 8]
mov byte [esp + 0x30], 1
call fcn.11d7ade0
lea ecx, [esp + 4]
mov byte [esp + 0x30], 0
call fcn.11d7ade0
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.11d7ade0
mov ecx, dword [esp + 0x28]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret 0x14
Function at 0x11d794b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push esi
mov esi, eax
shr eax, 4
and esi, 0xf
inc eax
push edi
mov edi, dword [esp + 0xc]
and eax, 0xffff
push ecx
push eax
push 6
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
je 0x11d794fe
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x11d794fe
xor edx, edx
xor ecx, ecx
mov cx, word [eax]
add eax, 2
cmp esi, edx
je 0x11d79503
inc edx
lea eax, [eax + ecx*2]
cmp edx, 0x10
jl 0x11d794e9
pop edi
xor eax, eax
pop esi
ret
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
test edi, edi
jne 0x11d79513
test esi, esi
jne 0x11d79531
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jle 0x11d7952f
mov byte [eax + esi - 1], 0
jne 0x11d79538
mov byte [esi + edi - 1], 0
mov eax, edi
pop edi
dec eax
pop esi
ret

Function at 0x11d7ec20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push esi
push edi
mov esi, dword [esp + 0xc]
mov edi, eax
shr eax, 4
and edi, 0xf
inc eax
and eax, 0xffff
push ecx
push eax
push 6
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
je 0x11d7ec70
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x11d7ec70
xor ecx, ecx
xor eax, eax
mov ax, word [esi]
add esi, 2
cmp edi, ecx
je 0x11d7ec75
inc ecx
lea esi, [esi + eax*2]
cmp ecx, 0x10
jl 0x11d7ec5b
pop edi
xor eax, eax
pop esi
ret
mov edx, dword [esp + 0x1c]
lea ecx, [edx - 1]
cmp eax, ecx
jle 0x11d7ec82
mov eax, ecx
lea edx, [eax + eax]
push ebx
mov ebx, dword [esp + 0x1c]
mov ecx, edx
push ebp
mov ebp, ecx
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
pop ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov word [edx + ebx], 0
pop ebx
pop edi
pop esi
ret
Function at 0x11d89ed0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov eax, dword [ecx + 4]
push ebx
push ebp
push esi
push edi
mov edi, dword [ecx]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], 0
test ecx, ecx
je 0x11d89f11
lea edx, [esp + 0x14]
or eax, 0x20019
push edx
push eax
push 0
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
mov eax, dword [esp + 0x14]
neg esi
sbb esi, esi
not esi
and esi, eax
jmp 0x11d89f13
mov esi, edi
test esi, esi
je 0x11d89f88
mov ebx, dword [esp + 0x20]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x20]
push eax
push 0
push ecx
push 0
push ebx
push esi
call ebp
test eax, eax
jne 0x11d89f7d
mov ecx, dword [esp + 0x20]
mov eax, 4
cmp ecx, eax
jne 0x11d89f7d
cmp dword [esp + 0x1c], eax
jbe 0x11d89f4e
mov dword [esp + 0x1c], eax
lea edx, [esp + 0x1c]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0
push ebx
push esi
call ebp
test eax, eax
jne 0x11d89f7d
cmp esi, edi
je 0x11d89f6f
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
cmp esi, edi
je 0x11d89f88
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc

Function at 0x11d89fa0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push ebx
push esi
mov esi, dword [ecx]
push edi
test esi, esi
mov dword [esp + 0xc], 0
je 0x11d8a005
mov edi, dword [esp + 0x18]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
push 0
push ecx
push 0
push edi
push esi
call ebx
test eax, eax
jne 0x11d8a005
mov ecx, dword [esp + 0x10]
mov eax, 4
cmp ecx, eax
jne 0x11d8a005
cmp dword [esp + 0x18], eax
jbe 0x11d89feb
mov dword [esp + 0x18], eax
lea edx, [esp + 0x18]
lea eax, [esp + 0xc]
push edx
push eax
push 0
push 0
push edi
push esi
call ebx
test eax, eax
mov eax, dword [esp + 0xc]
je 0x11d8a009
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
add esp, 8
ret 8

Function at 0x11d8a0e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ebx
push esi
mov esi, dword [ecx]
push edi
test esi, esi
je 0x11d8a13f
mov edi, dword [esp + 0x14]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0x14]
lea ecx, [esp + 0xc]
push eax
push 0
push ecx
push 0
push edi
push esi
call ebx
test eax, eax
jne 0x11d8a13f
cmp dword [esp + 0xc], 3
jne 0x11d8a13f
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
cmp edx, eax
jb 0x11d8a13f
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x14]
push eax
push ecx
push 0
push 0
push edi
push esi
call ebx
test eax, eax
jne 0x11d8a13f
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0xc
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret 0xc
Function at 0x11d8a220
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [ecx]
test esi, esi
push edi
je 0x11d8a294
mov ebx, dword [esp + 0x18]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
push 0
push ecx
push 0
push ebx
push esi
call ebp
test eax, eax
jne 0x11d8a294
cmp dword [esp + 0x10], 3
jne 0x11d8a294
mov edx, dword [esp + 0x18]
push edx
call fcn.11d8efa0
mov edi, eax
add esp, 4
test edi, edi
je 0x11d8a294
lea eax, [esp + 0x18]
push eax
push edi
push 0
push 0
push ebx
push esi
call ebp
test eax, eax
jne 0x11d8a28b
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, edi
pop edi
pop esi
pop ebp
mov dword [ecx], edx
pop ebx
pop ecx
ret 8
push edi
call fcn.11d8efae
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 8

Function at 0x11d8a2a0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x11df696f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x11dfca04]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 4]
mov edi, dword [ecx]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x28], 1
test ecx, ecx
mov dword [esp + 0x14], edi
je 0x11d8a30b
lea edx, [esp + 0x18]
or eax, 0x20019
push edx
push eax
push 0
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
mov eax, dword [esp + 0x18]
neg esi
sbb esi, esi
not esi
and esi, eax
jmp 0x11d8a30d
mov esi, edi
test esi, esi
je 0x11d8a3d7
mov ebx, dword [esp + 0x38]
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x3c]
push 0
push ecx
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x11d8a3cc
mov eax, dword [esp + 0x38]
cmp eax, 1
je 0x11d8a34f
cmp eax, 2
je 0x11d8a34f
cmp eax, 6
je 0x11d8a34f
cmp eax, 7
jne 0x11d8a3cc
mov edx, dword [esp + 0x34]
add edx, 2
push edx
call fcn.11d8efa0
mov ebp, eax
mov eax, dword [esp + 0x38]
mov edi, ebp
add esp, 4
lea ecx, [eax + 2]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [esp + 0x34]
push eax
push ebp
push 0
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
push ebp
jne 0x11d8a3b2
lea ecx, [esp + 0x14]
call fcn.11d7b060
cmp esi, dword [esp + 0x14]
je 0x11d8a3a7
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebp
call fcn.11d8efae
add esp, 4
jmp 0x11d8a3e9
call fcn.11d8efae
add esp, 4
lea ecx, [esp + 0x10]
push 0x11e23498
call fcn.11d7b060
mov edi, dword [esp + 0x14]
cmp esi, edi
je 0x11d8a3d7
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x11d8a3e9
push eax
lea ecx, [esp + 0x14]
call fcn.11d7b060
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.11d7a3e0
mov dword [esp + 0x1c], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
call fcn.11d7ade0
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10
Function at 0x11d8a980
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [ecx]
mov ecx, dword [esp + 0x18]
push 0xffffffffffffffff
push 0
call fcn.11d80770
test esi, esi
je 0x11d8aa62
mov ebp, dword [esp + 0x14]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x10]
push 0
push ecx
push 0
push ebp
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x11d8aa62
mov eax, dword [esp + 0xc]
cmp eax, 1
je 0x11d8a9d9
cmp eax, 2
je 0x11d8a9d9
cmp eax, 6
je 0x11d8a9d9
cmp eax, 7
jne 0x11d8aa62
mov edx, dword [esp + 0x14]
push edi
add edx, 2
push edx
call fcn.11d8efa0
mov ebx, eax
mov eax, dword [esp + 0x1c]
mov edi, ebx
add esp, 4
lea ecx, [eax + 2]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [esp + 0x18]
push eax
push ebx
push 0
push 0
push ebp
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
pop edi
jne 0x11d8aa59
cmp word [ebx], ax
mov esi, ebx
je 0x11d8aa44
mov ecx, dword [esp + 0x18]
push esi
mov edx, dword [ecx + 4]
push edx
call fcn.11d80c20
push esi
call fcn.11d8f730
lea esi, [esi + eax*2 + 2]
add esp, 4
cmp word [esi], 0
jne 0x11d8aa23
push ebx
call fcn.11d8efae
add esp, 4
mov eax, 1
pop esi
pop ebp
pop ebx
pop ecx
ret 8
push ebx
call fcn.11d8efae
add esp, 4
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 8
Function at 0x11d8b0d0
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [ecx]
test esi, esi
je 0x11d8b109
push edi
mov edi, dword [esp + 0x10]
push edi
call fcn.11d8f730
mov ecx, dword [esp + 0x10]
add esp, 4
lea eax, [eax + eax + 2]
push eax
push edi
push 1
push 0
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
pop edi
jne 0x11d8b109
mov eax, 1
pop esi
ret 8
xor eax, eax
pop esi
ret 8

Function at 0x11d8b140
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x11df6a38
push eax
mov eax, dword [ebp + 0xc]
mov dword fs:[0], esp
push ebx
push esi
test eax, eax
push edi
je 0x11d8b196
lea ecx, [ebp + 0x14]
lea edx, [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 8]
or ecx, 0x20006
push 0
push ecx
push 0
push 0
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
mov eax, dword [ebp + 0xc]
neg esi
sbb esi, esi
not esi
and esi, eax
jmp 0x11d8b199
mov esi, dword [ebp + 8]
test esi, esi
je 0x11d8b28c
call fcn.11da3be0
test eax, eax
je 0x11d8b1e9
mov edi, dword [ebp + 0x18]
push edi
call fcn.11d8f730
mov ecx, dword [ebp + 0x10]
add esp, 4
lea eax, [eax + eax + 2]
push eax
push edi
push 1
push 0
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x11d8b280
cmp esi, dword [ebp + 8]
je 0x11d8b1df
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x11d8b28e
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x11d8b228
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ebx, [eax + eax + 2]
mov eax, ebx
add eax, 3
and al, 0xfc
call fcn.11d90f10
mov edi, esp
test edi, edi
je 0x11d8b228
mov edx, dword [ebp + 0x10]
push 0
push 0
push ebx
push edi
push 0xffffffffffffffff
push edx
push 0
push 0
mov byte [edi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x11d8b22a
xor edi, edi
mov eax, dword [ebp + 0x18]
lea ecx, [ebp + 0xc]
push eax
call fcn.11d75300
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax - 8]
inc ecx
push ecx
push eax
push 1
push 0
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x11d8b271
cmp esi, dword [ebp + 8]
je 0x11d8b25b
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
call fcn.11d75a60
mov eax, 1
jmp 0x11d8b28e
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
call fcn.11d75a60
cmp esi, dword [ebp + 8]
je 0x11d8b28c
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0x18]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret