joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4456c0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x48a974]
push esi
push 0
push 0x444f50
push 0
push 0x6f
push eax
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov esi, eax
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetActiveWindow]
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
pop esi
ret

Function at 0x445b00
Capabilities:
Hide graphical window

Disassembly:
cmp dword [0x487d64], 0
jne 0x445b32
mov eax, dword [esp + 4]
mov ecx, dword [0x48a974]
push 0
push 0x4449e0
push eax
push 0x6e
push ecx
call dword [sym.imp.USER32.dll_CreateDialogParamA]
push 1
push eax
mov dword [0x487d64], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [0x487d64]
push edx
call dword [sym.imp.USER32.dll_SetActiveWindow]
ret

Function at 0x447050
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x18
mov eax, dword [0x4832b0]
xor eax, esp
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
push 0x14
lea ecx, [esp + 4]
push ecx
movzx edx, ax
push 0x1004
push edx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea eax, [esp]
push eax
call fcn.00456abc
mov ecx, dword [esp + 0x18]
add esp, 4
xor ecx, esp
mov dword [0x484e5c], eax
call fcn.00456f82
add esp, 0x18
ret

Function at 0x447130
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x104
mov eax, dword [0x4832b0]
xor eax, esp
mov dword [esp + 0x100], eax
lea eax, [esp]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
jne 0x447167
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.00456f82
add esp, 0x104
ret
test byte [esp + 0x12], 0x80
je 0x447188
mov eax, 1
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.00456f82
add esp, 0x104
ret
movzx eax, byte [esp + 0xa5]
mov ecx, dword [esp + 0x100]
xor ecx, esp
shr eax, 7
call fcn.00456f82
add esp, 0x104
ret

Function at 0x4482f0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push edi
lea eax, [ebx + 1]
push eax
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x44839a
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
test esi, esi
je 0x448399
mov ecx, dword [esp + 0x14]
push ebx
push ecx
push esi
call fcn.00456ba0
add esp, 0xc
push edi
mov byte [esi + ebx], 0
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov esi, dword [esp + 0x1c]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
test esi, esi
jne 0x448357
mov edx, dword [0x48a960]
push 0
push 1
push 0x8002
push edx
call ebx
mov eax, dword [0x48a960]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x44837e
call dword [sym.imp.USER32.dll_EmptyClipboard]
push edi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x448385
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
test esi, esi
jne 0x448399
mov ecx, dword [0x48a960]
push esi
push esi
push 0x8002
push ecx
call ebx
pop esi
pop edi
pop ebx
ret
Function at 0x448cf0
Capabilities:
Create thread

Disassembly:
push ecx
mov ecx, dword [0x48a960]
lea eax, [esp]
push eax
push 0
push ecx
push 0x448b80
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ecx
ret

Function at 0x448ec0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x1bc
mov eax, dword [0x4832b0]
xor eax, esp
mov dword [esp + 0x1b8], eax
mov eax, dword [esp + 0x1c4]
push esi
cmp eax, 1
jne 0x448f0e
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x4862c0]
js 0x448efa
cmp eax, 0x32
jl 0x448fd8
push 0
call dword [sym.imp.USER32.dll_MessageBeep]
call esi
mov dword [0x4862c0], eax
jmp 0x448fc0
cmp eax, 3
jne 0x448f7f
push 0x20001
push 0
push 0x489a84
call dword [sym.imp.WINMM.dll_PlaySoundA]
test eax, eax
jne 0x448fc0
push 0x489a84
lea eax, [esp + 0x6c]
push str.Unable_to_play_sound_file_n_s_nUsing_default_sound_instead
push eax
call fcn.00456f05
mov ecx, dword [0x469550]
push ecx
lea edx, [esp + 0x14]
push str._.70s_Sound_Error
push edx
call fcn.00456f05
mov edx, dword [0x48a960]
add esp, 0x18
push 0x30
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x70]
push ecx
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [0x489a6c], 1
jmp 0x448fc0
cmp eax, 4
jne 0x448fc0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x4862c4]
js 0x448f99
cmp eax, 0x32
jl 0x448fd8
cmp dword [0x487cd0], 2
jne 0x448fb1
push 0x64
push 0x320
call dword [sym.imp.KERNEL32.dll_Beep]
jmp 0x448fb9
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_MessageBeep]
call esi
mov dword [0x4862c4], eax
mov eax, dword [0x487d6c]
cmp dword [eax + 0x134], 0
jne 0x448fd8
push 2
call fcn.00448dd0
add esp, 4
mov ecx, dword [esp + 0x1bc]
pop esi
xor ecx, esp
call fcn.00456f82
add esp, 0x1bc
ret

Function at 0x449e60
Capabilities:
Hide graphical window

Disassembly:
call fcn.004491a0
test eax, eax
je 0x449e78
mov eax, dword [0x48a960]
push 9
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret
mov ecx, dword [0x48a960]
push ecx
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
je 0x449e8e
jmp fcn.00449db0
mov edx, dword [0x48a960]
push 0
push 0
push 0x8003
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [0x48a960]
push 3
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret
Function at 0x44ec90
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push esi
push edi
push 0x1034
push 1
call fcn.0040c6e0
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventA]
add esp, 8
push 0
mov esi, eax
mov eax, dword [esp + 0x18]
push 0
push 0
lea edi, [esi + 4]
push 0
mov dword [esi], 0
mov dword [edi], eax
call ebx
push 0
push 0
push 0
push 0
mov dword [esi + 8], eax
call ebx
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0x24], eax
mov eax, dword [0x4862e8]
mov dword [esi + 0x1030], ecx
mov dword [esi + 0x18], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x20], edx
test eax, eax
jne 0x44ed1c
push 0x413ad0
call fcn.0043f590
add esp, 4
mov dword [0x4862e8], eax
push esi
push eax
call fcn.0043fc00
add esp, 8
lea ecx, [esp + 0xc]
push ecx
push 0
push edi
push 0x44e990
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
mov dword [esi + 0x1c], 1
mov eax, esi
pop esi
pop ebx
pop ecx
ret

Function at 0x44ed50
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
push 0x1034
push 1
call fcn.0040c6e0
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventA]
add esp, 8
xor ebp, ebp
push ebp
mov esi, eax
mov eax, dword [esp + 0x1c]
push ebp
push ebp
lea edi, [esi + 4]
push ebp
mov dword [esi], 1
mov dword [edi], eax
call ebx
push ebp
push ebp
push ebp
push ebp
mov dword [esi + 8], eax
call ebx
mov ecx, dword [esp + 0x20]
lea edx, [esi + 0x38]
push edx
mov dword [esi + 0xc], eax
mov dword [esi + 0x1c], ebp
mov dword [esi + 0x18], ebp
mov dword [esi + 0x10], ebp
mov dword [esi + 0x14], ebp
mov dword [esi + 0x20], ecx
call fcn.0040c640
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x44], eax
mov eax, dword [0x4862e8]
add esp, 4
mov dword [esi + 0x24], ecx
cmp eax, ebp
jne 0x44edd7
push 0x413ad0
call fcn.0043f590
add esp, 4
mov dword [0x4862e8], eax
push esi
push eax
call fcn.0043fc00
add esp, 8
lea edx, [esp + 0x10]
push edx
push ebp
push edi
push 0x44eb20
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x44fc00
Capabilities:
Get common file path

Disassembly:
cmp dword [0x486b08], 0
push esi
push edi
jne 0x44fc40
mov edi, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
xor esi, esi
lea eax, [esi + esi*2]
cdq
sub eax, edx
sar eax, 1
add eax, 0x200
mov esi, eax
mov eax, dword [0x486b08]
push 1
push esi
push eax
call fcn.0040c790
add esp, 0xc
push esi
push eax
mov dword [0x486b08], eax
call edi
cmp eax, esi
jge 0x44fc13
mov ecx, dword [esp + 0xc]
mov edx, dword [0x486b08]
push 0
push ecx
push 0x47c664
push edx
call fcn.0040ca10
add esp, 0x10
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
mov edi, eax
call fcn.0040c850
add esp, 4
mov eax, edi
pop edi
pop esi
ret
Function at 0x44fc80
Capabilities:
Get session user name

Disassembly:
push ecx
cmp dword [0x486b04], 0
jne 0x44fccb
push str.secur32.dll
call fcn.0044fc00
add esp, 4
test eax, eax
je 0x44fcb8
push str.GetUserNameExA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x486b00], eax
mov dword [0x486b04], 1
jmp 0x44fcd0
xor eax, eax
mov dword [0x486b00], eax
mov dword [0x486b04], 1
jmp 0x44fcd0
mov eax, dword [0x486b00]
push esi
push edi
test eax, eax
je 0x44fd30
lea ecx, [esp + 8]
push ecx
push 0
push 8
mov dword [esp + 0x14], 0
call eax
mov edx, dword [esp + 8]
push 1
push edx
call fcn.0040c6e0
add esp, 8
mov esi, eax
lea eax, [esp + 8]
push eax
push esi
push 8
call dword [0x486b00]
movzx edi, al
test edi, edi
je 0x44fd23
push 0x40
push esi
call fcn.00456ae0
add esp, 8
test eax, eax
je 0x44fd2c
mov byte [eax], 0
jmp 0x44fd2c
push esi
call fcn.0040c850
add esp, 4
test edi, edi
jne 0x44fd7b
mov edi, dword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea ecx, [esp + 8]
push ecx
push 0
mov dword [esp + 0x10], 0
call edi
test eax, eax
jne 0x44fd53
mov dword [esp + 8], 0x100
mov edx, dword [esp + 8]
push 1
push edx
call fcn.0040c6e0
mov esi, eax
add esp, 8
lea eax, [esp + 8]
push eax
push esi
call edi
mov edi, eax
test edi, edi
jne 0x44fd7b
push esi
call fcn.0040c850
add esp, 4
mov eax, edi
neg eax
sbb eax, eax
pop edi
and eax, esi
pop esi
pop ecx
ret
Function at 0x451e60
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
sub esp, 0x250
mov eax, dword [0x4832b0]
xor eax, esp
mov dword [esp + 0x24c], eax
push ebx
mov ebx, dword [esp + 0x258]
push esi
push 0x107
lea eax, [esp + 0x150]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [esp + 0x14c]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x451e98
mov cx, word [0x47cf84]
mov dl, byte [0x47cf86]
mov word [eax], cx
mov byte [eax + 2], dl
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x150]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x451ef7
push edi
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea edx, [esp + 0x10]
push 0x140
push edx
call ebx
add esp, 8
lea eax, [esp + 0x10]
push eax
push esi
call edi
test eax, eax
jne 0x451ed4
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea ecx, [esp + 8]
push 4
push ecx
mov dword [esp + 0x10], eax
call ebx
push ebx
call fcn.00453cf0
add esp, 0xc
call fcn.00451c80
mov ecx, dword [esp + 0x254]
pop esi
pop ebx
xor ecx, esp
call fcn.00456f82
add esp, 0x250
ret

Function at 0x451f50
Capabilities:
Link many functions at runtime

Disassembly:
push esi
push edi
push str.advapi32.dll
call fcn.0044fc00
xor edi, edi
add esp, 4
mov dword [0x4871f4], eax
cmp eax, edi
je 0x451ff9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetSecurityInfo
push eax
call esi
mov dword [0x4871e4], eax
cmp eax, edi
je 0x451ff9
mov eax, dword [0x4871f4]
cmp eax, edi
je 0x451ff3
push str.OpenProcessToken
push eax
call esi
mov dword [0x4871e8], eax
cmp eax, edi
je 0x451ff9
mov eax, dword [0x4871f4]
cmp eax, edi
je 0x451ffe
push str.GetTokenInformation
push eax
call esi
mov dword [0x4871ec], eax
cmp eax, edi
je 0x451ff9
mov eax, dword [0x4871f4]
cmp eax, edi
je 0x452009
push str.InitializeSecurityDescriptor
push eax
call esi
mov dword [0x4871f0], eax
cmp eax, edi
je 0x451ff9
mov eax, dword [0x4871f4]
cmp eax, edi
je 0x452014
push str.SetSecurityDescriptorOwner
push eax
call esi
mov dword [0x4871e0], eax
cmp eax, edi
je 0x451ff9
lea eax, [edi + 1]
pop edi
pop esi
ret
mov dword [0x4871e8], edi
pop edi
xor eax, eax
pop esi
ret
mov dword [0x4871ec], edi
pop edi
xor eax, eax
pop esi
ret
mov dword [0x4871f0], edi
pop edi
xor eax, eax
pop esi
ret
mov dword [0x4871e0], edi
pop edi
xor eax, eax
pop esi
ret

Function at 0x4531c0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov eax, dword [esp + 0xc]
mov dword [esp], 4
test eax, eax
je 0x453203
lea ecx, [esp]
push ecx
lea edx, [esp + 8]
push edx
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x453203
cmp dword [esp], 4
jne 0x453203
cmp dword [esp + 0xc], 4
mov eax, dword [esp + 4]
je 0x453207
mov eax, dword [esp + 0x14]
add esp, 8
ret
Function at 0x453470
Capabilities:
Delete registry key

Disassembly:
push ecx
lea eax, [esp]
push eax
push str.SoftwareSimonTathamPuTTYSessions
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4534e2
push esi
push edi
mov edi, dword [esp + 0x10]
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x453494
sub eax, edx
lea ecx, [eax + eax*2 + 1]
push 1
push ecx
call fcn.0040c6e0
mov esi, eax
add esp, 8
mov ecx, esi
mov edx, edi
call fcn.00452e80
mov edx, dword [esp + 8]
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push esi
call fcn.0040c850
mov eax, dword [esp + 0xc]
add esp, 4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call fcn.0044fa50
add esp, 4
pop edi
pop esi
pop ecx
ret

Function at 0x453530
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push esi
push edi
lea edi, [ebx + ebx*2]
push 1
push edi
call fcn.0040c6e0
mov esi, eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 4]
add esp, 8
push edi
lea edx, [ecx + 1]
push esi
mov dword [eax + 4], edx
mov eax, dword [eax]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x453581
mov edi, dword [esp + 0x14]
push ebx
mov eax, edi
mov ecx, esi
call fcn.00452ef0
push esi
call fcn.0040c850
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebx
ret
push esi
call fcn.0040c850
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x453900
Capabilities:
Set registry value

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
mov eax, ebx
push edi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x453910
mov edi, dword [esp + 0x1c]
sub eax, edx
mov edx, eax
mov eax, edi
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x453924
sub eax, esi
lea eax, [eax + edx + 5]
lea eax, [eax + eax*2]
push 1
push eax
call fcn.0040c6e0
mov ecx, dword [esp + 0x20]
push ecx
mov esi, eax
push ebx
mov eax, edi
call fcn.004535b0
add esp, 0x10
lea edx, [esp + 0xc]
push edx
push str.SoftwareSimonTathamPuTTYSshHostKeys
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x453997
mov edx, dword [esp + 0x20]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x453970
sub eax, edi
inc eax
push eax
mov eax, dword [esp + 0x10]
push edx
push 1
push 0
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call fcn.0040c850
add esp, 4
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x453cf0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x408
mov eax, dword [0x4832b0]
xor eax, esp
mov dword [esp + 0x404], eax
push ebx
push ebp
mov ebp, dword [esp + 0x414]
push esi
mov ebx, 1
call fcn.00453a20
mov esi, eax
cmp esi, 0xffffffff
je 0x453d73
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [esp + 0x14]
push eax
push 0x400
lea ecx, [esp + 0x20]
push ecx
push esi
call edi
test eax, eax
je 0x453d6b
mov edi, edi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x453d6b
push eax
lea edx, [esp + 0x18]
push edx
call ebp
add esp, 8
push 0
lea eax, [esp + 0x14]
push eax
push 0x400
lea ecx, [esp + 0x20]
push ecx
push esi
call edi
test eax, eax
jne 0x453d40
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov ecx, dword [esp + 0x410]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00456f82
add esp, 0x408
ret

Function at 0x453d90
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
push esi
mov ebx, 2
call fcn.00453a20
mov esi, eax
cmp esi, 0xffffffff
je 0x453dc3
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push 0
lea eax, [esp + 0xc]
push eax
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
pop ecx
ret
Function at 0x4540f0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x110
mov eax, dword [0x4832b0]
xor eax, esp
mov dword [esp + 0x10c], eax
push esi
mov esi, dword [esp + 0x118]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
push 0x105
lea eax, [esp + 0x10]
push eax
push 0
push esi
call edi
test eax, eax
jne 0x45417a
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
push esi
call ebp
test eax, eax
jne 0x45415d
mov eax, dword [esp + 0x10]
push eax
call fcn.004540f0
mov ecx, dword [esp + 0x14]
add esp, 4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esp + 0x14]
push edx
push esi
call ebx
push 0x105
lea eax, [esp + 0x18]
push eax
push 0
push esi
call edi
test eax, eax
je 0x454134
pop ebp
pop ebx
mov ecx, dword [esp + 0x114]
pop edi
pop esi
xor ecx, esp
call fcn.00456f82
add esp, 0x110
ret

Function at 0x4541a0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x110
mov eax, dword [0x4832b0]
xor eax, esp
mov dword [esp + 0x10c], eax
push ebx
push ebp
xor ebx, ebx
call fcn.00453a20
call fcn.0044f9d0
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea eax, [esp + 8]
push eax
push str.SoftwareSimonTathamPuTTY
push 0x80000001
call ebp
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x4541f7
mov ecx, dword [esp + 8]
push ecx
call fcn.004540f0
mov edx, dword [esp + 0xc]
add esp, 4
push edx
call ebx
lea eax, [esp + 8]
push eax
push str.SoftwareSimonTatham
push 0x80000001
call ebp
test eax, eax
jne 0x45426e
mov ecx, dword [esp + 8]
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push 0x469548
push ecx
call edi
mov eax, dword [esp + 0x10]
push 0x105
lea edx, [esp + 0x18]
push edx
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov ecx, dword [esp + 0x10]
push ecx
mov esi, eax
call ebx
test esi, esi
je 0x45426c
lea edx, [esp + 0x10]
push edx
push 0x47d49c
push 0x80000001
call ebp
test eax, eax
jne 0x45426c
mov eax, dword [esp + 0x10]
push str.SimonTatham
push eax
call edi
mov ecx, dword [esp + 0x10]
push ecx
call ebx
pop edi
pop esi
mov ecx, dword [esp + 0x114]
pop ebp
pop ebx
xor ecx, esp
call fcn.00456f82
add esp, 0x110
ret
Function at 0x454f70
Capabilities:
Get common file path
Set current directory

Disassembly:
sub esp, 0x108
mov eax, dword [0x4832b0]
xor eax, esp
mov dword [esp + 0x104], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push ebp
mov ebp, dword [esp + 0x11c]
push esi
mov esi, dword [esp + 0x118]
push edi
mov edi, dword [esp + 0x120]
test ebp, ebp
je 0x454fc0
lea eax, [esp + 0x10]
push eax
push 0x104
call ebx
test eax, eax
je 0x454fbe
cmp eax, 0x104
jb 0x454fc0
xor ebp, ebp
mov dword [edi], 0x4c
test esi, esi
je 0x454fd3
cmp byte [esi], 0
je 0x454fd3
mov eax, esi
jmp 0x454fd5
xor eax, eax
cmp dword [esp + 0x128], 0
mov dword [edi + 0x2c], eax
push edi
je 0x454feb
call dword [sym.imp.COMDLG32.dll_GetSaveFileNameA]
jmp 0x454ff1
call dword [sym.imp.COMDLG32.dll_GetOpenFileNameA]
mov edi, eax
test esi, esi
je 0x45500d
push esi
push 0x104
call ebx
test eax, eax
je 0x45500a
cmp eax, 0x104
jb 0x45500d
mov byte [esi], 0
test ebp, ebp
je 0x45501c
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov ecx, dword [esp + 0x114]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00456f82
add esp, 0x108
ret

Function at 0x456f82
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4832b0]
jne 0x456f8c
repz ret
jmp fcn.0045c7bb
Function at 0x466a10
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0045d33b
and dword [ebp - 4], 0
cmp dword [0x487c88], 0
mov ebx, eax
jne 0x466ac1
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x466b72
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x480968
push edi
call esi
test eax, eax
je 0x466b72
push eax
call fcn.0045d2c9
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x487c88], eax
call esi
push eax
call fcn.0045d2c9
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x487c8c], eax
call esi
push eax
call fcn.0045d2c9
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x487c90], eax
call esi
push eax
call fcn.0045d2c9
pop ecx
mov dword [0x487c98], eax
test eax, eax
je 0x466ac1
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0045d2c9
pop ecx
mov dword [0x487c94], eax
mov eax, dword [0x487c94]
cmp eax, ebx
je 0x466b19
cmp dword [0x487c98], ebx
je 0x466b19
push eax
call fcn.0045d344
push dword [0x487c98]
mov esi, eax
call fcn.0045d344
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x466b19
test edi, edi
je 0x466b19
call esi
test eax, eax
je 0x466b10
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x466b10
test byte [ebp - 0xc], 1
jne 0x466b19
or dword [ebp + 0x10], 0x200000
jmp 0x466b52
mov eax, dword [0x487c8c]
cmp eax, ebx
je 0x466b52
push eax
call fcn.0045d344
pop ecx
test eax, eax
je 0x466b52
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x466b52
mov eax, dword [0x487c90]
cmp eax, ebx
je 0x466b52
push eax
call fcn.0045d344
pop ecx
test eax, eax
je 0x466b52
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x487c88]
call fcn.0045d344
pop ecx
test eax, eax
je 0x466b72
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x466b74
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret