joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ac30
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48082f
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a9d30]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 1
mov dword [ebp - 4], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 1
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 1
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 1
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 1
push 0x1000
lea ecx, [edi + 0x60]
mov byte [ebp - 4], 4
call fcn.00423690
push 1
push 0x4857e2
lea ecx, [edi + 0x60]
mov byte [ebp - 4], 5
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0xffffffff
call fcn.00423ff0
mov dword [edi + 0x80], 0
mov eax, edi
mov word [edi + 0x84], 0x100
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40de40
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x480a1b
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x4a9d30]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [edi + 4], 0
xorps xmm0, xmm0
mov dword [edi + 8], 0
or eax, 0xffffffff
mov dword [edi + 0xc], 0xffffffff
mov dword [edi + 0x10], 0xffffffff
movdqu xmmword [edi + 0x14], xmm0
movq qword [edi + 0x24], xmm0
mov dword [edi + 0x2c], 0
mov word [edi + 0x30], 0
mov byte [edi + 0x32], 0
mov word [edi + 0x33], ax
mov word [edi + 0x35], ax
mov eax, dword [ebp + 8]
mov dword [edi], eax
mov dword [edi + 0x37], 0
mov eax, dword [eax + 0x24]
mov eax, dword [eax]
mov esi, dword [eax + 0x32]
lea eax, [ebp - 0x64]
push eax
push str.QuickSearch
push esi
mov dword [ebp - 0x34], esi
call dword [sym.imp.USER32.dll_GetClassInfoA]
test eax, eax
jne 0x40df26
xorps xmm0, xmm0
push 0x7f00
movdqu xmmword [ebp - 0x64], xmm0
push eax
movdqu xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x64], 0xb
movq qword [ebp - 0x44], xmm0
mov dword [ebp - 0x60], 0x40e170
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x48], 6
mov dword [ebp - 0x40], str.QuickSearch
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.USER32.dll_RegisterClassA]
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x30]
push eax
mov eax, dword [edi]
push dword [eax + 0x20]
call esi
mov eax, dword [edi]
lea ecx, [ebp - 0x20]
push ecx
push dword [eax + 0x63]
call esi
mov eax, dword [edi]
push 0
push dword [ebp - 0x34]
mov eax, dword [eax + 0x24]
push 0
push dword [eax + 0x60]
push 0x64
push 0x64
push dword [ebp - 0x24]
push dword [ebp - 0x20]
push connect
push 0
push str.QuickSearch
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
push edi
push 0xffffffffffffffeb
push eax
mov dword [edi + 4], eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0x5a
call fcn.0045275b
add esp, 4
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x40df9d
mov ecx, eax
call fcn.0040a7d0
jmp 0x40df9f
xor eax, eax
push 0x65
push 1
push str.CODE
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 8], eax
call fcn.0040a810
mov ecx, dword [edi + 8]
push 0x64
push 1
push str.DISPLAY
call fcn.0040a810
mov ecx, dword [edi]
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 0
push eax
lea eax, [edi + 0x14]
mov dword [ebp - 0x3c], 0
push eax
lea eax, [ecx + 0xbe]
push eax
lea eax, [ecx + 0x9f]
push eax
call fcn.00408c70
mov eax, dword [ebp - 0x38]
add esp, 0x14
test eax, eax
je 0x40e021
cmp dword [ebp - 0x3c], 1
jle 0x40e018
movzx ecx, word [eax]
mov word [edi + 0x33], cx
movzx ecx, word [eax + 0x34]
mov word [edi + 0x35], cx
push eax
call fcn.00453bee
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00452f44
mov esp, ebp
pop ebp
ret 4
Function at 0x413300
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48109e
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4a9d30]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0
lea ecx, [edi + 4]
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
call fcn.00416d00
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
push 0
lea ecx, [edi + 0x24]
mov dword [ebp - 0x10], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
call fcn.00416d00
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
lea ecx, [edi + 0x40]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov edx, dword [ebp + 0x20]
mov dword [edi + 0x50], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x54], eax
mov eax, dword [ebp + 0x1c]
mov dword [edi + 0x5c], eax
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x58], esi
mov dword [edi + 0x60], edx
mov byte [edi + 0x64], 0
mov dword [edi + 0x68], eax
test byte [esi + 8], 8
mov byte [ebp - 4], 2
je 0x413414
test dl, 0x10
jne 0x413414
mov eax, 1
jmp 0x413416
xor eax, eax
mov byte [edi + 0x6c], al
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x70], eax
push dword [esi + 0x18]
call fcn.00419df0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x419560
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x419591
lea esp, [esp]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x419580
pop edi
mov eax, edx
pop esi
pop ebp
ret 8

