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

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.user32.dll_GetMessagePos
call fcn.0040698c
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.0043d530
test ebx, ebx
jne 0x4429cb
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.004428b4
mov ebx, eax
test ebx, ebx
je 0x442ab6
cmp esi, ebx
je 0x4429f4
mov eax, dword [esp]
sub eax, dword [ebx + 0x40]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x118], eax
jmp 0x442a09
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x442a41
add eax, 0xffffff5f
sub eax, 2
jb 0x442a59
dec eax
sub eax, 2
jb 0x442a6d
dec eax
sub eax, 2
jb 0x442a63
jmp 0x442a77
add eax, 0xfffffdff
sub eax, 2
jb 0x442a59
dec eax
sub eax, 2
jb 0x442a6d
dec eax
sub eax, 2
jb 0x442a63
jmp 0x442a77
mov byte [esp + 0x120], 0
jmp 0x442a7f
mov byte [esp + 0x120], 2
jmp 0x442a7f
mov byte [esp + 0x120], 1
jmp 0x442a7f
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.004514cc
mov byte [esp + 0x121], al
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.0043ece4
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x442ab8
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret
Function at 0x44ae30
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x46bcb4]
cmp byte [eax + 0xc], 0
je 0x44af9d
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44af96
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x470c54], 0
jne 0x44ae84
push 0x44afa4
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x44afac
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x470c54], eax
cmp dword [0x46b57c], 0
jne 0x44af7f
push 0x44afbc
call sub.kernel32.dll_LoadLibraryA
mov dword [0x46b57c], eax
cmp dword [0x46b57c], 0
je 0x44af7f
push 0x44afc8
mov eax, dword [0x46b57c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x470c58], eax
push 0x44afd8
mov eax, dword [0x46b57c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x470c5c], eax
push 0x44afec
mov eax, dword [0x46b57c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x470c60], eax
push 0x44b004
mov eax, dword [0x46b57c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x470c64], eax
push 0x44b01c
mov eax, dword [0x46b57c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x470c68], eax
push 0x44b030
mov eax, dword [0x46b57c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x470c6c], eax
push 0x44b048
mov eax, dword [0x46b57c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x470c70], eax
push 0x44b060
mov eax, dword [0x46b57c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x470c74], eax
push 0x44b07c
mov eax, dword [0x46b57c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x470c78], eax
push 0x44b088
mov eax, dword [0x46b57c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x470c7c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44af9d
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x451010
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp], cl
mov ebx, edx
mov esi, eax
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
mov edi, eax
test bl, bl
je 0x451031
test edi, 0x40000
je 0x45104b
test bl, bl
jne 0x4510cc
mov eax, edi
and eax, 0x40000
cmp eax, 0x40000
jne 0x4510cc
push esi
call sub.user32.dll_IsIconic
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 2], al
push esi
call sub.user32.dll_IsWindowVisible
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 1], al
movzx eax, byte [esp + 1]
or al, byte [esp + 2]
je 0x45107e
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x451093
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
jmp 0x4510a2
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x4510b3
cmp byte [esp + 2], 0
je 0x4510cc
cmp byte [esp + 2], 0
je 0x4510c4
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x4510cc
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x451370
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call sub.user32.dll_GetActiveWindow
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x451396
mov eax, esp
push eax
push 0x451338
call sub.user32.dll_EnumWindows
jmp 0x4513a9
mov eax, esp
push eax
push 0x451318
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
call sub.user32.dll_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x451434
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x451488]
test si, 4
je 0x451449
or bl, 1
test si, 8
je 0x451453
or bl, 4
test si, 1
je 0x45145d
or bl, 8
test si, 2
je 0x451467
or bl, 0x10
test si, 0x10
je 0x451471
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x451480
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45148c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x4514c8]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4514a6
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4514b5
or bl, 4
test esi, 0x20000000
je 0x4514c0
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x459540
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x459552
add esp, 0xfffffff0
call fcn.00403dc0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041dd00
mov eax, dword [0x46b950]
mov dword [eax + 4], ebx
mov dword [eax], 0x4598e4
mov eax, dword [0x46b95c]
mov dword [eax + 4], ebx
mov dword [eax], 0x4598f0
mov eax, ebx
call fcn.004598fc
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x415ab0]
call fcn.00403a6c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x415ab0]
call fcn.00403a6c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x415ab0]
call fcn.00403a6c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x415ab0]
call fcn.00403a6c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x415ab0]
call fcn.00403a6c
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, 0x454d98
push eax
push 0
push 0
mov eax, dword [0x46bab0]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x4218cc]
call fcn.004230e8
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x4218cc]
call fcn.004230e8
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4218cc]
call fcn.004230e8
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00459d2c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x459bfc
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x459bfc
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x459bfc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45968f
call fcn.00403e18
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4599e0
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 0x459b8b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x459b6c
mov dl, 1
mov eax, dword [0x415ed4]
call fcn.00403a6c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004048c8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x459b5b
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.0044b18c
test al, al
je 0x459b4e
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, 0x459b9c
lea eax, [ebp - 0x254]
call fcn.00409a10
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x459b4e
xor eax, eax
push ebp
push 0x459b47
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 0x459bd4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x459b30
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404b38
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 0x459b30
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404b38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x459b4e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x459a51
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.00419bac
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 0x459b92
lea eax, [ebp - 0x260]
call fcn.004048c8
ret

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

Disassembly:
push ecx
mov eax, dword [0x470c98]
cmp byte [eax + 0xad], 0
jne 0x45a575
cmp dword [0x470cb4], 0
jne 0x45a536
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45a4c0
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x470cb4], eax
cmp dword [0x470cb0], 0
jne 0x45a551
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x470cb0], eax
cmp dword [0x470cb8], 0
jne 0x45a575
push esp
push 0
push 0
push 0x45a464
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x470cb8], eax
pop edx
ret
Function at 0x45a748
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45a75f
add esp, 0xfffffff0
call fcn.00403dc0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041dd00
mov eax, dword [0x46ba9c]
cmp word [eax + 2], 0
jne 0x45a787
mov eax, dword [0x46ba9c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045c454
mov eax, dword [0x46bb48]
cmp word [eax + 2], 0
jne 0x45a7a1
mov eax, dword [0x46bb48]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045c660
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x415ab0]
call fcn.00403a6c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x415ab0]
call fcn.00403a6c
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x415ab0]
call fcn.00403a6c
mov dword [ebx + 0xb0], 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 + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x4223a4]
call fcn.00429f2c
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x45a958
mov eax, dword [0x46b9b8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042a300
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45cd24
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x46b9b8]
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.0040d258
test eax, eax
je 0x45a8a8
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004093c8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d28c
test eax, eax
je 0x45a8bc
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404b38
mov byte [ebx + 0xd4], 0
push ebx
push 0x45beac
call fcn.0041ee7c
mov dword [ebx + 0xc8], eax
mov eax, dword [0x46b898]
cmp byte [eax], 0
jne 0x45a90d
mov eax, ebx
call fcn.0045aa9c
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.0045cf38
mov eax, ebx
call fcn.0045da9c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45a94d
call fcn.00403e18
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45ad1c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x45adbb
cmp dword [ebx + 0x94], 0
jne 0x45adb5
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45aca4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45adb5
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 0x45ad7b
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45adb5
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.00417e54
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45ad8a
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45afd4
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x470c98]
cmp dword [eax + 0x30], 0
je 0x45b131
test bl, bl
jne 0x45b082
cmp dword [esi + 0x9c], 0
jne 0x45b077
mov eax, esi
call fcn.0045d918
push eax
push 0x45af00
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x45b048
mov eax, dword [0x470c98]
call fcn.0045dff8
test al, al
je 0x45b048
mov eax, dword [0x470cbc]
call fcn.00405a0c
mov edi, eax
cmp edi, 0
jl 0x45b048
push 0
mov eax, dword [0x470cbc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x45b032
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x45b077
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00417e54
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x45b057
inc dword [esi + 0x9c]
jmp 0x45b131
cmp dword [esi + 0x9c], 0
jle 0x45b131
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x45b131
cmp dword [esi + 0x44], 0
je 0x45b0dd
mov eax, dword [0x470c98]
call fcn.0045dff8
test al, al
je 0x45b0dd
mov eax, dword [0x470cbc]
call fcn.00405a0c
mov edi, eax
cmp edi, 0
jl 0x45b0dd
push 5
mov eax, dword [0x470cbc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x45b0c7
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x45b10c
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00417e54
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x45b0ec
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x470cbc
mov ecx, 1
mov edx, dword [0x45aee0]
call fcn.00405bc0
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x45bc00
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x45bc6a
mov eax, ebx
call fcn.0045dff8
test al, al
jne 0x45bc6a
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.004049b8
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x45bc57
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x45bc77
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040491c
jmp 0x45bc77
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040491c
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x45d11c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45d18a
mov eax, esi
call fcn.00445e50
test al, al
je 0x45d18a
mov eax, dword [ebx + 0x84]
call fcn.00445ab0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45d18a
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x45d17e
push 0
mov eax, dword [ebx + 0x84]
call fcn.00445ab0
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0043d920
jmp 0x45d18a
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0045cf58
pop esi
pop ebx
ret
Function at 0x45e6d4
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x4075bc]
call fcn.0040530c
xor eax, eax
push ebp
push 0x45e875
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x46b740], 0
jne 0x45e72f
mov ecx, dword [0x46b8a8]
mov dl, 1
mov eax, dword [0x407b88]
call fcn.0040c4bc
call fcn.00404310
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.004033d0
mov eax, ebx
call fcn.004051dc
mov dword [ebp - 0x24], eax
mov esi, 0x45e884
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x38]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.004062a4
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.004051ec
test eax, eax
jle 0x45e818
mov dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x45e804
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00404b38
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x45e7aa
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.00404b50
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x45e7c0
sub esi, 4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
mov edx, ebx
call fcn.00404b50
mov eax, dword [ebp - 0x54]
call fcn.00404d58
push eax
push edi
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00404b38
mov eax, dword [ebp - 0x58]
call fcn.00404d58
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringA_1
sub eax, 2
test eax, eax
sete al
jmp 0x45e806
xor eax, eax
test al, al
je 0x45e811
mov ebx, 0x15
jmp 0x45e81d
mov ebx, 0x10
jmp 0x45e81d
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
push ebx
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [0x46b740]
call fcn.0045e554
mov eax, dword [ebp - 4]
call fcn.0045e554
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.004062bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e87c
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.004048ec
lea eax, [ebp - 0xc]
mov edx, dword [0x4075bc]
call fcn.004053dc
ret
Function at 0x40ad10
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46a3ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x48a6b0]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x40ae48
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40ad76
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045f0d4
xor eax, eax
jmp 0x40aebf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0045f211
push esi
lea ecx, [esp + 0xc]
call fcn.0045f4a0
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x483da4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40ae9d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push 0x80000000
call fcn.0040aca0
test eax, eax
jne 0x40ae9d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push 0x80000000
mov ecx, edi
call fcn.0040aca0
test eax, eax
jne 0x40ae9d
lea eax, [esp + 0x14]
push str.__1_
push eax
call fcn.004509d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40ae7c
lea ecx, [esp + 0x14]
push 0x483d7c
push ecx
call fcn.00450950
mov esi, eax
add esp, 8
test esi, esi
jne 0x40ae7c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40ae7f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0045f1c1
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40ad8e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045f0d4
xor eax, eax
jmp 0x40aebf
mov byte [esi], 0
push 0x483d78
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0045f0d4
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4