joyce8/EMBER2024-capa huggingface dataset:
Function at 0x436c28
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x44f104]
cmp byte [eax + 0xc], 0
je 0x436d95
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x436d8e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x450b50], 0
jne 0x436c7c
push 0x436d9c
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x436da4
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b50], eax
cmp dword [0x44ea84], 0
jne 0x436d77
push 0x436db4
call sub.kernel32.dll_LoadLibraryA
mov dword [0x44ea84], eax
cmp dword [0x44ea84], 0
je 0x436d77
push 0x436dc0
mov eax, dword [0x44ea84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b54], eax
push 0x436dd0
mov eax, dword [0x44ea84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b58], eax
push 0x436de4
mov eax, dword [0x44ea84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b5c], eax
push 0x436dfc
mov eax, dword [0x44ea84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b60], eax
push 0x436e14
mov eax, dword [0x44ea84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b64], eax
push 0x436e28
mov eax, dword [0x44ea84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b68], eax
push 0x436e40
mov eax, dword [0x44ea84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b6c], eax
push 0x436e58
mov eax, dword [0x44ea84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b70], eax
push 0x436e74
mov eax, dword [0x44ea84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b74], eax
push 0x436e80
mov eax, dword [0x44ea84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b78], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x436d95
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x43ac20
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.004041e0
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43ac6f
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404450
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x442418
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x442468]
test si, 4
je 0x44242c
or bl, 1
test si, 8
je 0x442436
or bl, 4
test si, 1
je 0x442440
or bl, 8
test si, 2
je 0x44244a
or bl, 0x10
test si, 0x10
je 0x442454
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x442463
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44246c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4424a4]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x442485
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x442494
or bl, 4
test esi, 0x20000000
je 0x44249f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x448b68
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x448b7a
add esp, 0xfffffff0
call fcn.0040378c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004194b0
mov eax, dword [0x44edec]
mov dword [eax + 4], ebx
mov dword [eax], 0x448f0c
mov eax, dword [0x44edf8]
mov dword [eax + 4], ebx
mov dword [eax], 0x448f18
mov eax, ebx
call fcn.00448f24
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4117a8]
call fcn.0040343c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4117a8]
call fcn.0040343c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4117a8]
call fcn.0040343c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4117a8]
call fcn.0040343c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4117a8]
call fcn.0040343c
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, 0x44533c
push eax
push 0
push 0
mov eax, dword [0x44ef34]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41b150]
call fcn.0041c5b8
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41b150]
call fcn.0041c5b8
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41b150]
call fcn.0041c5b8
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00449374
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44923c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44923c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44923c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x448cb7
call fcn.004037e4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x449020
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 0x4491cb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4491ac
mov dl, 1
mov eax, dword [0x411bc4]
call fcn.0040343c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004041e0
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44919b
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.00436f88
test al, al
je 0x44918e
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, 0x4491dc
lea eax, [ebp - 0x254]
call fcn.00408c10
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44918e
xor eax, eax
push ebp
push 0x449187
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 0x449214
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x449170
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404450
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 0x449170
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404450
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44918e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x449091
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.004156a0
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 0x4491d2
lea eax, [ebp - 0x260]
call fcn.004041e0
ret

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