Function at 0x41b400
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x481b23
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x4a9d30]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 0xc]
mov ecx, eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xb4], eax
call fcn.00424ab0
push esi
lea eax, [ebp - 0xb0]
mov ecx, ebx
push eax
call fcn.0041ae20
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], 0
call fcn.004249a0
push esi
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 1
call fcn.004255f0
lea eax, [ebx + 0x5e]
push eax
lea ecx, [ebp - 0x60]
call fcn.004255f0
lea eax, [ebp - 0xb0]
mov ecx, edi
push eax
call fcn.0041bc20
lea eax, [ebp - 0x60]
mov ecx, edi
push eax
call fcn.0041bc20
lea eax, [ebp - 0xb0]
push eax
call fcn.0041f460
add esp, 4
test eax, eax
je 0x41b4b9
push 0
push dword [ebp - 0x20]
push dword [ebp - 0x70]
call dword [sym.imp.KERNEL32.dll_CopyFileA]
jmp 0x41b4d8
mov ecx, dword [ebp - 0xb4]
push str.CopyFile_original_file_not_found:
call fcn.00425640
mov ecx, dword [ebp - 0xb4]
lea eax, [ebx + 0x11]
push eax
call fcn.004255f0
lea ecx, [ebp - 0x60]
mov byte [ebx + 8], 1
mov byte [ebp - 4], 0
call fcn.004249b0
lea ecx, [ebp - 0xb0]
mov dword [ebp - 4], 0xffffffff
call fcn.004249b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00452f44
mov esp, ebp
pop ebp
ret 0xc

Function at 0x41b5e0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x481b58
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x4a9d30]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
call fcn.00424ab0
push esi
lea eax, [ebp - 0x60]
mov ecx, ebx
push eax
call fcn.0041ae20
lea eax, [ebp - 0x60]
mov dword [ebp - 4], 0
push eax
mov ecx, edi
call fcn.0041bc20
lea eax, [ebp - 0x60]
push eax
call fcn.0041f460
add esp, 4
test eax, eax
je 0x41b652
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x60]
mov byte [ebx + 8], 1
mov dword [ebp - 4], 0xffffffff
call fcn.004249b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00452f44
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41b8f0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x481b23
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x4a9d30]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 0xc]
mov ecx, eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xb4], eax
call fcn.00424ab0
push esi
lea eax, [ebp - 0xb0]
mov ecx, ebx
push eax
call fcn.0041ae20
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], 0
call fcn.004249a0
push esi
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 1
call fcn.004255f0
lea eax, [ebx + 0x5e]
push eax
lea ecx, [ebp - 0x60]
call fcn.004255f0
lea eax, [ebp - 0xb0]
mov ecx, edi
push eax
call fcn.0041bc20
lea eax, [ebp - 0x60]
mov ecx, edi
push eax
call fcn.0041bc20
lea eax, [ebp - 0xb0]
push eax
call fcn.0041f460
add esp, 4
test eax, eax
je 0x41b9a9
push dword [ebp - 0x20]
push dword [ebp - 0x70]
call fcn.0045514a
add esp, 8
jmp 0x41b9c8
mov ecx, dword [ebp - 0xb4]
push str.RenameFile_original_file_not_found:
call fcn.00425640
mov ecx, dword [ebp - 0xb4]
lea eax, [ebx + 0x11]
push eax
call fcn.004255f0
lea ecx, [ebp - 0x60]
mov byte [ebx + 8], 1
mov byte [ebp - 4], 0
call fcn.004249b0
lea ecx, [ebp - 0xb0]
mov dword [ebp - 4], 0xffffffff
call fcn.004249b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00452f44
mov esp, ebp
pop ebp
ret 0xc

Function at 0x41c8e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x440
mov eax, dword [0x4a9d30]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x440]
push edi
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
push 0x44
push 0
push eax
movdqu xmmword [ebp - 0x3fc], xmm0
call fcn.00453c50
add esp, 0xc
mov dword [ebp - 0x440], 0x44
cmp dword [ebp + 0x10], 0
mov dword [ebp - 0x414], 0x40
jne 0x41c949
mov eax, 7
mov dword [ebp - 0x414], 0x41
mov word [ebp - 0x410], ax
push 0x1f4
lea eax, [ebp - 0x3ec]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
lea eax, [ebp - 0x3ec]
test esi, esi
je 0x41c97e
push esi
push eax
lea eax, [ebp - 0x1f8]
push str._s__s
push eax
call fcn.00453b2a
add esp, 0x10
jmp 0x41c993
push eax
lea eax, [ebp - 0x1f8]
push 0x4874dc
push eax
call fcn.00453b2a
add esp, 0xc
lea eax, [ebp - 0x3fc]
push eax
lea eax, [ebp - 0x440]
push eax
push 0
push 0
push 0x20
push 0
push 0
push 0
lea eax, [ebp - 0x1f8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x41c9f5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
lea eax, [ebp - 0x1f8]
push str.Unable_to_run__s._Error_Code_d
push eax
call fcn.00453b2a
add esp, 0x10
lea eax, [ebp - 0x1f8]
push 0x2010
push str.Execution_Error
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00452f44
mov esp, ebp
pop ebp
ret
Function at 0x41f4c0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push dword [ecx + 0x4d]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [ebp - 4]
xor edx, edx
shld edx, ecx, 4
shl ecx, 4
add eax, ecx
adc edx, 0
mov esp, ebp
pop ebp
ret

Function at 0x41f790
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
push dword [edi + 0x40]
push dword [ebx + 0x40]
call fcn.0045514a
add esp, 8
mov esi, eax
neg esi
sbb esi, esi
inc esi
je 0x41f7c4
mov ecx, dword [0x4acb88]
test ecx, ecx
je 0x41f7c4
push edi
push ebx
call fcn.004150d0
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret

Function at 0x41f8e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [0x4acb88], 0
push esi
mov esi, ecx
mov dword [ebp - 4], 0
je 0x41f95c
cmp byte [esi + 0x51], 0
jne 0x41f95c
push 1
xorps xmm0, xmm0
lea eax, [ebp - 0xc]
push eax
movlpd qword [ebp - 0x14], xmm0
push dword [ebp - 0x10]
movlpd qword [ebp - 0xc], xmm0
push dword [ebp - 0x14]
push dword [esi + 0x4d]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x4d]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41f971
push dword [ebp - 4]
mov ecx, dword [0x4acb88]
push dword [ebp + 8]
push dword [ebp - 8]
push dword [ebp - 0xc]
push esi
call fcn.00415290
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret 8
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x4d]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x423b90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48211e
mov eax, dword fs:[0]
push eax
sub esp, 0x204
mov eax, dword [0x4a9d30]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
mov edx, str.stdout
mov byte [ebp - 0x1f8], 0
mov eax, dword [esi + 0x40]
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x423bf2
test cl, cl
je 0x423bee
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x423bf2
add eax, 2
add edx, 2
test cl, cl
jne 0x423bd2
xor eax, eax
jmp 0x423bf7
sbb eax, eax
or eax, 1
test eax, eax
je 0x423db6
lea ecx, [ebp - 0x64]
call fcn.0041f2b0
push esi
lea ecx, [ebp - 0xb4]
mov dword [ebp - 4], 0
call fcn.004248b0
push 0
push 0x485a74
push 0x485a78
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 1
call fcn.00425090
lea eax, [ebp - 0x1f4]
xor edi, edi
push eax
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x423cef
mov ecx, dword [ebx + 8]
mov edi, 1
cmp dword [ebp - 0x1d4], ecx
jne 0x423ce8
push 0x1000
lea ecx, [ebp - 0x210]
call fcn.00423690
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x210]
call fcn.004238e0
test al, al
je 0x423cd9
lea eax, [ebp - 0x210]
mov ecx, ebx
push eax
call fcn.00423740
test al, al
je 0x423cd9
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x210]
call fcn.00423730
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 0
call fcn.004249b0
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0xffffffff
call fcn.0041f2d0
mov al, 1
jmp 0x423dde
lea ecx, [ebp - 0x210]
mov byte [ebp - 4], 1
call fcn.00423730
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp - 0x64]
call fcn.0041f410
test eax, eax
je 0x423d36
push dword [ebx + 8]
lea ecx, [ebp - 0x64]
push dword [ebx + 4]
call fcn.0041f8e0
mov edx, dword [ebp - 0x1f8]
mov ecx, 1
cmp eax, dword [ebx + 8]
movzx edx, dl
mov ebx, edx
mov dword [ebp - 0x1f8], edx
cmove ebx, ecx
lea ecx, [ebp - 0x64]
call fcn.0041f330
jmp 0x423d68
test edi, edi
je 0x423d62
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
push 0x1f4
call edi
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp - 0x64]
call fcn.0041f410
test eax, eax
jne 0x423d88
inc esi
cmp esi, 6
jl 0x423d42
mov ebx, dword [ebp - 0x1f8]
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 0
call fcn.004249b0
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0xffffffff
call fcn.0041f2d0
jmp 0x423ddc
push dword [ebx + 8]
lea ecx, [ebp - 0x64]
push dword [ebx + 4]
call fcn.0041f8e0
mov edx, dword [ebp - 0x1f8]
cmp eax, dword [ebx + 8]
movzx ecx, dl
mov edx, 1
cmove ecx, edx
mov bl, cl
lea ecx, [ebp - 0x64]
call fcn.0041f330
jmp 0x423d68
call fcn.004554b1
add eax, 0x20
push eax
push 1
push dword [ebx + 8]
push dword [ebx + 4]
call fcn.00455824
mov ebx, dword [ebp - 0x1f8]
dec eax
add esp, 0x10
neg eax
sbb al, al
and bl, al
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00452f44
mov esp, ebp
pop ebp
ret 4
Function at 0x425270
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4821a3
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x4a9d30]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
xor bl, bl
mov edx, str.stdout
mov eax, dword [esi + 0x40]
lea ecx, [ecx]
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x4252d0
test cl, cl
je 0x4252cc
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x4252d0
add eax, 2
add edx, 2
test cl, cl
jne 0x4252b0
xor eax, eax
jmp 0x4252d5
sbb eax, eax
or eax, 1
test eax, eax
je 0x425355
lea ecx, [ebp - 0x64]
call fcn.0041f2b0
push dword [esi + 0x40]
lea ecx, [ebp - 0xb4]
mov dword [ebp - 4], 0
call fcn.004248f0
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x64]
call fcn.0041f410
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 0
mov esi, eax
call fcn.004249b0
test esi, esi
je 0x425342
push dword [edi + 0x45]
lea ecx, [ebp - 0x64]
push dword [edi + 0x40]
call fcn.0041f8e0
cmp eax, dword [edi + 0x45]
mov ecx, 1
movzx ebx, bl
cmove ebx, ecx
lea ecx, [ebp - 0x64]
call fcn.0041f330
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0xffffffff
call fcn.0041f2d0
mov al, bl
jmp 0x42537d
call fcn.004554b1
add eax, 0x20
push eax
push 1
push dword [edi + 0x45]
push dword [edi + 0x40]
call fcn.00455824
mov edx, 1
movzx ecx, bl
add esp, 0x10
cmp eax, edx
cmove ecx, edx
mov al, cl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00452f44
mov esp, ebp
pop ebp
ret 4

