joyce8/EMBER2024-capa huggingface dataset:
Function at 0x452604
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45263c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45261d
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45262c
or bl, 4
test esi, 0x20000000
je 0x452637
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x458ce4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x458cf6
add esp, 0xfffffff0
call fcn.004035f0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041e344
mov eax, dword [0x4958ec]
mov dword [eax + 4], ebx
mov dword [eax], 0x459088
mov eax, dword [0x4958fc]
mov dword [eax + 4], ebx
mov dword [eax], 0x459094
mov eax, ebx
call fcn.004590a0
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x415614]
call fcn.0040329c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x415614]
call fcn.0040329c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x415614]
call fcn.0040329c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x415614]
call fcn.0040329c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x415614]
call fcn.0040329c
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x4554bc
push eax
push 0
push 0
mov eax, dword [0x495b14]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41fdb0]
call fcn.004215c4
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41fdb0]
call fcn.004215c4
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41fdb0]
call fcn.004215c4
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004594c0
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45939c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45939c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45939c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x458e33
call fcn.00403648
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x459180
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45932b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45930c
mov dl, 1
mov eax, dword [0x415c78]
call fcn.0040329c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004040c0
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4592fb
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00446bc8
test al, al
je 0x4592ee
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x45933c
lea eax, [ebp - 0x254]
call fcn.00409210
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4592ee
xor eax, eax
push ebp
push 0x4592e7
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x459374
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4592d0
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404330
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x4592d0
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404330
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4592ee
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4591f1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00419fc0
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x459332
lea eax, [ebp - 0x260]
call fcn.004040c0
ret

Function at 0x459c60
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x496be4]
cmp byte [eax + 0xa5], 0
jne 0x459cd1
cmp dword [0x496bfc], 0
jne 0x459c92
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x459c1c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x496bfc], eax
cmp dword [0x496bf8], 0
jne 0x459cad
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x496bf8], eax
cmp dword [0x496c00], 0
jne 0x459cd1
push esp
push 0
push 0
push 0x459bc0
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x496c00], eax
pop edx
ret
Function at 0x459dc8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x459ddf
add esp, 0xfffffff0
call fcn.004035f0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041e344
mov eax, dword [0x495af4]
cmp word [eax + 2], 0
jne 0x459e07
mov eax, dword [0x495af4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045b4b8
mov eax, dword [0x495c14]
cmp word [eax + 2], 0
jne 0x459e21
mov eax, dword [0x495c14]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045b6b0
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x415614]
call fcn.0040329c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x415614]
call fcn.0040329c
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x420930]
call fcn.00428294
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x459fa8
mov eax, dword [0x495990]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00428664
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45bc60
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x495990]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040ca3c
test eax, eax
je 0x459f16
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408c04
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040ca64
test eax, eax
je 0x459f2a
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404330
mov eax, dword [0x49579c]
cmp byte [eax], 0
jne 0x459f5e
mov eax, ebx
call fcn.0045a0d0
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0045be3c
mov eax, ebx
call fcn.0045c800
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x459f9e
call fcn.00403648
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45a350
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x496be4]
cmp dword [eax + 0x30], 0
je 0x45a3fa
cmp dword [ebx + 0x94], 0
jne 0x45a3f4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45a2e0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45a3f4
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45a3ba
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45a3f4
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00417c20
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45a3c9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45af5c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x45af91
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004041b0
jmp 0x45af9e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404114
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45c018
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45c059
mov eax, esi
call fcn.004421b0
test al, al
je 0x45c059
mov eax, dword [ebx + 0x84]
call fcn.00441eac
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45c059
push 0
mov eax, dword [ebx + 0x84]
call fcn.00441eac
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x45cd18
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x414bc4]
call fcn.00404a58
xor eax, eax
push ebp
push 0x45ce5c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x48de20], 0
jne 0x45cd6b
mov ecx, dword [0x4957bc]
mov dl, 1
mov eax, dword [0x407368]
call fcn.0040bce0
call fcn.00403a58
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402ce0
mov eax, ebx
call fcn.00404928
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x45ce6c
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.004059e8
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404938
test eax, eax
jle 0x45ce03
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x45cdfc
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404348
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404330
mov eax, dword [ebp - 0x48]
pop edx
call fcn.004081c0
test eax, eax
jne 0x45cdfc
mov ebx, 0x15
jmp 0x45ce08
mov ebx, 0x10
jmp 0x45ce08
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x48de20]
call fcn.0045cc70
mov eax, dword [ebp - 8]
call fcn.0045cc70
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405a00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ce63
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004040e4
lea eax, [ebp - 0x10]
mov edx, dword [0x414bc4]
call fcn.00404b28
ret
Function at 0x48a478
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x48a4b0]
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x48a48e
or bl, 1
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x48a49d
or bl, 4
push 0x12
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x48a4ac
or bl, 2
mov eax, ebx
pop ebx
ret