Disassembly:
push ecx
mov eax, dword [0x450b9c]
cmp byte [eax + 0xa5], 0
jne 0x449b85
cmp dword [0x450bb4], 0
jne 0x449b46
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x449ad0
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x450bb4], eax
cmp dword [0x450bb0], 0
jne 0x449b61
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x450bb0], eax
cmp dword [0x450bb8], 0
jne 0x449b85
push esp
push 0
push 0
push 0x449a74
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x450bb8], eax
pop edx
ret
Function at 0x44a218
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x450b9c]
cmp dword [eax + 0x30], 0
je 0x44a2c2
cmp dword [ebx + 0x94], 0
jne 0x44a2bc
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44a1a8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44a2bc
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 0x44a282
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44a2bc
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.00413b10
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44a291
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44ae20
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 0x44ae55
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.004042d0
jmp 0x44ae62
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404234
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44bdf0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44be31
mov eax, esi
call fcn.00432790
test al, al
je 0x44be31
mov eax, dword [ebx + 0x84]
call fcn.00432530
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44be31
push 0
mov eax, dword [ebx + 0x84]
call fcn.00432530
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x104a1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and byte [ebp - 1], 0
xor eax, eax
mov edx, dword [ebp + 8]
mov ecx, eax
xor ecx, 1
mov cl, byte [ecx + edx + 0x36]
mov byte [ebp + eax - 8], cl
inc eax
cmp eax, 8
jl 0x104ac
push esi
push edi
mov edi, 0x10494
lea eax, [ebp - 8]
xor esi, esi
call section..text
test eax, eax
je 0x104d8
inc esi
mov edi, 0x1049c
lea eax, [ebp - 8]
call section..text
test eax, eax
je 0x104ec
xor esi, esi
inc esi
pop edi
mov eax, esi
pop esi
leave
ret 4
Function at 0x409a10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x456b00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
xor edx, edx
mov eax, vtable.CRgn.0
push edi
mov edi, ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], eax
mov esi, dword [esp + 0x30]
mov ebp, dword [sym.imp.GDI32.dll_CreateRoundRectRgn]
push 0xf
push 0xf
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
push eax
push ecx
push edx
push edx
mov byte [esp + 0x40], 1
lea ebx, [edi + 0x214]
call ebp
push eax
mov ecx, ebx
call fcn.0044ed07
mov eax, dword [esi + 8]
push 0x19
push eax
push 0
push 0
call dword [sym.imp.GDI32.dll_CreateRectRgn]
push eax
lea ecx, [esp + 0x14]
call fcn.0044ed07
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
sub eax, 3
push 0xc
sub ecx, 3
push 0xc
push eax
push ecx
push 0
push 3
call ebp
push eax
lea ecx, [esp + 0x1c]
call fcn.0044ed07
push 1
push 1
push 0
push 0
lea ebp, [edi + 0x20c]
call dword [sym.imp.GDI32.dll_CreateRectRgn]
push eax
mov ecx, ebp
call fcn.0044ed07
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
neg eax
sbb eax, eax
and eax, edx
test ebx, ebx
je 0x409ae3
mov ebx, dword [ebx + 4]
push 4
push eax
mov eax, dword [edi + 0x210]
push ebx
mov ebx, dword [sym.imp.GDI32.dll_CombineRgn]
push eax
call ebx
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
neg eax
sbb eax, eax
and eax, edx
test ebp, ebp
je 0x409b0b
mov ebp, dword [ebp + 4]
mov ecx, dword [edi + 0x210]
push 4
push eax
push ebp
push ecx
call ebx
mov eax, dword [esi + 0xc]
mov esi, dword [esi + 8]
sub eax, 3
push 0xc
sub esi, 3
push 0xc
push eax
push esi
push 0
push 3
lea ebx, [edi + 0x21c]
call dword [sym.imp.GDI32.dll_CreateRoundRectRgn]
push eax
mov ecx, ebx
call fcn.0044ed07
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
neg eax
sbb eax, eax
and eax, edx
test ebx, ebx
je 0x409b57
mov ebx, dword [ebx + 4]
mov edx, dword [edi + 0x220]
push 4
push eax
push ebx
push edx
call dword [sym.imp.GDI32.dll_CombineRgn]
lea ecx, [esp + 0x10]
call fcn.0044ed5e
lea ecx, [esp + 0x18]
call fcn.0044ed5e
mov esi, vtable.CGdiObject.0
mov dword [esp + 0x18], esi
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 2
call fcn.0044ed5e
mov dword [esp + 0x10], esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 3
call fcn.0044ed5e
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
Function at 0x410b10
Capabilities:
Set socket configuration

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0xc]
mov eax, dword [esi + 0x18]
lea ecx, [esi + 0x18]
push 0
push 0x3f
push 2
push edi
mov dword [esi + 8], edi
call dword [eax + 0x40]
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0xc]
push 1
push ecx
push 0x20
push 0xffff
push edx
mov byte [esp + 0x20], 1
call sub.WSOCK32.dll_setsockopt
mov eax, dword [esi + 0x1e8]
lea ecx, [esi + 0x1e8]
push 0
push 0x3f
inc edi
push 1
push edi
call dword [eax + 0x40]
mov ecx, dword [esi + 0x1ec]
push 5
push ecx
call sub.WSOCK32.dll_listen
pop edi
pop esi
ret 4

