joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430bda
Capabilities:
Create process on windows
Get common file path
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x178
push esi
lea eax, [ebp - 0x74]
push edi
mov edi, ecx
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
cmp dword [ebp - 0x68], 0x6400000
jb 0x430cac
xor esi, esi
push 0x44
lea eax, [ebp - 0x54]
push esi
push eax
call fcn.0046d250
push 0x10
lea eax, [ebp - 0x10]
push esi
push eax
mov dword [ebp - 0x54], 0x44
call fcn.0046d250
add esp, 0x18
lea eax, [ebp - 0x178]
mov dword [ebp - 0x28], 1
mov word [ebp - 0x24], si
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp - 0x176]
push 0x5163d8
push eax
call fcn.0046d130
mov eax, dword [edi + 0xa0]
pop ecx
pop ecx
cmp dword [eax - 8], esi
jne 0x430c64
push 0x515dd4
jmp 0x430c65
push eax
lea eax, [ebp - 0x178]
push eax
call fcn.0046d140
pop ecx
lea eax, [ebp - 0x10]
pop ecx
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x178]
push esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x430cb1
mov eax, dword [ebp - 8]
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0xa4], eax
call esi
push dword [ebp - 0xc]
call esi
push 1
pop eax
jmp 0x430cb3
xor eax, eax
pop edi
pop esi
leave
ret

Function at 0x430cfb
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0xa4]
test eax, eax
je 0x430d41
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x430d41
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 4]
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi + 0xa4], 0
pop edi
pop esi
leave
ret
Function at 0x4338d8
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4db4ac
call fcn.0046d048
sub esp, 0x118
push ebx
push esi
push edi
lea eax, [ebp - 0x124]
push 0x104
push eax
mov esi, ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x124]
push 0x5c
push eax
call fcn.0046d220
push 0x5134d8
push eax
call fcn.0046d130
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
add esp, 0x10
lea eax, [ebp - 0x124]
push eax
push 0
push 0x5137c0
push 0x5137b8
call edi
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x1c], ebx
je 0x433a62
mov eax, dword [0x518cb0]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x6c]
and dword [ebp - 4], 0
test eax, eax
je 0x43395f
push eax
call fcn.004ce4b9
pop ecx
lea eax, [ebx + ebx*2]
shl eax, 1
push eax
call fcn.004ce490
test eax, eax
pop ecx
mov dword [esi + 0x6c], eax
jne 0x433979
xor esi, esi
jmp 0x433a54
and dword [ebp - 0x14], 0
test ebx, ebx
jle 0x433a33
xor ebx, ebx
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push 0x5137b4
push eax
call fcn.004c7e63
add esp, 0xc
lea eax, [ebp - 0x124]
push eax
push 0
push 0x5137b0
push dword [ebp - 0x10]
call edi
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x124]
push eax
push 0
push 0x5137a4
push dword [ebp - 0x10]
call edi
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x124]
push eax
push 0
push 0x5137a0
push dword [ebp - 0x10]
call edi
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x433972
cmp dword [ebp - 0x18], 0
je 0x433972
test eax, eax
je 0x433972
cmp ecx, 0x801c
jne 0x433a05
cmp dword [ebp - 0x18], 3
jne 0x433a05
cmp eax, 0x38
jne 0x433a05
mov dword [ebp - 0x18], 0xb
mov edx, dword [esi + 0x6c]
inc dword [ebp - 0x14]
mov word [edx + ebx + 4], cx
mov ecx, dword [esi + 0x6c]
mov dl, byte [ebp - 0x18]
mov byte [ecx + ebx], dl
mov ecx, dword [esi + 0x6c]
mov word [ecx + ebx + 2], ax
mov eax, dword [ebp - 0x14]
add ebx, 6
cmp eax, dword [ebp - 0x1c]
jl 0x433987
mov ebx, dword [ebp - 0x1c]
push dword [esi + 0x430]
lea edi, [esi + 0x430]
call dword [sym.imp.USER32.dll_DestroyAcceleratorTable]
push ebx
push dword [esi + 0x6c]
call dword [sym.imp.USER32.dll_CreateAcceleratorTableA]
push 1
mov dword [edi], eax
pop esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004cdf2c
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x433c3d
Capabilities:
Get file version info

Disassembly:
mov eax, 0x4db4d7
call fcn.0046d048
sub esp, 0x118
mov eax, dword [0x518cb0]
push ebx
push esi
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x124]
push 0x104
push eax
push esi
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x124]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov ebx, eax
cmp ebx, esi
je 0x433d10
push edi
push ebx
push 2
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
lea eax, [ebp - 0x124]
push edi
push ebx
push dword [ebp - 0x20]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x513a0c
push edi
call sub.VERSION.dll_VerQueryValueA
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x10]
mov di, word [eax + 0x10]
mov edx, dword [eax + 0x14]
movzx eax, word [eax + 0x14]
shr edx, 0x10
push eax
movzx eax, dx
push eax
movzx eax, di
shr ecx, 0x10
push eax
movzx eax, cx
push eax
lea eax, [ebp - 0x10]
push 0x5164ec
push eax
call fcn.004c7e63
add esp, 0x18
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.004cdca1
mov dword [ebp - 0x1c], 1
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004cdf2c
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x435031
Capabilities:
Check if file exists
Create shortcut via ishelllink
Delete file
Persist via run registry key
Query or enumerate registry value

