joyce8/EMBER2024-capa huggingface dataset:
Function at 0x447b30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a28f9
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x4c36a0]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov edi, dword [esp + 0x6c]
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x64], ebx
mov dword [esp + 0x10], 1
call fcn.00470050
lea eax, [esp + 0x40]
push eax
mov dword [esp + 0x68], 1
call fcn.00460910
push str.configupdateserver.txt
push eax
lea ecx, [esp + 0x30]
push ecx
mov byte [esp + 0x74], 2
call fcn.0040b3a0
add esp, 0x10
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x68], 3
call fcn.00470da0
mov esi, 0x10
cmp dword [esp + 0x3c], esi
jb 0x447bcf
mov edx, dword [esp + 0x28]
push edx
call fcn.0047528f
add esp, 4
cmp dword [esp + 0x58], esi
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
mov byte [esp + 0x64], 1
jb 0x447bf7
mov eax, dword [esp + 0x44]
push eax
call fcn.0047528f
add esp, 4
lea ecx, [esp + 0x14]
xor esi, esi
call fcn.0046f250
test eax, eax
jbe 0x447c69
lea ecx, [esp + 0x24]
call fcn.00470050
push 0x2c
push esi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], 4
call fcn.0046f200
push eax
lea ecx, [esp + 0x2c]
call fcn.00470a60
lea ecx, [esp + 0x24]
call fcn.0046f250
cmp eax, 1
jbe 0x447c4b
push 1
lea ecx, [esp + 0x28]
call fcn.0046f200
push eax
mov ecx, edi
call fcn.00447660
lea ecx, [esp + 0x24]
mov byte [esp + 0x64], 1
call fcn.00470060
lea ecx, [esp + 0x14]
add esi, 1
call fcn.0046f250
cmp esi, eax
jb 0x447c06
lea ecx, [esp + 0x14]
mov byte [esp + 0x64], bl
call fcn.00470060
mov eax, edi
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x58
ret 4

Function at 0x4497d9
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
cmp eax, 0xf060
push esi
mov esi, ecx
jne 0x4497ec
call fcn.00449000
mov eax, 1
pop esi
ret 0xc
cmp eax, 0xf020
jne 0x449810
cmp dword [0x4c32c0], 0
je 0x449804
mov eax, dword [esi + 4]
push 0
push eax
jmp 0x44980a
mov ecx, dword [esi + 4]
push 6
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 0x18]
mov dword [edx + 0x20], 0
xor eax, eax
pop esi
ret 0xc
Function at 0x44c910
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
push edi
mov edi, ecx
jne 0x44c926
push 0x80004005
call fcn.00401160
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esp + 0xc]
mov edx, dword [edi]
add eax, 1
push eax
mov eax, dword [esp + 0x18]
push esi
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
ret 0xc