Function at 0x411070
Capabilities:
Get hostname
Resolve dns

Disassembly:
sub esp, 0x48
lea eax, [esp]
lea ecx, [esp + 0x14]
push eax
push ecx
mov dword [esp + 8], 0x32
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea edx, [esp + 0x14]
push edx
call sub.WSOCK32.dll_gethostbyname
test eax, eax
je 0x4110cf
movsx ecx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
push esi
mov edx, ecx
push edi
mov esi, dword [eax]
lea edi, [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x10]
push eax
call sub.WSOCK32.dll_inet_ntoa
push eax
mov ecx, 0x470464
call fcn.0044be73
pop edi
pop esi
jmp 0x4110de
push str.127.0.0.1
mov ecx, 0x470464
call fcn.0044be73
mov al, byte [0x470829]
test al, al
jne 0x41112e
mov ecx, dword [0x4719f0]
mov al, byte [ecx + 0x11]
mov dl, al
and dl, 0x20
test byte [ecx + 0xc], 0x40
jne 0x4110ff
and al, 0xdf
jmp 0x411101
or al, 0x20
mov byte [ecx + 0x11], al
mov eax, dword [0x4719f0]
test dl, dl
mov cl, byte [eax + 0xc]
jne 0x411121
and cl, 0xbf
mov byte [eax + 0xc], cl
mov byte [0x470829], 1
add esp, 0x48
ret
or cl, 0x40
mov byte [eax + 0xc], cl
mov byte [0x470829], 1
add esp, 0x48
ret
Function at 0x411d60
Capabilities:
Delete registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x457a00
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
mov esi, ecx
mov ecx, dword [0x470458]
push edi
call fcn.004105c0
test al, al
jne 0x411ed6
mov ecx, dword [esi + 4]
lea eax, [esp + 0x14]
push eax
call fcn.00406340
mov ecx, dword [esi + 4]
push 1
mov dword [esp + 0x2c], 0
call fcn.00406280
lea ecx, [esp + 0x10]
mov edi, eax
push ecx
mov ecx, dword [esi + 4]
call fcn.00406340
mov ecx, dword [esi + 4]
lea edx, [esp + 0xc]
push edx
mov byte [esp + 0x2c], 1
call fcn.00406340
mov ecx, 0x470868
mov byte [esp + 0x28], 2
call fcn.00423f70
mov ecx, dword [0x46e430]
push eax
mov dword [esp + 0xc], ecx
lea ecx, [esp + 0xc]
call fcn.0044be73
mov eax, dword [esp + 0xc]
mov byte [esp + 0x28], 3
cmp dword [eax - 8], 0x12
jne 0x411e68
mov edx, dword [esp + 8]
push edx
push eax
call fcn.00439321
add esp, 8
test eax, eax
jne 0x411e68
lea eax, [esp + 0x18]
push eax
push 0xf003f
push 0
push str.SOFTWAREyywk_
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x411e43
mov ecx, dword [esp + 0x18]
push 0x46d470
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [0x470458]
push 1
call fcn.004105b0
mov ecx, dword [0x470458]
call fcn.0040fe20
jmp 0x411e9b
mov esi, dword [esi + 4]
lea ecx, [esp + 0x10]
mov eax, dword [esi + 0x104]
add esi, 0x100
push eax
push ecx
push edi
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push esi
call fcn.0044ba5f
mov ecx, dword [0x470458]
lea edx, [esp + 0x24]
push edx
call fcn.0040f960
lea ecx, [esp + 8]
mov byte [esp + 0x28], 2
call fcn.0044bcea
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 1
call fcn.0044bcea
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
call fcn.0044bcea
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call fcn.0044bcea
mov ecx, dword [esp + 0x20]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x24
ret
Function at 0x423c40
Capabilities:
Set registry value