Function at 0x48b7c0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x495bdc]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x48b7e6
push 0
mov eax, dword [0x495bdc]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
ret
Function at 0x401370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401389
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4013c4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x4013c0
lea ebx, [ebx]
cmp esi, eax
jae 0x4013c4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4013b0
cmp esi, eax
jb 0x4013ca
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x4094c0
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [edx]
push ebx
push ebp
push esi
push edi
mov esi, 0x5ba010
mov dword [esp + 0x10], 0x10
mov edi, edi
xor ecx, dword [esi]
add esi, 4
mov eax, ecx
shr eax, 8
movzx edi, cl
mov ebp, ecx
movzx ebx, al
shr eax, 8
mov ecx, eax
shr ecx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x5b9010]
movzx eax, al
add ecx, dword [eax*4 + 0x5b9410]
movzx eax, bx
xor ecx, dword [eax*4 + 0x5b9810]
movzx eax, di
add ecx, dword [eax*4 + 0x5b9c10]
xor ecx, edx
sub dword [esp + 0x10], 1
mov edx, ebp
jne 0x4094e0
mov eax, dword [0x5ba050]
xor eax, ecx
mov ecx, dword [0x5ba054]
xor ecx, edx
mov edx, dword [esp + 0x18]
pop edi
pop esi
mov dword [edx], ecx
mov ecx, dword [esp + 0x14]
pop ebp
mov dword [ecx], eax
pop ebx
pop ecx
ret

Function at 0x409560
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [edx]
push ebx
push ebp
push esi
push edi
mov esi, 0x5ba054
mov dword [esp + 0x10], 0x10
mov edi, edi
xor ecx, dword [esi]
sub esi, 4
mov eax, ecx
shr eax, 8
movzx edi, cl
mov ebp, ecx
movzx ebx, al
shr eax, 8
mov ecx, eax
shr ecx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x5b9010]
movzx eax, al
add ecx, dword [eax*4 + 0x5b9410]
movzx eax, bx
xor ecx, dword [eax*4 + 0x5b9810]
movzx eax, di
add ecx, dword [eax*4 + 0x5b9c10]
xor ecx, edx
sub dword [esp + 0x10], 1
mov edx, ebp
jne 0x409580
mov eax, dword [0x5ba014]
xor eax, ecx
mov ecx, dword [0x5ba010]
xor ecx, edx
mov edx, dword [esp + 0x18]
pop edi
pop esi
mov dword [edx], ecx
mov ecx, dword [esp + 0x14]
pop ebp
mov dword [ecx], eax
pop ebx
pop ecx
ret
Function at 0x409600
Capabilities:
Encrypt data using blowfish

