joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4983e0
Capabilities:
Encode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x504608
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x53e300]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov edx, 2
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov ecx, dword [eax]
mov eax, ecx
add ecx, 0xa
shr eax, 6
add eax, ecx
xor ecx, ecx
mov dword [ebp - 0x2c], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004597a7
mov ecx, dword [ebp - 0x2c]
mov edi, eax
add ecx, ecx
push ecx
push 0
push edi
call fcn.0049a420
add esp, 0x10
lea eax, [ebp - 0x2c]
push eax
push edi
push SysReAllocString
push dword [ebp + 0xc]
push esi
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringW]
mov ecx, edi
mov dword [ebp - 0x18], 0
mov esi, eax
mov dword [ebp - 0x14], 7
xor eax, eax
mov dword [ebp - 0x3c], esi
mov word [ebp - 0x28], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x498484
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x28]
call fcn.0044758c
push 2
push edi
mov dword [ebp - 4], 0
call fcn.004597cb
mov ebx, dword [ebp - 0x14]
add esp, 8
mov edi, dword [ebp - 0x28]
test esi, esi
je 0x498586
cmp ebx, 8
lea eax, [ebp - 0x28]
cmovae eax, edi
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x30], edx
nop dword [eax]
cmp ebx, 8
lea ecx, [ebp - 0x28]
cmovae ecx, edi
lea ecx, [ecx + edx*2]
cmp eax, ecx
je 0x498554
cmp word [eax], 0xa
jne 0x49854c
cmp ebx, 8
lea ecx, [ebp - 0x28]
cmovae ecx, edi
sub eax, ecx
sar eax, 1
cmp edx, eax
jb 0x4985d4
mov ecx, edx
lea esi, [eax + eax]
sub ecx, eax
mov edx, 1
cmp ecx, edx
cmovb edx, ecx
cmp ebx, 8
mov ebx, dword [ebp - 0x30]
lea ecx, [ebp - 0x28]
cmovae ecx, edi
sub ebx, edx
mov dword [ebp - 0x18], ebx
add ecx, esi
sub ebx, eax
lea eax, [ebx*2 + 2]
push eax
lea eax, [ecx + edx*2]
push eax
push ecx
call fcn.0049aff0
mov ebx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edi, dword [ebp - 0x28]
add esp, 0xc
cmp ebx, 8
cmovae eax, edi
add eax, esi
jmp 0x4984c6
add eax, 2
jmp 0x4984d0
mov esi, dword [ebp - 0x34]
mov ecx, dword [esi]
cmp edx, ecx
jbe 0x498561
xor esi, esi
jmp 0x498586
cmp ebx, 8
lea eax, [ebp - 0x28]
push edx
cmovae eax, edi
push eax
push ecx
push dword [ebp - 0x38]
call fcn.004b7fec
mov eax, dword [ebp - 0x18]
add esp, 0x10
mov ebx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x28]
mov dword [esi], eax
mov esi, dword [ebp - 0x3c]
cmp ebx, 8
jb 0x4985b6
lea ebx, [ebx*2 + 2]
mov eax, edi
cmp ebx, 0x1000
jb 0x4985ac
mov edi, dword [edi - 4]
add ebx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4985d9
push ebx
push edi
call fcn.004597cb
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004597ba
mov esp, ebp
pop ebp
ret
call fcn.0041e2c0
call fcn.004a58da
int3
Function at 0x499d40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x53e300]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0xc]
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0
push 0
push 0x80
push 2
push 1
push 0x40000000
push eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
call fcn.00498a80
mov edi, dword [ebp - 0xc]
test eax, eax
js 0x499dd3
cmp dword [esi + 0x14], 0x10
mov eax, dword [esi + 0x10]
jb 0x499d93
mov esi, dword [esi]
push 0
lea ecx, [ebp - 8]
push ecx
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x499db1
call fcn.0040eba0
mov esi, eax
test esi, esi
js 0x499dcc
push edi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
test eax, eax
jne 0x499dca
call fcn.0040eba0
mov esi, eax
not esi
shr esi, 0x1f
jmp 0x499dd5
xor esi, esi
not esi
shr esi, 0x1f
jmp 0x499dd5
xor esi, esi
test edi, edi
je 0x499de0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.004597ba
mov esp, ebp
pop ebp
ret

Function at 0x4e3084
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004e2894