Function at 0x44ca90
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 0x214
mov eax, dword [0x4c36a0]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
mov ebx, dword [esp + 0x220]
push esi
push edi
mov edi, dword [esp + 0x224]
xor esi, esi
push esi
mov dword [esp + 0x10], esi
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 0xc]
push eax
push 0x4ac69c
push 1
push esi
push 0x4ac8cc
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x44cb63
mov eax, dword [esp + 0xc]
cmp eax, esi
je 0x44cb63
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
push ebx
push eax
call edx
test eax, eax
jl 0x44cb63
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x14], esi
mov ecx, dword [eax]
push 0x4afc4c
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x44cb57
cmp dword [esp + 0x10], esi
je 0x44cb57
push 0x104
lea ecx, [esp + 0x18]
push ecx
push 0xffffffffffffffff
push edi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
mov edx, dword [edx + 0x18]
push 2
lea ecx, [esp + 0x18]
push ecx
push eax
call edx
xor ecx, ecx
test eax, eax
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
setge cl
push eax
mov eax, dword [edx + 8]
mov esi, ecx
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [esp + 0x21c]
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.00476554
add esp, 0x214
ret 8
Function at 0x44cdb0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x108
mov eax, dword [0x4c36a0]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x10c]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_IsWindow]
mov dword [esi + 0x18], eax
mov ecx, dword [esi]
push ecx
call edi
test eax, eax
mov ebx, dword [sym.imp.USER32.dll_GetParent]
jne 0x44ce1d
mov edx, dword [esi + 0x18]
push edx
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
push 0
push ecx
mov ecx, esp
push 0
push 0x50000100
push 0x4a8e67
mov dword [ecx], eax
push ecx
mov eax, esp
mov dword [eax], 0
mov eax, dword [esi + 0x18]
push eax
call ebx
push eax
mov ecx, esi
call fcn.004056a0
mov ecx, dword [esi]
push ecx
call edi
test eax, eax
je 0x44cec7
mov edx, dword [esi + 0x18]
lea edi, [esi + 4]
push edi
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 0x18]
push eax
call ebx
mov ebp, dword [sym.imp.USER32.dll_ScreenToClient]
mov ebx, eax
push edi
push ebx
call ebp
test eax, eax
je 0x44ce55
lea ecx, [edi + 8]
push ecx
push ebx
call ebp
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov eax, dword [edi + 8]
mov edi, dword [edi + 0xc]
push 1
sub edi, edx
push edi
sub eax, ecx
push eax
push edx
push ecx
mov ecx, esi
call fcn.0044c9e0
mov edx, dword [esi + 0x18]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x31
push edx
call edi
push 1
push eax
mov eax, dword [esi]
push 0x30
push eax
call edi
mov edx, dword [esi + 0x18]
push 0x104
lea ecx, [esp + 0x14]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
jle 0x44cec0
mov eax, dword [esi + 0x18]
mov edi, dword [sym.imp.USER32.dll_SetWindowTextA]
push 0x4a8e67
push eax
call edi
mov edx, dword [esi]
lea ecx, [esp + 0x10]
push ecx
push edx
call edi
mov eax, 1
jmp 0x44cec9
xor eax, eax
mov ecx, dword [esp + 0x114]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00476554
add esp, 0x108
ret 4
Function at 0x44e1e0
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x14
mov eax, dword [0x4c36a0]
xor eax, esp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
push 0x10
mov dword [esp + 8], ecx
lea ecx, [esp + 4]
push ecx
push 0
mov word [esp + 0xe], dx
mov edx, dword [esp + 0x2c]
push edx
push eax
mov eax, dword [esp + 0x2c]
push eax
mov word [esp + 0x18], 2
call dword [sym.imp.WS2_32.dll_sendto]
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.00476554
add esp, 0x14
ret

Function at 0x44ea00
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x14
mov eax, dword [0x4c36a0]
xor eax, esp
mov dword [esp + 0x10], eax
cmp dword [esp + 0x30], 0x10
mov eax, dword [esp + 0x1c]
jae 0x44ea1d
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x44ea67
movsx ecx, word [eax + 0xa]
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
push ecx
push eax
lea ecx, [esp + 0xc]
push ecx
call fcn.00477930
add esp, 0xc
cmp dword [esp + 0x30], 0x10
jb 0x44ea54
mov edx, dword [esp + 0x1c]
push edx
call fcn.0047528f
add esp, 4
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.00476554
add esp, 0x14
ret
cmp dword [esp + 0x30], 0x10
jb 0x44ea7b
mov eax, dword [esp + 0x1c]
push eax
call fcn.0047528f
add esp, 4
mov ecx, dword [esp + 0x10]
xor ecx, esp
xor eax, eax
call fcn.00476554
add esp, 0x14
ret

Function at 0x44eb70
Capabilities:
Create udp socket