Disassembly:
sub esp, 8
cmp dword [0x5b9008], 0
jne 0x4097bf
mov ecx, dword [0x5b1224]
mov eax, dword [0x5b1220]
mov edx, dword [0x5b1228]
mov dword [0x5ba014], ecx
mov ecx, dword [0x5b1230]
mov dword [0x5ba010], eax
mov eax, dword [0x5b122c]
mov dword [0x5ba018], edx
mov edx, dword [0x5b1234]
mov dword [0x5ba020], ecx
mov ecx, dword [0x5b123c]
mov dword [0x5ba01c], eax
mov eax, dword [0x5b1238]
mov dword [0x5ba024], edx
mov edx, dword [0x5b1240]
mov dword [0x5ba02c], ecx
mov ecx, dword [0x5b1248]
mov dword [0x5ba028], eax
mov eax, dword [0x5b1244]
mov dword [0x5ba030], edx
mov edx, dword [0x5b124c]
mov dword [0x5ba038], ecx
mov ecx, dword [0x5b1254]
push ebx
push ebp
push esi
mov dword [0x5ba034], eax
mov eax, dword [0x5b1250]
mov dword [0x5ba03c], edx
mov edx, dword [0x5b1258]
mov dword [0x5ba044], ecx
mov ecx, dword [0x5b1260]
push edi
mov dword [0x5ba040], eax
mov eax, dword [0x5b125c]
mov dword [0x5ba048], edx
mov edx, dword [0x5b1264]
mov dword [0x5ba050], ecx
mov ecx, 0x400
mov esi, 0x5b1268
mov edi, 0x5b9010
rep movsd dword es:[edi], dword [esi]
mov si, word [esp + 0x20]
mov edi, dword [esp + 0x1c]
mov dword [0x5ba04c], eax
mov dword [0x5ba054], edx
xor eax, eax
mov edx, 0x5ba010
mov dword [esp + 0x14], 0x12
lea esp, [esp]
xor ecx, ecx
lea ebx, [ecx + 4]
movsx ebp, ax
movsx ebp, byte [edi + ebp]
shl ecx, 8
inc eax
or ecx, ebp
cmp ax, si
jl 0x409729
xor eax, eax
sub ebx, 1
jne 0x409715
xor dword [edx], ecx
add edx, 4
sub dword [esp + 0x14], 1
jne 0x409710
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov esi, 0x5ba014
lea edi, [ebx + 9]
lea esp, [esp]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.004094c0
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esi - 4], edx
mov dword [esi], eax
add esp, 8
add esi, 8
sub edi, 1
jne 0x409750
mov esi, 0x5b9014
lea ebx, [edi + 4]
nop
mov edi, 0x80
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
call fcn.004094c0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esi - 4], eax
mov dword [esi], ecx
add esp, 8
add esi, 8
sub edi, 1
jne 0x409785
sub ebx, 1
jne 0x409780
pop edi
pop esi
pop ebp
mov dword [0x5b9008], 1
pop ebx
xor eax, eax
add esp, 8
ret
Function at 0x40c380
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x55d7ab
mov eax, dword fs:[0]
push eax
sub esp, 0x4ec
mov eax, dword [0x5b7a9c]
xor eax, esp
mov dword [esp + 0x4e8], eax
push esi
mov eax, dword [0x5b7a9c]
xor eax, esp
push eax
lea eax, [esp + 0x4f4]
mov dword fs:[0], eax
mov esi, dword [esp + 0x504]
push 0
push 0
push 0
lea ecx, [esp + 0x54]
call fcn.00512f89
mov eax, 0xffffff
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
push 0x208
lea eax, [esp + 0xe4]
push eax
push 0
mov dword [esp + 0x508], 0
call fcn.00412940
push 1
lea ecx, [esp + 0xf0]
push ecx
push 0x40
lea edx, [esp + 0x20]
push edx
push str.Custom_colors
push str.Options
call fcn.00451200
or dword [esp + 0xf4], 3
lea eax, [esp + 0x2c]
mov dword [esp + 0xf0], eax
mov eax, dword [esi]
add esp, 0x24
cmp eax, 0xffffffff
je 0x40c476
mov dword [esp + 0xc8], eax
lea ecx, [esp + 0x48]
call fcn.00512f3f
cmp eax, 1
jne 0x40c4d1
mov ecx, dword [esp + 0xc8]
lea edx, [esp + 0xe0]
push edx
push 0x40
lea eax, [esp + 0x10]
push eax
push str.Custom_colors
push str.Options
mov dword [esi], ecx
call fcn.00451370
add esp, 0x14
lea ecx, [esp + 0x48]
mov dword [esp + 0x4fc], 0xffffffff
mov dword [esp + 0x48], vtable.CCommonDialog.0
call fcn.004ff2df
mov eax, 1
jmp 0x40c4ef
lea ecx, [esp + 0x48]
mov dword [esp + 0x4fc], 0xffffffff
mov dword [esp + 0x48], vtable.CCommonDialog.0
call fcn.004ff2df
xor eax, eax
mov ecx, dword [esp + 0x4f4]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x4e8]
xor ecx, esp
call fcn.0053fa67
add esp, 0x4f8
ret

Function at 0x410c10
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 8]
sub esp, 8
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 0x10]
lea ecx, [esp + 4]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x410c64
mov edx, dword [str.EDITPLUS.EXE]
push 4
lea ecx, [esp + 0x18]
push ecx
push 4
push eax
mov eax, dword [esp + 0x10]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 8
ret
Function at 0x411d50
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x26c
mov eax, dword [0x5b7a9c]
xor eax, esp
mov dword [esp + 0x268], eax
mov eax, dword [0x5ba2a8]
mov ecx, dword [eax + 0xdc]
push ebx
mov ebx, dword [esp + 0x274]
push esi
push ecx
lea edx, [esp + 0x6c]
push 0x104
push edx
call fcn.0054013c
mov eax, dword [0x5ba2a8]
add esp, 0xc
cmp dword [eax + 0xc4], 0x3b5
jne 0x411da3
mov esi, str.license_kr.txt
jmp 0x411e12
push 0x5c
lea ecx, [esp + 0x10]
push 0
push ecx
mov esi, str.license.txt
call fcn.00540610
push 9
call fcn.00435850
push 0x572ad0
lea edx, [esp + 0x3c]
push 0x20
push edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x38], 0x190
mov byte [esp + 0x3f], 0
mov byte [esp + 0x40], 0
mov byte [esp + 0x41], 0
mov byte [esp + 0x42], 0
mov byte [esp + 0x43], 0x31
call fcn.0054013c
add esp, 0x1c
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push 0
push eax
push 0x30
push ebx
mov dword [0x5ba29c], eax
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
lea ecx, [esp + 0x6c]
push 0x104
push ecx
call fcn.005400bf
add esp, 0xc
push 0
push 0x80
push 3
push 0
push 3
push accept
lea edx, [esp + 0x80]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x411e6f
push eax
push 0x10
push 4
call fcn.0050bdf5
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x268]
xor ecx, esp
call fcn.0053fa67
add esp, 0x26c
ret
push ebp
push edi
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
push edi
call fcn.00541100
add esp, 4
push 0
push 0
push 2
push esi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [esp + 0x14]
push eax
lea ecx, [edi - 2]
push ecx
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
cdq
sub eax, edx
push ebp
xor edx, edx
push edx
push 0xc
sar eax, 1
push ebx
mov word [ebp + eax*2 - 2], dx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x278]
pop edi
pop ebp
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.0053fa67
add esp, 0x26c
ret