Disassembly:
mov eax, 0x4db684
call fcn.0046d048
sub esp, 0x428
push ebx
lea eax, [ebp - 0x18]
push esi
push eax
xor ebx, ebx
push 1
push ebx
push 0x5144f4
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4351ed
lea eax, [ebp - 0x20]
mov esi, 0x104
push eax
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
push 0x516554
mov dword [ebp - 0x20], esi
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
jne 0x4351ed
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x516548
lea ecx, [ebp - 0x14]
call fcn.004cdf9a
push dword [ebp - 0x14]
lea eax, [ebp - 0x128]
mov dword [ebp - 4], ebx
push eax
call fcn.0046d140
cmp dword [ebp + 8], ebx
pop ecx
pop ecx
lea eax, [ebp - 0x128]
push eax
je 0x4350d3
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x4351e1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp eax, 1
je 0x4351e1
lea eax, [ebp - 0x10]
push eax
push 0x4ef9fc
push 1
push ebx
push 0x4efa1c
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x4351e1
lea eax, [ebp - 0x22c]
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x22c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [ebp - 0x10]
push 0x515854
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea eax, [ebp - 0x22c]
push 0x5c
push eax
call fcn.0046fcad
pop ecx
cmp eax, ebx
pop ecx
je 0x43514f
push 0x513a0c
push eax
call fcn.0046d130
pop ecx
pop ecx
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x22c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [0x518cb0]
mov dword [ebp + 8], eax
push 0x803d
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.004cef20
mov eax, dword [ebp - 0x10]
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x1c]
push edx
push 0x4efc6c
mov ecx, dword [eax]
push eax
call dword [ecx]
cmp eax, ebx
jl 0x4351cd
lea eax, [ebp - 0x434]
push esi
push eax
lea eax, [ebp - 0x128]
push 0xffffffffffffffff
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x434]
push 1
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call fcn.004cdf2c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004cdf2c
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x43bb2e
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x4dbdcc
call fcn.0046d048
sub esp, 0x78
push ebx
push esi
mov esi, ecx
lea ecx, [ebp - 0x50]
call fcn.00415df0
xor ebx, ebx
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], ebx
call fcn.00415e7e
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0x14]
push eax
call fcn.004cdca1
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 1
cmp dword [eax - 8], ebx
jne 0x43bb88
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.004cdf2c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00415e3d
jmp 0x43bd53
lea eax, [ebp - 0x14]
push edi
push eax
lea ecx, [ebp - 0x1c]
call fcn.004cdca1
mov edi, dword [ebp - 0x1c]
mov eax, 0x104
push eax
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.004ce35c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.004ce3ab
lea ecx, [ebp - 0x28]
call fcn.00417520
push dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00417543
test eax, eax
je 0x43bd23
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x28]
push eax
call fcn.004176c9
mov edi, dword [eax]
mov al, byte [ebp - 0xd]
push ebx
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
mov byte [ebp - 0x38], al
call fcn.004040fb
push edi
call fcn.0046d440
pop ecx
push eax
push edi
lea ecx, [ebp - 0x38]
call fcn.00404041
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
call fcn.004cdf2c
lea eax, [ebp - 0x84]
lea ecx, [ebp - 0x28]
push eax
call fcn.0041768d
lea ecx, [ebp - 0x28]
call fcn.0041752f
mov eax, dword [ebp - 0x7c]
shr eax, 0x10
cmp ax, 9
mov eax, dword [0x518cb0]
jb 0x43bcaa
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 7
cmp eax, ebx
jne 0x43bc55
mov eax, 0x4e4cf8
push eax
lea eax, [ebp - 0x18]
push 0x516be0
push eax
call fcn.004c7e63
add esp, 0xc
lea ecx, [esi + 0xbc]
push dword [ebp - 0x18]
call fcn.004cd4f7
call fcn.004d4518
call fcn.004d4518
mov eax, dword [eax + 0xc]
push 0x91
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
push ebx
push eax
push 0x170
push dword [esi + 0x114]
call dword [sym.imp.USER32.dll_SendMessageA]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x18]
jmp 0x43bd10
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 8
cmp eax, ebx
jne 0x43bcbd
mov eax, 0x4e4cf8
push eax
lea eax, [ebp - 0x18]
push 0x516b5c
push eax
call fcn.004c7e63
add esp, 0xc
lea ecx, [esi + 0xbc]
push dword [ebp - 0x18]
call fcn.004cd4f7
call fcn.004d4518
call fcn.004d4518
mov eax, dword [eax + 0xc]
push 0x92
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
push ebx
push eax
push 0x170
push dword [esi + 0x114]
call dword [sym.imp.USER32.dll_SendMessageA]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x18]
call fcn.004cdf2c
push 1
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.004040fb
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.0041752a
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.004cdf2c
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.004cdf2c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00415e3d
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x43bb3c
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x4dbdcc
call fcn.0046d048
sub esp, 0x78
push ebx
push esi
mov esi, ecx
lea ecx, [ebp - 0x50]
call fcn.00415df0
xor ebx, ebx
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], ebx
call fcn.00415e7e
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0x14]
push eax
call fcn.004cdca1
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 1
cmp dword [eax - 8], ebx
jne 0x43bb88
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.004cdf2c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00415e3d
jmp 0x43bd53
lea eax, [ebp - 0x14]
push edi
push eax
lea ecx, [ebp - 0x1c]
call fcn.004cdca1
mov edi, dword [ebp - 0x1c]
mov eax, 0x104
push eax
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.004ce35c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.004ce3ab
lea ecx, [ebp - 0x28]
call fcn.00417520
push dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00417543
test eax, eax
je 0x43bd23
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x28]
push eax
call fcn.004176c9
mov edi, dword [eax]
mov al, byte [ebp - 0xd]
push ebx
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
mov byte [ebp - 0x38], al
call fcn.004040fb
push edi
call fcn.0046d440
pop ecx
push eax
push edi
lea ecx, [ebp - 0x38]
call fcn.00404041
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
call fcn.004cdf2c
lea eax, [ebp - 0x84]
lea ecx, [ebp - 0x28]
push eax
call fcn.0041768d
lea ecx, [ebp - 0x28]
call fcn.0041752f
mov eax, dword [ebp - 0x7c]
shr eax, 0x10
cmp ax, 9
mov eax, dword [0x518cb0]
jb 0x43bcaa
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 7
cmp eax, ebx
jne 0x43bc55
mov eax, 0x4e4cf8
push eax
lea eax, [ebp - 0x18]
push 0x516be0
push eax
call fcn.004c7e63
add esp, 0xc
lea ecx, [esi + 0xbc]
push dword [ebp - 0x18]
call fcn.004cd4f7
call fcn.004d4518
call fcn.004d4518
mov eax, dword [eax + 0xc]
push 0x91
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
push ebx
push eax
push 0x170
push dword [esi + 0x114]
call dword [sym.imp.USER32.dll_SendMessageA]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x18]
jmp 0x43bd10
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 8
cmp eax, ebx
jne 0x43bcbd
mov eax, 0x4e4cf8
push eax
lea eax, [ebp - 0x18]
push 0x516b5c
push eax
call fcn.004c7e63
add esp, 0xc
lea ecx, [esi + 0xbc]
push dword [ebp - 0x18]
call fcn.004cd4f7
call fcn.004d4518
call fcn.004d4518
mov eax, dword [eax + 0xc]
push 0x92
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
push ebx
push eax
push 0x170
push dword [esi + 0x114]
call dword [sym.imp.USER32.dll_SendMessageA]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x18]
call fcn.004cdf2c
push 1
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.004040fb
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.0041752a
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.004cdf2c
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.004cdf2c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00415e3d
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x43ccfd
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
push edi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x43cd8c
lea eax, [ebp - 0x128]
push eax
push edi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x43cd85
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x120], eax
je 0x43cd85
push dword [ebp + 8]
lea eax, [ebp - 0x104]
push eax
call fcn.00473600
pop ecx
test eax, eax
pop ecx
je 0x43cd5a
lea eax, [ebp - 0x128]
push eax
push edi
call sub.KERNEL32.dll_Process32Next
jmp 0x43cd24
cmp dword [ebp + 0xc], 0
je 0x43cd79
push dword [ebp - 0x120]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0xfffffffffffffff7
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
pop eax
jmp 0x43cd8e
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
leave
ret
Function at 0x43ee66
Capabilities:
Set registry value

Disassembly:
mov eax, 0x4dc1d8
call fcn.0046d048
sub esp, 0x10
push ebx
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
cmp dword [edi + 0x54], ebx
jle 0x43ef52
push esi
mov eax, dword [edi + 0x50]
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
lea eax, [eax + esi*4]
push eax
call fcn.004cdca1
mov eax, dword [0x518cb0]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], eax
push esi
lea eax, [ebp - 0x18]
push 0x516e84
push eax
mov byte [ebp - 4], 1
call fcn.004c7e63
add esp, 0xc
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push eax
push 0x20006
push ebx
push 0x5145c4
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x43ef2b
mov esi, dword [ebp - 0x18]
push 0x104
push ebx
lea ecx, [ebp - 0x1c]
call fcn.004ce35c
push eax
push 1
push ebx
push esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x1c]
mov esi, eax
call fcn.004ce3ab
cmp esi, ebx
jne 0x43ef1a
cmp dword [ebp - 0x10], ebx
je 0x43ef2b
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 0x10], ebx
je 0x43ef2b
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.004cdf2c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004cdf2c
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, dword [edi + 0x54]
jl 0x43ee86
pop esi
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x43ef60
Capabilities:
Set registry value

Disassembly:
mov eax, 0x4dc204
call fcn.0046d048
sub esp, 0x4c
mov eax, dword [0x518cb0]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x18], eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
push dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push 0x516e84
push eax
call fcn.004c7e63
add esp, 0xc
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push eax
push 0x20006
push ebx
push 0x5145c4
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x43efec
push ebx
push ebx
push 1
push ebx
push dword [ebp - 0x18]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp eax, ebx
jne 0x43efdf
cmp dword [ebp - 0x10], ebx
je 0x43efec
push dword [ebp - 0x10]
call esi
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 0x10], ebx
je 0x43efec
push dword [ebp - 0x10]
call esi
mov dword [ebp - 0x10], ebx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 7
jl 0x43ef88
push 0xffffffffffffffff
push ebx
lea ecx, [edi + 0x4c]
call fcn.004c97c6
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push ebx
push 0x1009
push dword [edi + 0x1c]
call esi
lea ecx, [ebp - 0x30]
call fcn.00417ce4
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00417ce4
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.00417ce4
push 0x80a2
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.00417d26
push 0x80a3
lea ecx, [ebp - 0x28]
call fcn.00417d26
push 0x80a1
lea ecx, [ebp - 0x20]
call fcn.00417d26
push 0x28
lea eax, [ebp - 0x58]
push ebx
push eax
call fcn.0046d250
add esp, 0xc
mov dword [ebp - 0x58], 0x11
push ebx
push ebx
push 0x1004
push dword [edi + 0x1c]
call esi
push ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x54], eax
call fcn.004ce35c
push 0xffffffffffffffff
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x44], eax
call fcn.004ce3ab
lea eax, [ebp - 0x58]
push eax
push ebx
push 0x1007
push dword [edi + 0x1c]
call esi
push ebx
push ebx
push 0x1004
push dword [edi + 0x1c]
call esi
push ebx
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x54], eax
call fcn.004ce35c
push 0xffffffffffffffff
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x44], eax
call fcn.004ce3ab
lea eax, [ebp - 0x58]
push eax
push ebx
push 0x1007
push dword [edi + 0x1c]
call esi
push ebx
push ebx
push 0x1004
push dword [edi + 0x1c]
call esi
push ebx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x54], eax
call fcn.004ce35c
push 0xffffffffffffffff
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x44], eax
call fcn.004ce3ab
lea eax, [ebp - 0x58]
push eax
push ebx
push 0x1007
push dword [edi + 0x1c]
call esi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.00417d12
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00417d12
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], bl
call fcn.00417d12
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004cdf2c
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x43f53b
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 0x10]
push ebx
shr eax, 0x10
movzx eax, al
push eax
xor eax, eax
mov al, byte [ebp + 0x11]
movzx eax, al
push eax
movzx eax, byte [ebp + 0x10]
push eax
lea eax, [ebp - 0x28]
push 0x516ee0
push eax
call fcn.0046d9ad
add esp, 0x14
lea eax, [ebp - 0x1c]
push dword [ebp + 0x14]
push 0xa
push eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x1c]
push 2
push eax
lea eax, [ebp - 4]
push eax
call fcn.0046ea40
lea eax, [ebp - 0x1a]
push 2
push eax
lea eax, [ebp - 8]
xor bl, bl
push eax
mov byte [ebp - 2], bl
call fcn.0046ea40
lea eax, [ebp - 0x18]
push 2
push eax
lea eax, [ebp - 0xc]
push eax
mov byte [ebp - 6], bl
call fcn.0046ea40
lea eax, [ebp - 0x10]
push 0x10
push eax
lea eax, [ebp - 4]
push eax
mov byte [ebp - 0xa], bl
call fcn.0046ff44
mov bl, al
lea eax, [ebp - 0x10]
push 0x10
push eax
lea eax, [ebp - 8]
push eax
call fcn.0046ff44
mov byte [ebp + 0x13], al
lea eax, [ebp - 0x10]
push 0x10
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0046ff44
xor ecx, ecx
add esp, 0x48
mov ch, al
mov cl, byte [ebp + 0x13]
movzx eax, bl
shl ecx, 8
or eax, ecx
pop ebx
leave
ret 0x10