Function at 0x4261a0
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
lea esi, [edi + 0xd]
mov eax, dword [edi + 4]
lea ebx, [edi + 8]
mov dword [esi], ebx
mov dword [edi + 0x11], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push esi
push 0
push dword [edi]
mov dword [edi + 0x15], eax
mov byte [ebx], 1
call fcn.00456cf3
add esp, 0xc
mov dword [edi + 9], eax
cmp eax, 0xffffffff
jne 0x4261dd
pop edi
pop esi
mov byte [ebx], 0
xor eax, eax
pop ebx
ret
pop edi
pop esi
mov eax, 1
pop ebx
ret
Function at 0x427d60
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x482543
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x4a9d30]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0xb0]
push str.http:__online.xebra.com_xebraonlinehelp_
call fcn.004248f0
cmp dword [esi + 0x45], 0
mov dword [ebp - 4], 0
je 0x427dd8
push str.index.html_
lea ecx, [ebp - 0xb0]
call fcn.00425640
push esi
lea ecx, [ebp - 0xb0]
call fcn.004255f0
push str..htm
lea ecx, [ebp - 0xb0]
call fcn.00425640
push 5
push 0
push 0
push dword [ebp - 0x70]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
jg 0x427e56
lea ecx, [ebp - 0x60]
call fcn.004249a0
push str.The_Xebra_system_online_help_at_
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 1
call fcn.00425640
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x60]
call fcn.004255f0
push str.could_not_be_loaded._r_n_r_n
lea ecx, [ebp - 0x60]
call fcn.00425640
push str.In_order_to_view_the_online_help_you_must_have_internet_access_and_a_default_browser.
lea ecx, [ebp - 0x60]
call fcn.00425640
push 0x2040
push str.Unable_to_open_default_browser
push dword [ebp - 0x20]
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0
call fcn.004249b0
lea ecx, [ebp - 0xb0]
mov dword [ebp - 4], 0xffffffff
call fcn.004249b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00452f44
mov esp, ebp
pop ebp
ret 4
Function at 0x42b8e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
cmp edi, 1
jne 0x42b902
push edi
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esi + 0x3c], edi
pop edi
pop esi
pop ebp
ret 4
push 0
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esi + 0x3c], edi
pop edi
pop esi
pop ebp
ret 4

