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

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44efdc]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44efbd
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44efcc
or bl, 4
test esi, 0x20000000
je 0x44efd7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4556a0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4556b2
add esp, 0xfffffff0
call fcn.0040466c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041e9b4
mov eax, dword [0x4834c8]
mov dword [eax + 4], ebx
mov dword [eax], 0x455a44
mov eax, dword [0x4834d4]
mov dword [eax + 4], ebx
mov dword [eax], 0x455a50
mov eax, ebx
call fcn.00455a5c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x416c08]
call fcn.00404304
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x416c08]
call fcn.00404304
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x416c08]
call fcn.00404304
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x416c08]
call fcn.00404304
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x416c08]
call fcn.00404304
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, 0x451e74
push eax
push 0
push 0
mov eax, dword [0x483644]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x422dc4]
call fcn.004245fc
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x422dc4]
call fcn.004245fc
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x422dc4]
call fcn.004245fc
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00455eac
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x455d74
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x455d74
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x455d74
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4557ef
call fcn.004046c4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x455b58
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 0x455d03
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x455ce4
mov dl, 1
mov eax, dword [0x417024]
call fcn.00404304
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004050e0
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x455cd3
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.00443a18
test al, al
je 0x455cc6
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, 0x455d14
lea eax, [ebp - 0x254]
call fcn.0040a518
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x455cc6
xor eax, eax
push ebp
push 0x455cbf
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 0x455d4c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x455ca8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00405350
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 0x455ca8
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00405350
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x455cc6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x455bc9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041aba4
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 0x455d0a
lea eax, [ebp - 0x260]
call fcn.004050e0
ret

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

Disassembly:
push ecx
mov eax, dword [0x484d44]
cmp byte [eax + 0xa5], 0
jne 0x4566bd
cmp dword [0x484d5c], 0
jne 0x45667e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x456608
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x484d5c], eax
cmp dword [0x484d58], 0
jne 0x456699
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x484d58], eax
cmp dword [0x484d60], 0
jne 0x4566bd
push esp
push 0
push 0
push 0x4565ac
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x484d60], eax
pop edx
ret
Function at 0x456d50
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x484d44]
cmp dword [eax + 0x30], 0
je 0x456dfa
cmp dword [ebx + 0x94], 0
jne 0x456df4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x456ce0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x456df4
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 0x456dba
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x456df4
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.00418f70
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x456dc9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x457958
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 0x45798d
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.004051d0
jmp 0x45799a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00405134
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x458928
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x458969
mov eax, esi
call fcn.0043f0d8
test al, al
je 0x458969
mov eax, dword [ebx + 0x84]
call fcn.0043ee00
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x458969
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043ee00
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x4598ec
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00405590
xor eax, eax
push ebp
push 0x459a1a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x4599ed
xor eax, eax
push ebp
push 0x4599e6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004053a0
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4599bb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x4599aa
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004053a0
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.004055a0
mov edx, ebx
pop ecx
call fcn.00402e74
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4599b1
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x483450]
mov dl, 1
mov eax, dword [0x40868c]
call fcn.0040d04c
call fcn.00404ad4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x459a21
lea eax, [ebp - 4]
call fcn.004050e0
ret
Function at 0x459a28
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x459bd9
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00405790
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x459bf0
call fcn.004053ec
mov eax, ebx
call fcn.0041efd8
mov edi, eax
dec edi
test edi, edi
jl 0x459ae0
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0041efac
mov edx, dword [0x4312a8]
call fcn.004044cc
test al, al
je 0x459adc
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.0041efac
lea edx, [ebp - 0x14]
call fcn.004385ec
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00405790
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405460
inc esi
dec edi
jne 0x459a8e
mov al, byte [0x459bf4]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x459c00
mov eax, dword [ebp - 0xc]
call fcn.0040e4d8
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00405178
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.004385ec
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x459bf0
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f8]
call fcn.004385ec
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x459bf0
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x459bf0
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x459c0c
call fcn.0040a5b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x459be0
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00405104
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00405104
lea eax, [ebp - 0x14]
call fcn.004050e0
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00405104
ret
Function at 0x45a558
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
mov word [ebp - 4], cx
mov word [ebp - 2], dx
mov ebx, eax
cmp word [ebp - 4], 0x10
jne 0x45a599
movzx eax, word [ebp - 2]
shr eax, 1
mov word [ebp - 2], ax
movzx esi, word [ebp - 2]
dec esi
test esi, esi
jl 0x45a599
inc esi
xor eax, eax
mov edx, eax
add edx, edx
mov dl, byte [ebx + edx + 1]
xor dl, 0x80
mov byte [ebx + eax], dl
inc eax
dec esi
jne 0x45a587
movzx eax, word [ebp - 2]
cmp word [ebp - 2], 0x3e8
jb 0x45a6c6
xor edx, edx
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, 0xc8
mov dword [ebp - 0x14], 0x50
mov dword [ebp - 0x18], 0x32
cmp word [ebp + 8], 0x2b11
je 0x45a5e0
shl eax, 2
mov ecx, dword [ebp - 0x14]
shl ecx, 2
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x18]
shl ecx, 2
mov dword [ebp - 0x18], ecx
mov esi, dword [ebp - 0x14]
add esi, eax
add esi, dword [ebp - 0x18]
sub esi, eax
jl 0x45a5fc
inc esi
cmp dl, byte [ebx + eax]
jae 0x45a5f8
mov dl, byte [ebx + eax]
mov dword [ebp - 0x10], eax
inc eax
dec esi
jne 0x45a5ed
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
jmp 0x45a679
xor edx, edx
mov eax, dword [ebp - 0x14]
add dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov esi, dword [ebp - 8]
add esi, dword [ebp - 0x18]
sub esi, eax
jl 0x45a62f
inc esi
cmp dl, byte [ebx + eax]
jae 0x45a62b
mov dl, byte [ebx + eax]
mov dword [ebp - 0x10], eax
inc eax
dec esi
jne 0x45a620
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
xor edx, edx
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x14]
mov esi, eax
add esi, dword [ebp - 0x18]
sub esi, eax
jl 0x45a656
inc esi
cmp dl, byte [ebx + eax]
jae 0x45a652
mov dl, byte [ebx + eax]
mov dword [ebp - 0x10], eax
inc eax
dec esi
jne 0x45a647
mov esi, dword [ebp - 0x10]
sub esi, dword [ebp - 8]
inc esi
mov eax, dword [ebp - 0xc]
lea edx, [ebx + eax]
mov eax, dword [ebp - 8]
lea eax, [ebx + eax]
mov ecx, esi
call fcn.00402e74
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
add dword [ebp - 0xc], esi
movzx eax, word [ebp - 2]
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x18]
add edx, edx
sub eax, edx
cmp eax, dword [ebp - 8]
jg 0x45a60a
jmp 0x45a6a4
mov eax, dword [ebp - 8]
mov al, byte [ebx + eax]
mov edx, dword [ebp - 0xc]
mov byte [ebx + edx], al
inc dword [ebp - 0xc]
inc dword [ebp - 8]
mov eax, dword [ebp - 0xc]
movzx eax, byte [ebx + eax]
sub eax, 0x80
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x14
jle 0x45a6c3
movzx eax, word [ebp - 2]
cmp eax, dword [ebp - 8]
jg 0x45a692
mov eax, dword [ebp - 0xc]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x462a34
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.00405590
xor eax, eax
push ebp
push 0x462b5e
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov edx, dword [ebp - 4]
mov al, 0x5c
call fcn.004629d0
mov esi, eax
test esi, esi
jle 0x462b40
lea eax, [ebp - 0xc]
push eax
mov ecx, esi
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00405600
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 0xc]
call fcn.004055a0
push eax
push edi
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x462b40
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004053a0
mov ecx, eax
sub ecx, esi
lea edx, [esi + 1]
mov eax, dword [ebp - 4]
call fcn.00405600
lea eax, [ebp - 0x18]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 0xc]
call fcn.004055a0
mov edi, eax
push edi
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x462b37
mov eax, dword [ebp - 0x18]
call fcn.00402b08
mov esi, eax
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x10]
push eax
push 0
push edi
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x462b30
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x10]
jne 0x462b27
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
mov dword [eax], edx
mov bl, 1
jmp 0x462b37
mov eax, esi
call fcn.00402b38
jmp 0x462b37
mov eax, esi
call fcn.00402b38
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462b65
lea eax, [ebp - 0xc]
call fcn.004050e0
lea eax, [ebp - 4]
call fcn.004050e0
ret
Function at 0x463dfc
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 [0x4161a0]
call fcn.00405ab8
xor eax, eax
push ebp
push 0x463f40
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x482a9c], 0
jne 0x463e4f
mov ecx, dword [0x4833f0]
mov dl, 1
mov eax, dword [0x40868c]
call fcn.0040d04c
call fcn.00404ad4
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403690
mov eax, ebx
call fcn.00405984
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x463f50
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.00406ccc
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00405994
test eax, eax
jle 0x463ee7
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 0x463ee0
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00405368
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00405350
mov eax, dword [ebp - 0x48]
pop edx
call fcn.004094a8
test eax, eax
jne 0x463ee0
mov ebx, 0x15
jmp 0x463eec
mov ebx, 0x10
jmp 0x463eec
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 [0x482a9c]
call fcn.00463d54
mov eax, dword [ebp - 8]
call fcn.00463d54
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406ce4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463f47
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00405104
lea eax, [ebp - 0x10]
mov edx, dword [0x4161a0]
call fcn.00405b88
ret
Function at 0x46f4ec
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00405590
xor eax, eax
push ebp
push 0x46f78c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jge 0x46f54e
lea ecx, [ebp - 0x118]
mov edx, 0x46f7a4
mov eax, 0x46f7b8
call fcn.0046f958
mov eax, dword [ebp - 0x118]
lea edx, [ebp - 8]
call fcn.00403ab8
mov ebx, eax
cmp ebx, 1
jl 0x46f558
cmp ebx, 5
jle 0x46f55d
mov ebx, 3
mov eax, ebx
call fcn.0046f030
call fcn.00474d28
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x46f5d0
mov eax, dword [0x483518]
mov edx, 0x46f7cc
call fcn.004057bc
mov edx, dword [ebp - 8]
call fcn.00403d6c
call fcn.00403dd8
call fcn.00402c94
mov eax, dword [0x483518]
mov edx, 0x46f7ec
call fcn.004057bc
mov edx, dword [0x483778]
call fcn.00403d88
call fcn.00403dd8
call fcn.00402c94
call fcn.00474cc8
mov eax, dword [0x483680]
call fcn.004038b8
call fcn.00402c94
call fcn.0042225c
mov eax, 0x4d72f0
mov edx, dword [ebp - 4]
call fcn.00405134
cmp dword [0x4d72f0], 0
je 0x46f60c
mov eax, dword [0x4d72f0]
call fcn.004053a0
mov edx, dword [0x4d72f0]
cmp byte [edx + eax - 1], 0x5c
je 0x46f60c
mov eax, 0x4d72f0
mov edx, 0x46f80c
call fcn.004053a8
push 0x46f810
push 0xff
lea eax, [ebp - 0x114]
push eax
push 0x46f81c
push 0x46f834
push 0x46f840
call sub.kernel32.dll_GetPrivateProfileStringA
mov dword [ebp - 8], eax
lea edx, [ebp - 0x11c]
lea eax, [ebp - 0x114]
call fcn.0040a098
mov edx, dword [ebp - 0x11c]
mov eax, 0x4d72f4
call fcn.00405134
mov eax, dword [0x4d72f4]
call fcn.004053a0
mov edx, dword [0x4d72f4]
cmp byte [edx + eax - 1], 0x5c
je 0x46f67b
mov eax, 0x4d72f4
mov edx, 0x46f80c
call fcn.004053a8
mov eax, ebx
call fcn.0046f030
mov byte [0x4d72cc], 0
lea ecx, [ebp - 0x10]
mov edx, 0x46f854
mov eax, 0x46f7b8
call fcn.0046f958
cmp dword [ebp - 0x10], 0
je 0x46f75e
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
call fcn.00402f20
cmp al, 0x4e
je 0x46f75e
lea ecx, [ebp - 0x10]
mov edx, 0x46f864
mov eax, 0x46f870
call fcn.0046f958
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call fcn.00403ab8
mov edi, eax
lea ecx, [ebp - 0x10]
mov edx, 0x46f7a4
mov eax, 0x46f870
call fcn.0046f958
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call fcn.00403ab8
mov esi, eax
lea ecx, [ebp - 0x10]
mov edx, 0x46f884
mov eax, 0x46f870
call fcn.0046f958
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call fcn.00403ab8
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 0x10]
mov edx, 0x46f890
mov eax, 0x46f870
call fcn.0046f958
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call fcn.00403ab8
mov ebx, eax
cmp ebx, 4
je 0x46f740
cmp esi, 0xa
jle 0x46f740
xor esi, esi
push ebx
mov eax, dword [0x4d72c0]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, esi
mov eax, edi
call fcn.0046daf0
mov byte [0x4d72cc], al
mov dword [0x4d72bc], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46f793
lea eax, [ebp - 0x11c]
mov edx, 2
call fcn.00405104
lea eax, [ebp - 0x10]
call fcn.004050e0
lea eax, [ebp - 4]
call fcn.004050e0
ret
Function at 0x46f958
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe50
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x1b0], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405590
mov eax, dword [ebp - 8]
call fcn.00405590
xor eax, eax
push ebp
push 0x46fbb2
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x90
lea eax, [ebp - 0xa9]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
lea edx, [ebp - 0x10]
lea eax, [ebp - 0xa9]
call fcn.0040a098
mov eax, dword [ebp - 0x10]
call fcn.004053a0
mov edx, dword [ebp - 0x10]
cmp byte [edx + eax - 1], 0x5c
je 0x46f9db
lea eax, [ebp - 0x10]
mov edx, 0x46fbc8
call fcn.004053a8
lea eax, [ebp - 0x1b0]
mov ecx, 0x46fbd4
mov edx, dword [ebp - 0x10]
call fcn.004053ec
mov eax, dword [ebp - 0x1b0]
call fcn.00409b2c
test al, al
jne 0x46fa12
lea eax, [ebp - 0xc]
mov ecx, 0x46fbe8
mov edx, dword [0x4d72fc]
call fcn.004053ec
jmp 0x46fa1f
lea eax, [ebp - 0xc]
mov edx, 0x46fbd4
call fcn.00405178
cmp dword [ebp - 4], 0
jne 0x46fa32
lea eax, [ebp - 4]
mov edx, 0x46fbfc
call fcn.00405178
lea eax, [ebp - 0xc]
call fcn.004055f8
push eax
push 0xff
lea eax, [ebp - 0x1a9]
push eax
push 0x46fc04
lea eax, [ebp - 8]
call fcn.004055f8
push eax
lea eax, [ebp - 4]
call fcn.004055f8
push eax
call sub.kernel32.dll_GetPrivateProfileStringA
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x1a9]
call fcn.0040a098
cmp dword [ebp - 0x14], 0
je 0x46fb82
mov eax, dword [ebp - 0x14]
cmp byte [eax], 0x40
jne 0x46fafb
lea eax, [ebp - 0x14]
mov ecx, 1
mov edx, 1
call fcn.00405640
lea eax, [ebp - 0xc]
call fcn.004055f8
push eax
push 0xff
lea eax, [ebp - 0x1a9]
push eax
push 0x46fc04
push 0x46fc08
push 0x46fc14
call sub.kernel32.dll_GetPrivateProfileStringA
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x1a9]
call fcn.0040a098
cmp dword [ebp - 0x18], 0
je 0x46fada
mov eax, dword [ebp - 0x18]
cmp byte [eax], 0x40
jne 0x46fae8
lea eax, [ebp - 0x18]
mov edx, dword [0x4d72fc]
call fcn.00405178
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
call fcn.004053ec
jmp 0x46fa71
mov edx, dword [ebp - 0x14]
mov eax, 0x46fc24
call fcn.004056e4
mov esi, eax
test esi, esi
je 0x46fb82
lea eax, [ebp - 0x14]
mov ecx, 1
mov edx, esi
call fcn.00405640
lea eax, [ebp - 0xc]
call fcn.004055f8
push eax
push 0xff
lea eax, [ebp - 0x1a9]
push eax
push 0x46fc04
push 0x46fc08
push 0x46fc14
call sub.kernel32.dll_GetPrivateProfileStringA
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x1a9]
call fcn.0040a098
cmp dword [ebp - 0x18], 0
je 0x46fb62
mov eax, dword [ebp - 0x18]
cmp byte [eax], 0x40
jne 0x46fb70
lea eax, [ebp - 0x18]
mov edx, dword [0x4d72fc]
call fcn.00405178
lea edx, [ebp - 0x14]
mov ecx, esi
mov eax, dword [ebp - 0x18]
call fcn.00405688
jmp 0x46fa71
mov eax, ebx
mov edx, dword [ebp - 0x14]
call fcn.00405134
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46fbb9
lea eax, [ebp - 0x1b0]
call fcn.004050e0
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.00405104
ret