Function at 0x4e308f
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004e2acf

Function at 0x4e3517
Capabilities:
Create thread
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004e31d0

Function at 0x4e3522
Capabilities:
Create thread
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004e32a9

Function at 0x4ec62f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004ec234

Function at 0x4ec63a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004ec3b5
Function at 0x4eee30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x53e300]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], 0
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
push edx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4eeebb
mov eax, dword [ebp - 8]
cmp eax, 1
je 0x4eee7d
cmp eax, 2
jne 0x4eee99
mov ecx, dword [ebp - 0xc]
test esi, esi
je 0x4eeeb5
test ecx, ecx
je 0x4eeeb0
test cl, 1
jne 0x4eee99
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x4eeeb5
pop edi
mov eax, 0xd
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004597ba
mov esp, ebp
pop ebp
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004597ba
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4f01d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
xor al, al
push edi
xor edi, edi
test esi, esi
je 0x4f0297
push ebx
mov ecx, dword [ebp + 8]
mov dl, byte [edi + ecx]
xor dl, al
mov cl, dl
shr cl, 1
mov al, cl
xor al, 0x8c
and dl, 1
movzx ebx, al
movzx eax, cl
cmove ebx, eax
mov cl, bl
shr cl, 1
mov al, cl
xor al, 0x8c
and bl, 1
movzx edx, al
movzx eax, cl
cmove edx, eax
mov cl, dl
shr cl, 1
mov al, cl
xor al, 0x8c
and dl, 1
movzx ebx, al
movzx eax, cl
cmove ebx, eax
mov cl, bl
shr cl, 1
mov al, cl
xor al, 0x8c
and bl, 1
movzx edx, al
movzx eax, cl
cmove edx, eax
mov cl, dl
shr cl, 1
mov al, cl
xor al, 0x8c
and dl, 1
movzx ebx, al
movzx eax, cl
cmove ebx, eax
mov cl, bl
shr cl, 1
mov al, cl
xor al, 0x8c
and bl, 1
movzx edx, al
movzx eax, cl
cmove edx, eax
mov cl, dl
shr cl, 1
mov al, cl
xor al, 0x8c
and dl, 1
movzx ebx, al
movzx eax, cl
cmove ebx, eax
mov cl, bl
shr cl, 1
mov al, cl
movzx ecx, cl
xor al, 0x8c
and bl, 1
movzx eax, al
cmove eax, ecx
inc edi
cmp edi, esi
jb 0x4f01e5
pop ebx
pop edi
pop esi
pop ebp
ret
Function at 0x4f1b50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x504f63
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x53e300]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x8c], 0
mov dword [ebx], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
push 0x201
push dword [0x564400]
lea ecx, [ebp - 0x8c]
mov dword [ebp - 4], 0
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004f1a40
mov edi, dword [ebp - 0x8c]
test eax, eax
jne 0x4f1d31
push 0x64
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.0049a420
add esp, 0xc
mov dword [ebp - 0x78], 0x64
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x7c]
push eax
push 0
push 0x526684
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4f1d31
mov eax, dword [ebp - 0x7c]
cmp eax, 1
je 0x4f1c25
cmp eax, 2
jne 0x4f1d31
mov ecx, dword [ebp - 0x78]
test ecx, ecx
je 0x4f1c46
test cl, 1
jne 0x4f1d31
mov eax, ecx
shr eax, 1
cmp word [ebp + eax*2 - 0x76], 0
je 0x4f1c4c
jmp 0x4f1d31
xor eax, eax
mov word [ebp - 0x74], ax
shr ecx, 1
cmp ecx, 0x2d
jne 0x4f1d31
call fcn.004527f0
mov ecx, eax
test ecx, ecx
je 0x4f1d5c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x78]
call fcn.004efc40
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x7c], 0
push eax
lea eax, [ebp - 0x20]
push 0x52668c
push eax
call fcn.004f2240
mov esi, dword [ebp - 0x78]
push 0x2a
push esi
call fcn.004f01d0
movzx eax, al
add esp, 0x14
cmp dword [ebp - 0x7c], eax
jne 0x4f1d15
lea edx, [ebp - 0x74]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4f1cb6
sub edx, ecx
lea eax, [ebp - 0x74]
mov ecx, dword [ebp - 0x80]
sar edx, 1
push edx
push eax
call fcn.004f1db0
push dword [0x564408]
lea eax, [ebp - 0x74]
push dword [0x564404]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x4f1cf2
mov dword [ebx], 1
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4f1d0e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, 1
jmp 0x4f1d33
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4f1d31
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor esi, esi
test edi, edi
je 0x4f1d3e
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004597ba
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0040b8d0
int3
Function at 0x4f1ea0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x504f98
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x53e300]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push 0x202
push dword [0x564400]
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004f1a40
test eax, eax
je 0x4f1fc8
mov esi, dword [ebp - 0x18]
mov edi, dword [str.SOFTWAREComMaster]
mov dword [ebp - 0x10], 0
test esi, esi
je 0x4f1f73
cmp dword [esi], 0
je 0x4f1f66
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x4f1f33
mov eax, 1
jmp 0x4f1f94
push str.RegCreateKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4f1f6c
push 0
push dword [esi]
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push 0
push 0x20206
push 0
push 0
push 0
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call eax
jmp 0x4f1f94
cmp dword [esi + 4], 0
jne 0x4f1f73
mov eax, 1
jmp 0x4f1f94
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x20206
push 0
push 0
push 0
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4f1fbe
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x4f1fa6
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], 0x200
test eax, eax
je 0x4f1fcb
xor ebx, ebx
jmp 0x4f206f
mov esi, dword [ebp - 0x20]
xor ebx, ebx
jmp 0x4f206f
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x4f2028
mov ecx, dword [ebx]
test ecx, ecx
je 0x4f208e
push ecx
push eax
call fcn.004badd1
add esp, 8
test eax, eax
je 0x4f2028
mov edx, dword [edi]
test edx, edx
je 0x4f2028
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4f2000
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push str.m2_old
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebx]
test edx, edx
jne 0x4f2033
lea eax, [edx + 0xd]
jmp 0x4f2068
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4f2040
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push 0x526684
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor ebx, ebx
test eax, eax
sete bl
test esi, esi
je 0x4f207a
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0040b8d0
int3
Function at 0x4f38e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], 0
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push esi
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4f3951
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x4f391f
cmp eax, 2
jne 0x4f393b
mov ecx, dword [ebp + 0x10]
test esi, esi
je 0x4f394b
test ecx, ecx
je 0x4f3946
test cl, 1
jne 0x4f393b
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x4f394b
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x404340
Capabilities:
Terminate process

Disassembly:
push ecx
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x41e75c], eax
call fcn.00404410
mov esi, dword [sym.imp.KERNEL32.dll_ExitProcess]
test eax, eax
jne 0x404362
push 0xffffffffffffffff
call esi
lea eax, [esp + 4]
push eax
call fcn.00404530
mov eax, dword [esp + 8]
add esp, 4
test eax, eax
je 0x40438f
mov ecx, dword [0x41e75c]
push 0
push 0x4047d0
push 0
push 0x65
push ecx
call dword [sym.imp.USER32.dll_DialogBoxParamA]
call fcn.004082f0
push 0
call esi
pop esi
pop ecx
ret

Function at 0x404410
Capabilities:
Accept command line arguments
Set current directory

Disassembly:
sub esp, 0x134
lea eax, [esp]
mov dword [esp], 8
push eax
mov dword [esp + 8], 0x103
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push str.Riched32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call fcn.00401e10
lea ecx, [esp + 8]
mov dword [0x41e3e0], eax
push ecx
push str.EDIT
push 0
call dword [sym.imp.USER32.dll_GetClassInfoA]
test eax, eax
jne 0x404463
add esp, 0x134
ret
mov edx, dword [esp + 0xc]
push esi
mov dword [0x41ea84], edx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x104
push 0x41e540
push 0
mov dword [0x41e758], eax
call esi
push 0x41e540
call fcn.00401ad0
add esp, 4
push 0x104
push 0x41e400
push 0
call esi
call fcn.004081b0
lea eax, [esp + 0x34]
push 0x41e540
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x34]
push ecx
call fcn.00401b00
add esp, 4
lea edx, [esp + 0x34]
push str.TrapDll.exe
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x34]
push eax
call fcn.00401d50
add esp, 4
test eax, eax
pop esi
jne 0x4044fa
push str.Please_copy_TrapDll.exe_in_the_same_directory_as_LordPE.exe__
push eax
call fcn.004043a0
add esp, 8
mov eax, dword [0x41e28c]
test eax, eax
je 0x40450e
push 0x41e290
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov eax, dword [0x41e3e0]
test eax, eax
je 0x40451c
call fcn.00401fc0
mov eax, 1
add esp, 0x134
ret
Function at 0x407eb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x90
push esi
mov esi, dword [esp + 0x98]
push edi
push 0x483
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
mov eax, dword [0x41e530]
push eax
call fcn.004064e0
add esp, 4
test eax, eax
jne 0x407ef8
push str.Process_not_active_anymore__
push esi
call fcn.004043a0
add esp, 8
xor eax, eax
pop edi
pop esi
add esp, 0x90
ret
mov eax, dword [0x41e530]
lea ecx, [esp + 0x38]
lea edx, [esp + 8]
push ecx
push edx
push eax
call sub.procs.dll_GetProcessBaseSize
test eax, eax
jne 0x407f2a
push str.Couldnt_query_process_information__
push esi
call fcn.004043a0
add esp, 8
xor eax, eax
pop edi
pop esi
add esp, 0x90
ret
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x14]
push ebp
push ecx
push 0xffffffffffffffff
push 0x102b
push edi
mov dword [esp + 0x38], 2
mov dword [esp + 0x34], 0xfffffffd
call ebx
push 0
push 0
push 0x1004
push edi
call ebx
mov ebp, eax
xor esi, esi
test ebp, ebp
jbe 0x408018
lea eax, [esp + 0x18]
lea edx, [esp + 0x44]
push eax
push esi
push 0x102d
push edi
mov dword [esp + 0x30], 0
mov dword [esp + 0x40], 0x32
mov dword [esp + 0x3c], edx
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x44]
push ecx
push edx
call fcn.004018f0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
add esp, 8
cmp eax, ecx
je 0x407fb4
inc esi
cmp esi, ebp
jb 0x407f69
jmp 0x408018
cmp esi, ebp
jae 0x408018
lea edx, [esp + 0x18]
lea ecx, [esp + 0x44]
push edx
push esi
push 0x102d
push edi
mov dword [esp + 0x30], 3
mov dword [esp + 0x40], 0x32
mov dword [esp + 0x3c], ecx
call ebx
lea eax, [esp + 0x44]
push str.FREE
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x408018
lea ecx, [esp + 0x78]
mov eax, 2
push ecx
push esi
push 0x102b
push edi
mov dword [esp + 0x98], eax
mov dword [esp + 0x94], eax
call ebx
inc esi
cmp esi, ebp
jb 0x407fb8
dec esi
push 0
push esi
push 0x1013
push edi
call ebx
pop ebp
pop ebx
pop edi
mov eax, 1
pop esi
add esp, 0x90
ret
Function at 0x4081b0
Capabilities:
Read .ini file

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
push edi
push 0x41e540
push 0x41e140
call ebx
push 0x41e140
call fcn.00401b00
mov eax, dword [str.LordPE.iNi]
add esp, 4
push eax
push 0x41e140
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov esi, 1
xor edi, edi
push 0x41b364
push 0x41e290
mov dword [0x41e260], esi
mov dword [0x41e264], esi
mov dword [0x41e268], esi
mov dword [0x41e26c], edi
mov dword [0x41e270], edi
mov dword [0x41e274], esi
mov dword [0x41e278], edi
mov dword [0x41e27c], 2
mov dword [0x41e280], esi
mov dword [0x41e284], edi
mov dword [0x41e288], edi
mov dword [0x41e28c], esi
call ebx
mov edx, dword [str.Current]
mov eax, dword [str.Options]
xor ecx, ecx
push 0x41e140
mov dword [0x41e398], ecx
push 0x180
mov dword [0x41e39c], ecx
push 0x41e260
mov dword [0x41e3a0], ecx
push edx
push eax
mov dword [0x41e394], esi
mov dword [0x41e3a4], ecx
mov dword [0x41e3a8], esi
mov dword [0x41e3ac], edi
mov dword [0x41e3b0], esi
mov dword [0x41e3b4], edi
mov dword [0x41e3b8], esi
mov dword [0x41e3bc], 2
mov dword [0x41e3c0], esi
mov dword [0x41e3c4], esi
mov dword [0x41e3c8], esi
mov dword [0x41e3cc], edi
mov dword [0x41e3d0], edi
mov dword [0x41e3d4], 0x400000
mov dword [0x41e3d8], edi
mov dword [0x41e3dc], esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStructA]
pop edi
pop esi
pop ebx
ret

Function at 0x4089c0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x120
mov eax, dword [esp + 0x130]
mov ecx, 1
test eax, eax
mov dword [esp], ecx
jbe 0x408a9d
push ebx
mov ebx, dword [esp + 0x128]
push ebp
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
push esi
mov esi, dword [esp + 0x138]
push edi
mov edi, dword [esp + 0x138]
mov dword [esp + 0x14], eax
mov eax, dword [esi]
push ebx
push eax
lea ecx, [esp + 0x28]
push str._sfile_shell_scommand
push ecx
call ebp
add esp, 0x10
lea edx, [esp + 0x1c]
lea eax, [esp + 0x18]
lea ecx, [esp + 0x20]
push edx
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push ecx
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x408a49
mov dword [esp + 0x10], 0
jmp 0x408a7c
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, dword [esp + 0x18]
push eax
push edi
push 1
push 0
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x408a71
mov dword [esp + 0x10], 0
jmp 0x408a7c
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x14]
add esi, 4
dec eax
mov dword [esp + 0x14], eax
jne 0x408a01
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x120
ret
mov eax, ecx
add esp, 0x120
ret
Function at 0x408ab0
Capabilities:
Delete registry key

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x10c
test eax, eax
push ebx
mov ebx, 1
jbe 0x408b9e
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push esi
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
push edi
mov edi, dword [esp + 0x124]
mov dword [esp + 0x14], eax
mov eax, dword [edi]
lea ecx, [esp + 0x18]
push eax
push str._sfile_shell
push ecx
call esi
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x18]
push edx
push 0xf003f
push 0
push eax
push 0x80000000
call ebp
test eax, eax
je 0x408b14
xor ebx, ebx
jmp 0x408b7f
mov ecx, dword [esp + 0x120]
lea edx, [esp + 0x18]
push ecx
push str._scommand
push edx
call esi
mov ecx, dword [esp + 0x1c]
add esp, 0xc
lea eax, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
je 0x408b4e
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
jmp 0x408b7f
mov eax, dword [esp + 0x120]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
je 0x408b74
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
jmp 0x408b7f
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x14]
add edi, 4
dec eax
mov dword [esp + 0x14], eax
jne 0x408ae2
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x10c
ret
mov eax, ebx
pop ebx
add esp, 0x10c
ret

