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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4673bc]
cmp byte [eax + 0xc], 0
je 0x447091
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44708a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x468b70], 0
jne 0x446f78
push 0x447098
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x4470a0
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x468b70], eax
cmp dword [0x466bf0], 0
jne 0x447073
push 0x4470b0
call sub.kernel32.dll_LoadLibraryA
mov dword [0x466bf0], eax
cmp dword [0x466bf0], 0
je 0x447073
push 0x4470bc
mov eax, dword [0x466bf0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x468b74], eax
push 0x4470cc
mov eax, dword [0x466bf0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x468b78], eax
push 0x4470e0
mov eax, dword [0x466bf0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x468b7c], eax
push 0x4470f8
mov eax, dword [0x466bf0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x468b80], eax
push 0x447110
mov eax, dword [0x466bf0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x468b84], eax
push 0x447124
mov eax, dword [0x466bf0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x468b88], eax
push 0x44713c
mov eax, dword [0x466bf0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x468b8c], eax
push 0x447154
mov eax, dword [0x466bf0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x468b90], eax
push 0x447170
mov eax, dword [0x466bf0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x468b94], eax
push 0x44717c
mov eax, dword [0x466bf0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x468b98], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x447091
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x44af1c
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.00403edc
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44af6b
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.0040414c
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x452750
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4527a0]
test si, 4
je 0x452764
or bl, 1
test si, 8
je 0x45276e
or bl, 4
test si, 1
je 0x452778
or bl, 8
test si, 2
je 0x452782
or bl, 0x10
test si, 0x10
je 0x45278c
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45279b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4527a4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4527dc]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4527bd
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4527cc
or bl, 4
test esi, 0x20000000
je 0x4527d7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x458e84
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x458e96
add esp, 0xfffffff0
call fcn.004034b0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041cd64
mov eax, dword [0x467020]
mov dword [eax + 4], ebx
mov dword [eax], 0x459228
mov eax, dword [0x467030]
mov dword [eax + 4], ebx
mov dword [eax], 0x459234
mov eax, ebx
call fcn.00459240
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x415004]
call fcn.0040315c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x415004]
call fcn.0040315c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x415004]
call fcn.0040315c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x415004]
call fcn.0040315c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x415004]
call fcn.0040315c
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, 0x45565c
push eax
push 0
push 0
mov eax, dword [0x467190]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41e800]
call fcn.0041ff3c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41e800]
call fcn.0041ff3c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41e800]
call fcn.0041ff3c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00459660
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45953c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45953c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45953c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x458fd3
call fcn.00403508
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x459320
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 0x4594cb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4594ac
mov dl, 1
mov eax, dword [0x415420]
call fcn.0040315c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403edc
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45949b
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.00447284
test al, al
je 0x45948e
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, 0x4594dc
lea eax, [ebp - 0x254]
call fcn.00408e7c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45948e
xor eax, eax
push ebp
push 0x459487
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 0x459514
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x459470
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040414c
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 0x459470
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040414c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45948e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x459391
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00418f54
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 0x4594d2
lea eax, [ebp - 0x260]
call fcn.00403edc
ret

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

Disassembly:
push ecx
mov eax, dword [0x468bbc]
cmp byte [eax + 0xa5], 0
jne 0x459e71
cmp dword [0x468bd4], 0
jne 0x459e32
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x459dbc
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x468bd4], eax
cmp dword [0x468bd0], 0
jne 0x459e4d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x468bd0], eax
cmp dword [0x468bd8], 0
jne 0x459e71
push esp
push 0
push 0
push 0x459d60
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x468bd8], eax
pop edx
ret
Function at 0x459f68
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x459f7f
add esp, 0xfffffff0
call fcn.004034b0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041cd64
mov eax, dword [0x467174]
cmp word [eax + 2], 0
jne 0x459fa7
mov eax, dword [0x467174]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045b658
mov eax, dword [0x467240]
cmp word [eax + 2], 0
jne 0x459fc1
mov eax, dword [0x467240]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045b850
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x415004]
call fcn.0040315c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x415004]
call fcn.0040315c
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 [0x41f2a8]
call fcn.00426b7c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45a148
mov eax, dword [0x467088]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00426f4c
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45bdf0
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x467088]
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.0040c5cc
test eax, eax
je 0x45a0b6
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408870
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c5f4
test eax, eax
je 0x45a0ca
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.0040414c
mov eax, dword [0x466f40]
cmp byte [eax], 0
jne 0x45a0fe
mov eax, ebx
call fcn.0045a270
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.0045bfcc
mov eax, ebx
call fcn.0045c990
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45a13e
call fcn.00403508
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45a4f0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x468bbc]
cmp dword [eax + 0x30], 0
je 0x45a59a
cmp dword [ebx + 0x94], 0
jne 0x45a594
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45a480
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45a594
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 0x45a55a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45a594
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.0041736c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45a569
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45b0fc
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 0x45b131
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.00403fcc
jmp 0x45b13e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403f30
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45c1a8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45c1e9
mov eax, esi
call fcn.00442994
test al, al
je 0x45c1e9
mov eax, dword [ebx + 0x84]
call fcn.00442690
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45c1e9
push 0
mov eax, dword [ebx + 0x84]
call fcn.00442690
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x45cea8
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 [0x4145b4]
call fcn.00404848
xor eax, eax
push ebp
push 0x45cfec
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x466e24], 0
jne 0x45cefb
mov ecx, dword [0x466f54]
mov dl, 1
mov eax, dword [0x407100]
call fcn.0040b878
call fcn.00403918
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402ba0
mov eax, ebx
call fcn.00404718
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x45cffc
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.004057cc
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404728
test eax, eax
jle 0x45cf93
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 0x45cf8c
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404164
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.0040414c
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00407f0c
test eax, eax
jne 0x45cf8c
mov ebx, 0x15
jmp 0x45cf98
mov ebx, 0x10
jmp 0x45cf98
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 [0x466e24]
call fcn.0045ce00
mov eax, dword [ebp - 8]
call fcn.0045ce00
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.004057e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45cff3
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00403f00
lea eax, [ebp - 0x10]
mov edx, dword [0x4145b4]
call fcn.00404918
ret
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408ecc
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x2ed532e7
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x2e5d2f3d
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x402ed0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [0x40d029], eax
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push str.Marmimo
push str.Mimoclass
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x402f18
xor eax, eax
jmp 0x402f33
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x4054e3
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.004043d5
and dword [ebp - 4], 0
cmp dword [0x40ea48], 0
mov ebx, eax
jne 0x405594
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x405645
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x405645
push eax
call fcn.00404363
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40ea48], eax
call esi
push eax
call fcn.00404363
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40ea4c], eax
call esi
push eax
call fcn.00404363
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x40ea50], eax
call esi
push eax
call fcn.00404363
pop ecx
mov dword [0x40ea58], eax
test eax, eax
je 0x405594
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404363
pop ecx
mov dword [0x40ea54], eax
mov eax, dword [0x40ea54]
cmp eax, ebx
je 0x4055ec
cmp dword [0x40ea58], ebx
je 0x4055ec
push eax
call fcn.004043de
push dword [0x40ea58]
mov esi, eax
call fcn.004043de
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4055ec
test edi, edi
je 0x4055ec
call esi
test eax, eax
je 0x4055e3
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4055e3
test byte [ebp - 0xc], 1
jne 0x4055ec
or dword [ebp + 0x10], 0x200000
jmp 0x405625
mov eax, dword [0x40ea4c]
cmp eax, ebx
je 0x405625
push eax
call fcn.004043de
pop ecx
test eax, eax
je 0x405625
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x405625
mov eax, dword [0x40ea50]
cmp eax, ebx
je 0x405625
push eax
call fcn.004043de
pop ecx
test eax, eax
je 0x405625
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40ea48]
call fcn.004043de
pop ecx
test eax, eax
je 0x405645
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x405647
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40734e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40dac8]
jne 0x407358
repz ret
jmp fcn.00408a75
Function at 0x65a87350
Capabilities:
Query environment variable

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x10], 0x65a9c190
mov dword [esp + 0xc], str.assuan_init_pipe_server
mov edi, dword [esp + 0x44]
mov dword [esp + 0x14], ebx
mov dword [esp + 8], str._s___s_p_:_enter_n
mov dword [esp + 4], 2
mov dword [esp], ebx
call fcn.65a82cd0
test edi, edi
je 0x65a873c8
mov eax, dword [edi + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [edi]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 0x65a9c190
mov dword [esp + 0xc], str.assuan_init_pipe_server
mov dword [esp + 8], str._s___s_p_:_check:_fd_0_0x_x__fd_1_0x_x_n
mov dword [esp + 4], 2
mov dword [esp], ebx
call fcn.65a82cd0
mov dword [esp], ebx
call fcn.65a85de0
mov esi, eax
test eax, eax
je 0x65a87440
test ebx, ebx
je 0x65a87520
mov eax, dword [ebx]
mov dword [esp], eax
call sub.libgpg_error_0.dll_gpg_strsource
mov dword [esp], esi
mov edi, eax
call sub.libgpg_error_0.dll_gpg_strerror
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], 0x65a9c190
mov dword [esp + 0xc], str.assuan_init_pipe_server
mov dword [esp + 8], 0x65a9c1eb
mov dword [esp + 4], 2
mov dword [esp], ebx
call fcn.65a82cd0
mov edx, dword [ebx]
shl edx, 0x18
and edx, 0x7f000000
movzx esi, si
add esp, 0x2c
or esi, edx
pop ebx
mov eax, esi
pop esi
pop edi
pop ebp
ret
mov ebp, dword [edi]
mov edi, dword [edi + 4]
mov dword [ebx + 0x184], 1
mov dword [ebx + 0x164], 0x65a839d0
mov dword [ebx + 0x168], 0x65a8bbf0
mov dword [ebx + 0x16c], 0x65a8bc20
mov dword [ebx + 0x170], 0
mov dword [ebx + 0x174], 0
mov dword [ebx + 0xd94], 1
mov dword [esp], str._assuan_pipe_connect_pid
call sub.msvcrt.dll_getenv
test eax, eax
je 0x65a87518
mov dword [esp + 8], 0xa
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.msvcrt.dll_strtoul
test eax, eax
je 0x65a87518
mov dword [ebx + 0xd98], eax
mov dword [ebx + 0x1ac], ebp
mov dword [ebx + 0x998], edi
mov dword [ebx + 0xeb0], 0
mov dword [ebx + 0xeb4], 0x65a83920
mov dword [esp + 0x14], ebx
mov dword [esp], ebx
mov dword [esp + 0x10], 0x65a9c190
mov dword [esp + 0xc], str.assuan_init_pipe_server
mov dword [esp + 8], 0x65a9c220
mov dword [esp + 4], 2
call fcn.65a82cd0
add esp, 0x2c
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, 0xffffffff
jmp 0x65a874b7
mov dword [esp], eax
call sub.libgpg_error_0.dll_gpg_strerror
mov dword [esp + 0x1c], 0x65a9c233
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x65a9c190
mov dword [esp + 0xc], str.assuan_init_pipe_server
mov dword [esp + 8], 0x65a9c1eb
mov dword [esp + 4], 2
mov dword [esp], 0
call fcn.65a82cd0
mov edx, 0xf000000
jmp 0x65a87431

Function at 0x65a888f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
invalid

Function at 0x65a88900
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test dword [eax + 0x4fffff9], edx
add byte [eax], al
add byte [eax - 0x3c35b], al
inc dword [eax]
Function at 0x65a8a7f0
Capabilities:
Initialize winsock library

Disassembly:
push ebx
xor ebx, ebx
sub esp, 0x1a8
mov eax, dword [0x65aa3124]
test eax, eax
je 0x65a8a810
add esp, 0x1a8
mov eax, ebx
pop ebx
ret
mov dword [esp], 0x65aa30c0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
sub esp, 4
mov dword [esp], 0x65aa3124
call sym.libassuan_0.dll_assuan_new
mov ebx, eax
test eax, eax
jne 0x65a8a802
lea eax, [esp + 0x10]
mov dword [esp], 0x202
mov dword [esp + 4], eax
call dword [sym.imp.WS2_32.dll_WSAStartup]
sub esp, 8
jmp 0x65a8a802