Function at 0x42c070
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 1
jne 0x42c088
push 1
push dword [ecx + 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebp
ret 4
push 0
push dword [ecx + 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebp
ret 4

Function at 0x42daf0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
push 0
mov esi, ecx
push 0
push 0xe
push dword [esi + 0x155]
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x42db24
push dword [ebp + 8]
inc eax
push eax
push 0xd
push dword [esi + 0x155]
call dword [sym.imp.USER32.dll_SendMessageA]
pop esi
pop ebp
ret 4
mov eax, dword [ebp + 8]
pop esi
mov byte [eax], 0
pop ebp
ret 4
Function at 0x4386d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x90], 1
jne 0x438768
cmp dword [ebp + 8], 1
jne 0x438754
mov eax, dword [esi + 0xc]
test eax, eax
je 0x438731
mov ecx, dword [esi]
push eax
call fcn.00427b80
cmp eax, 0xffffffff
je 0x438731
push dword [esi + 0xc]
mov ecx, dword [esi]
call fcn.00427b80
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x28]
mov eax, dword [ecx + eax*4]
test eax, eax
je 0x438731
cmp dword [eax + 0xa8], 1
jne 0x438731
push 0
push 0xf120
push 0x112
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp + 0xc]
push dword [esi + 0x60]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0x60]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push dword [esi + 0x60]
call dword [sym.imp.USER32.dll_UpdateWindow]
pop esi
pop ebp
ret 8
push 0
push dword [esi + 0x60]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0x60]
call dword [sym.imp.USER32.dll_UpdateWindow]
pop esi
pop ebp
ret 8

Function at 0x438770
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
cmp dword [eax + 4], 0x100
mov edi, ecx
jne 0x4387ce
mov eax, dword [eax + 8]
xor esi, esi
mov dword [ebp + 8], eax
cmp dword [edi + 0x6c], esi
jle 0x4387ce
xor ebx, ebx
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, 0x10000
je 0x4387c5
mov ecx, dword [edi + 0x68]
movzx eax, word [ecx + ebx + 2]
cmp dword [ebp + 8], eax
jne 0x4387c5
movzx eax, word [ecx + ebx + 4]
push 0
push eax
push dword [edi + 0x64]
call dword [sym.imp.USER32.dll_GetMenuState]
test al, 3
je 0x4387d7
inc esi
add ebx, 6
cmp esi, dword [edi + 0x6c]
jl 0x438793
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 4
mov eax, dword [edi + 0x68]
lea ecx, [esi + esi*2]
push 0
movzx eax, word [eax + ecx*2 + 4]
push eax
push 0x111
push dword [edi + 0x60]
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 4
Function at 0x440500
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 1
jne 0x440518
push 1
push dword [ecx + 0x18]
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebp
ret 4
push 0
push dword [ecx + 0x18]
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebp
ret 4