Disassembly:
push 0xffffffffffffffff
push 0x4a3268
mov eax, dword fs:[0]
push eax
push ecx
push ebp
push esi
push edi
mov eax, dword [0x4c36a0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x44]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x48]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], 0
push eax
mov dword [esp + 0x44], 0
mov byte [ecx + 4], 0
call fcn.0040a8e0
call fcn.0044ea00
mov edi, eax
add esp, 0x1c
test edi, edi
jne 0x44ec00
cmp dword [esp + 0x3c], 0x10
jb 0x44ebeb
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0047528f
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret
push 0
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
jne 0x44ec3c
cmp dword [esp + 0x3c], 0x10
jb 0x44ebeb
mov edx, dword [esp + 0x28]
push edx
call fcn.0047528f
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x40]
push eax
push ebp
push ecx
call dword [sym.imp.WS2_32.dll_htons]
push esi
mov ecx, edi
mov edx, eax
call fcn.0044e1e0
add esp, 0xc
push esi
mov edi, eax
call dword [sym.imp.WS2_32.dll_closesocket]
cmp dword [esp + 0x3c], 0x10
jb 0x44ec77
mov edx, dword [esp + 0x28]
push edx
call fcn.0047528f
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret
Function at 0x455480
Capabilities:
Query or enumerate registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x10]
push esi
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
push 0
mov dword [edi], 0
mov eax, dword [ecx]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4554e7
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x4554c3
cmp eax, 2
jne 0x4554d6
test esi, esi
mov eax, dword [esp + 0x14]
je 0x4554e3
test eax, eax
je 0x4554e0
cmp byte [eax + esi - 1], 0
je 0x4554e3
pop edi
mov eax, 0xd
pop esi
ret 0xc
mov byte [esi], 0
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
ret 0xc

Function at 0x4554f0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x12c
mov eax, dword [0x4c36a0]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push ebp
push esi
push edi
push 0
push 2
mov esi, ecx
mov edi, edx
xor bl, bl
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebp, eax
cmp ebp, 0xffffffff
je 0x455564
lea eax, [esp + 0x10]
push eax
push ebp
mov dword [esp + 0x18], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x45555d
cmp esi, dword [esp + 0x18]
je 0x45554c
lea ecx, [esp + 0x10]
push ecx
push ebp
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x455535
jmp 0x45555d
test edi, edi
je 0x45555b
mov ecx, 0x4a
lea esi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
mov bl, 1
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x138]
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
xor ecx, esp
call fcn.00476554
add esp, 0x12c
ret
Function at 0x455c20
Capabilities:
Access peb ldr_data
Read file via mapping

Disassembly:
push 0xffffffffffffffff
push 0x4a4368
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4c36a0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c36a0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
xor ebx, ebx
mov esi, ecx
mov eax, str.XUNYOU_H_ShareMemory
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ebx
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
lea edi, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x455c74
sub eax, edi
push eax
push str.XUNYOU_H_ShareMemory
lea ecx, [esp + 0x20]
call fcn.0040b060
push 6
push str._event
lea ecx, [esp + 0x20]
mov dword [esp + 0x48], ebx
call fcn.00409c60
push str.XUNYOU_H_ShareMemory
push ebx
push 0xf001f
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
cmp eax, ebx
mov dword [esi + 4], eax
mov byte [esp + 0x17], 1
jne 0x455d2e
push 0x14
call fcn.00475412
push 0xc
mov ebp, eax
call fcn.00475412
add esp, 8
cmp ebp, ebx
mov edi, eax
je 0x455d08
cmp edi, ebx
je 0x455d08
push 1
push ebp
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x455d08
push ebx
push ebx
push 1
push ebp
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
je 0x455d08
mov dword [edi], 0xc
mov dword [edi + 4], ebp
mov dword [edi + 8], 1
push str.XUNYOU_H_ShareMemory
push 0x32
push ebx
push 4
push edi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
cmp eax, ebx
mov dword [esi + 4], eax
jne 0x455d2a
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
jmp 0x455d71
mov byte [esp + 0x17], bl
mov ecx, dword [esi + 4]
push ebx
push ebx
push ebx
push 6
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, ebx
mov dword [esi + 8], eax
jne 0x455d58
cmp dword [esp + 0x30], 0x10
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
jb 0x455d85
mov edx, dword [esp + 0x1c]
push edx
jmp 0x455d7d
cmp byte [esp + 0x17], bl
jne 0x455d6a
push 0x32
push ebx
push eax
call fcn.00475820
add esp, 0xc
mov dword [esi + 0xc], 0x32
cmp dword [esp + 0x30], 0x10
jb 0x455d85
mov eax, dword [esp + 0x1c]
push eax
call fcn.0047528f
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00476554
add esp, 0x30
ret
Function at 0x45a1b0
Capabilities:
Get process image filename

Disassembly:
sub esp, 0x210
mov eax, dword [0x4c36a0]
xor eax, esp
mov dword [esp + 0x20c], eax
mov eax, dword [esp + 0x214]
push ebx
push edi
lea ecx, [esp + 8]
push ecx
xor ebx, ebx
push eax
mov dword [esp + 0x10], ebx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edx, dword [esp + 8]
push edx
push ebx
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
cmp edi, ebx
je 0x45a261
push 0x104
lea eax, [esp + 0x114]
push eax
push edi
call sub.PSAPI.DLL_GetProcessImageFileNameA
test eax, eax
je 0x45a25a
push 0x104
lea ecx, [esp + 0x10]
push ecx
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameA
test eax, eax
je 0x45a25a
lea edx, [esp + 0xc]
lea ecx, [esp + 0x110]
lea esp, [esp]
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x45a250
cmp al, bl
je 0x45a24c
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x45a250
add ecx, 2
add edx, 2
cmp al, bl
jne 0x45a230
xor eax, eax
jmp 0x45a255
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
sete bl
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x214]
pop edi
mov al, bl
pop ebx
xor ecx, esp
call fcn.00476554
add esp, 0x210
ret
Function at 0x45a400
Capabilities:
Check if file exists
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x114
mov eax, dword [0x4c36a0]
xor eax, esp
mov dword [esp + 0x110], eax
push ebx
mov ebx, dword [esp + 0x120]
push esi
mov esi, dword [esp + 0x120]
test esi, esi
push edi
mov edi, dword [esp + 0x12c]
mov dword [esp + 0xc], 0
je 0x45a5bd
test ebx, ebx
je 0x45a5bd
test edi, edi
je 0x45a5bd
lea eax, [esp + 0xc]
push eax
push 0xf003f
push 0
push esi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x45a559
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
push eax
push eax
mov eax, dword [esp + 0x1c]
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x45a51b
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x45a4dd
lea ecx, [esp + 0x18]
mov eax, edi
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x45a4d0
test dl, dl
je 0x45a4cc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x45a4d0
add eax, 2
add ecx, 2
test dl, dl
jne 0x45a4b0
xor eax, eax
jmp 0x45a4d5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x45a5a0
mov edx, dword [esp + 0xc]
push 0x104
push edi
push 1
push 0
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.00476554
add esp, 0x114
ret
mov eax, dword [esp + 0xc]
push 0x104
push edi
push 1
push 0
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.00476554
add esp, 0x114
ret
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x10]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x45a595
mov ecx, dword [esp + 0xc]
push 0x104
push edi
push 1
push eax
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.00476554
add esp, 0x114
ret
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00476554
add esp, 0x114
ret

Function at 0x45bbe0
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
mov eax, dword [ecx]
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8
Function at 0x45bc00
Capabilities:
Set registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
mov dword [esp + 4], ecx
jne 0x45bc18
push 0x80004005
call fcn.00401160
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
push edi
xor edi, edi
mov esi, ebp
push esi
call ebx
add eax, 1
add esi, eax
add edi, eax
cmp eax, 1
jne 0x45bc25
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret 8

Function at 0x45c5d0
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x11c
mov eax, dword [0x4c36a0]
xor eax, esp
mov dword [esp + 0x118], eax
push ebp
push esi
push edi
mov edi, dword [esp + 0x12c]
mov ebp, ecx
mov eax, dword [ebp]
lea ecx, [esp + 0x14]
push ecx
push 0x2001f
push 0
push edi
push eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ecx, dword [esp + 0xc]
mov esi, eax
test esi, esi
jne 0x45c63e
test ecx, ecx
je 0x45c630
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
mov ecx, dword [esp + 0x14]
mov esi, eax
mov dword [esp + 0xc], ecx
je 0x45c64c
test ecx, ecx
je 0x45c6f1
push ecx
jmp 0x45c6eb
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea edx, [esp + 0x1c]
push edx
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
lea edx, [esp + 0x38]
push edx
push 0
push ecx
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
jne 0x45c6be
jmp 0x45c680
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x10]
call fcn.0045c5d0
mov edi, eax
test edi, edi
jne 0x45c70d
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x10]
push eax
push eax
push eax
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x38]
push eax
push edi
push ecx
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
je 0x45c680
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x45c6d5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], 0
mov edx, dword [ebp]
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x45c6f1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x124]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.00476554
add esp, 0x11c
ret 4
mov eax, dword [esp + 0xc]
test eax, eax
je 0x45c71c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x45c6f3
Function at 0x45ecb0
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 0x18]
sub esp, 0x54
push ebx
push esi
push edi
add eax, 1
push 0x4c5476
push eax
mov si, cx
mov ebx, edx
call fcn.0047791d
mov edi, eax
add esp, 8
test edi, edi
je 0x45eda7
push 0x40
lea ecx, [esp + 0x24]
push 0
push ecx
call fcn.00475820
mov eax, dword [esp + 0x74]
add esp, 0xc
cmp dword [esp + 0x7c], 0x10
mov dword [esp + 0x1c], 0x44
mov dword [esp + 0x48], 1
mov word [esp + 0x4c], si
jae 0x45ed0f
lea eax, [esp + 0x68]
mov edx, dword [esp + 0x78]
push edx
push eax
push edi
call fcn.00477930
mov eax, dword [esp + 0x84]
add esp, 0xc
test ebx, ebx
mov byte [eax + edi], 0
mov eax, ebx
jne 0x45ed33
lea eax, [esp + 0xc]
push eax
neg si
lea ecx, [esp + 0x20]
push ecx
push 0
push 0
sbb esi, esi
and esi, 0xf8000000
add esi, 0x8000000
push esi
push 0
push 0
push 0
push edi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push edi
mov esi, eax
call fcn.00475ca5
add esp, 4
test esi, esi
je 0x45ed87
test ebx, ebx
jne 0x45ed85
mov edx, dword [esp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
mov eax, dword [esp + 0xc]
push eax
call edi
test esi, esi
setne bl
cmp dword [esp + 0x7c], 0x10
jb 0x45ed9e
mov ecx, dword [esp + 0x68]
push ecx
call fcn.0047528f
add esp, 4
pop edi
pop esi
mov al, bl
pop ebx
add esp, 0x54
ret
cmp dword [esp + 0x7c], 0x10
jb 0x45edbb
mov edx, dword [esp + 0x68]
push edx
call fcn.0047528f
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x54
ret
Function at 0x460300
Capabilities:
Access peb ldr_data
Enumerate gui resources

Disassembly:
push 0xffffffffffffffff
push 0x4a5128
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4c36a0]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
push edi
mov eax, dword [0x4c36a0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor esi, esi
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x44], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], si
call fcn.0041faa0
lea ecx, [esp + 0xc]
push ecx
push 0x45cf70
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [esp + 0x28], 8
mov edi, dword [esp + 0xc]
jb 0x460384
mov edx, dword [esp + 0x14]
push edx
call fcn.0047528f
add esp, 4
cmp dword [esp + 0x58], 8
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], esi
mov word [esp + 0x14], si
jb 0x4603a9
mov eax, dword [esp + 0x44]
push eax
call fcn.0047528f
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00476554
add esp, 0x30
ret