Function at 0x408bb0
Capabilities:
Set current directory

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x150
test eax, eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
je 0x408c43
push eax
push 0x41dec0
call esi
push 0x41dec0
call fcn.00402090
add esp, 4
test eax, eax
je 0x408c07
push 0x42024
push str.PE_Editor___Please_choose...
push str.This_file_has_its_readonly_attributes_set._nCan_I_wipe_it_out__
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x408c07
push 0x41dec0
call fcn.004020b0
add esp, 4
push 0x41dec0
call fcn.00415890
add esp, 4
test eax, eax
je 0x408c95
push 0x41dec0
call fcn.00415a30
add esp, 4
test eax, eax
je 0x408c95
mov ecx, dword [0x41e760]
push eax
push ecx
call fcn.004159b0
add esp, 8
xor eax, eax
pop esi
add esp, 0x150
ret
lea eax, [esp + 4]
push eax
call fcn.004017b0
mov ecx, dword [0x41e760]
mov edx, dword [str..exe__.dll__.dmp]
add esp, 4
lea eax, [esp + 4]
mov byte [0x41dec0], 0
mov dword [esp + 0x20], 0x41dec0
push eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x3c], 0x1804
mov dword [esp + 0x14], edx
call sub.comdlg32.dll_GetOpenFileNameA
test eax, eax
jne 0x408bcd
pop esi
add esp, 0x150
ret
lea edx, [esp + 0x50]
push 0x41dec0
push edx
call esi
lea eax, [esp + 0x50]
push eax
call fcn.00401ad0
add esp, 4
lea ecx, [esp + 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov edx, dword [0x41e760]
mov eax, dword [0x41e75c]
push 0
push 0x408cf0
push edx
push 0x66
push eax
call dword [sym.imp.USER32.dll_DialogBoxParamA]
push 0x41dec0
call fcn.00415a00
add esp, 4
mov eax, 1
pop esi
add esp, 0x150
ret