Disassembly:
push ecx
lea eax, [esp]
push esi
push eax
push 0xf003f
push 0
push str.SOFTWARE
mov esi, ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x423d58
push ebx
mov edx, dword [esp + 8]
push edi
lea ecx, [esp + 0xc]
push eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push ecx
push eax
push 0x20006
push eax
push 0x47020c
push eax
push str.yywk
push edx
call edi
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0xc]
push 0
push eax
push 0
push 0x20006
push 0
push 0x47020c
push 0
push 0x46d1a8
push ecx
call edi
lea edx, [esp + 0xc]
mov ecx, 0x471960
push edx
call fcn.00421130
lea edi, [esi + 0x1c5]
push edi
call fcn.004051b0
add esp, 4
push eax
mov eax, dword [esp + 0x10]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 1
push 0
push str.DocPath
push eax
call edi
lea ebx, [esi + 0x2e9]
push ebx
call fcn.004051b0
mov ecx, dword [esp + 0x10]
add esp, 4
push eax
push ebx
push 1
push 0
push str.BkPicture
push ecx
call edi
lea ebx, [esi + 0x3ed]
push ebx
call fcn.004051b0
mov edx, dword [esp + 0x10]
add esp, 4
push eax
push ebx
push 1
push 0
push str.BkPicPath
push edx
call edi
add esi, 0x2c9
push esi
call fcn.004051b0
add esp, 4
push eax
mov eax, dword [esp + 0x10]
push esi
push 1
push 0
push str.PlayerName
push eax
call edi
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebx
pop esi
pop ecx
ret
Function at 0x42f2a6
Capabilities:
Delete registry value

Disassembly:
push 0xffffffffffffffff
push 0x459398
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push 0x46df14
lea ecx, [esp + 8]
call fcn.0044bd58
push 0x46dee0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0
call fcn.0044c0c6
cmp byte [esp + 0x18], 1
jne 0x42f335
mov eax, dword [esp + 4]
push 0x44
push 0x46d304
push eax
mov ecx, esi
call fcn.0040a5f0
cmp eax, 6
jne 0x42f335
lea ecx, [esp + 0x18]
push ecx
push 0xf003f
push 0
push str.SOFTWAREyywk_
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x42f32a
mov edx, dword [esp + 0x18]
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push 0x46d470
push edx
call esi
mov eax, dword [esp + 0x18]
push str.User
push eax
call esi
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 4]
mov dword [esp + 0x10], 0xffffffff
call fcn.0044bcea
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x43d985
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x46f780
cmp edx, dword [eax]
je 0x43d9a7
add eax, 8
inc ecx
cmp eax, 0x46f810
jl 0x43d998
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x46f780]
jne 0x43dad5
mov eax, dword [0x473af0]
cmp eax, 1
je 0x43daaf
test eax, eax
jne 0x43d9d8
cmp dword [0x46f004], 1
je 0x43daaf
cmp edx, 0xfc
je 0x43dad5
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x43da0f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00440240
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00439da0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x43da52
lea eax, [ebp - 0x1a4]
push eax
call fcn.00439da0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x461ad4
push edi
call fcn.00440bf0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00440240
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00440250
lea eax, [ebp - 0xa0]
push 0x461ab4
push eax
call fcn.00440250
push dword [esi + 0x46f784]
lea eax, [ebp - 0xa0]
push eax
call fcn.00440250
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00440b5e
add esp, 0x2c
pop edi
jmp 0x43dad5
lea eax, [ebp + 8]
lea esi, [esi + 0x46f784]
push 0
push eax
push dword [esi]
call fcn.00439da0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x445d10
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.00439640
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x445ddb
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x445ddb
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x445d8e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x445d99
or bh, 8
and edi, 0x8000000
je 0x445db4
mov eax, dword [0x47529c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x445ddb
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret