joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401470
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x86d520]
mov ecx, dword [0x86c474]
shr eax, 3
sub esp, 8
test eax, eax
jbe 0x4014fa
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SuspendThread]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_EnumResourceLanguagesW]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
cmp dword [0x86d520], 0x959
jne 0x4014e4
push str.magubidowofanelocidegezifi_wuf_kogizanubobowufefore_taroyopopusenexokuraxupamocor
push 0
push 0
call esi
push 0
push 0
push str.cimiyuvipu
push str.kofegezadojupirucosopigerasicoc
push 0
call edi
push 0
call ebx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov eax, dword [ebp - 4]
push eax
call fcn.00401270
add dword [ebp - 4], 8
sub dword [ebp - 8], 1
jne 0x4014a3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4017a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x824
cmp dword [0x86d520], 0x400
push esi
push edi
jne 0x4017f3
push 0
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll__lopen]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryA]
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_BackupEventLogA]
lea esi, [ebp - 0x24]
call fcn.004018f0
mov ecx, esi
call fcn.00401910
mov edi, dword [ebp - 4]
push ebx
mov ebx, dword [sym.imp.USER32.dll_CharLowerBuffA]
xor esi, esi
nop
cmp esi, 0xa50
jge 0x401813
push 0
lea ecx, [ebp - 0x424]
push ecx
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0x2af68b
jle 0x401829
cmp edi, 0x78d9a205
jne 0x401832
inc esi
cmp esi, 0x1c5d
jl 0x401800
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_DebugActiveProcess]
xor esi, esi
push 0
call edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
call ebx
cmp esi, 0x206d47
jg 0x40185f
inc esi
cmp esi, 0x4f6a4
jl 0x401840
mov ebx, dword [ebp - 4]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
xor esi, esi
lea ebx, [ebx]
push 0
call edi
cmp esi, 0x2b259d
jle 0x401884
cmp ebx, 0x785074d5
jne 0x40188d
inc esi
cmp esi, 0x11915
jl 0x401870
mov edx, dword [0x44e39c]
mov dword [0x86d520], edx
call fcn.00401530
mov esi, dword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
mov edi, 0x3078f
pop ebx
lea ebx, [ebx]
cmp dword [0x86d520], 0x51f
jne 0x4018cc
push 0
lea eax, [ebp - 0x824]
push eax
push 0x44ae18
call esi
sub edi, 1
jne 0x4018b0
mov eax, dword [0x86c474]
mov dword [0x86cab4], eax
call eax
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4042bb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44d7a8]
jne 0x4042c5
repz ret
jmp fcn.00408dbc
Function at 0x40b14a
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.00404f66
and dword [ebp - 4], 0
cmp dword [0x44f22c], 0
mov ebx, eax
jne 0x40b1fb
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40b2ac
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40b2ac
push eax
call fcn.00404ef4
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x44f22c], eax
call esi
push eax
call fcn.00404ef4
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x44f230], eax
call esi
push eax
call fcn.00404ef4
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x44f234], eax
call esi
push eax
call fcn.00404ef4
pop ecx
mov dword [0x44f23c], eax
test eax, eax
je 0x40b1fb
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404ef4
pop ecx
mov dword [0x44f238], eax
mov eax, dword [0x44f238]
cmp eax, ebx
je 0x40b253
cmp dword [0x44f23c], ebx
je 0x40b253
push eax
call fcn.00404f6f
push dword [0x44f23c]
mov esi, eax
call fcn.00404f6f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40b253
test edi, edi
je 0x40b253
call esi
test eax, eax
je 0x40b24a
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40b24a
test byte [ebp - 0xc], 1
jne 0x40b253
or dword [ebp + 0x10], 0x200000
jmp 0x40b28c
mov eax, dword [0x44f230]
cmp eax, ebx
je 0x40b28c
push eax
call fcn.00404f6f
pop ecx
test eax, eax
je 0x40b28c
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40b28c
mov eax, dword [0x44f234]
cmp eax, ebx
je 0x40b28c
push eax
call fcn.00404f6f
pop ecx
test eax, eax
je 0x40b28c
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44f22c]
call fcn.00404f6f
pop ecx
test eax, eax
je 0x40b2ac
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40b2ae
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401040
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x407018]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push esi
push edi
lea ecx, [ebp - 0x3c]
push ecx
push ebx
mov dword [ebp - 0x40], eax
call dword [sym.imp.MSVCR100.dll__stat64i32]
add esp, 8
cmp eax, 0xffffffff
jne 0x4010c2
mov eax, dword [0x407580]
test eax, eax
je 0x40108c
mov edx, dword [0x407584]
push 0x1869f
push edx
push 0x2397
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov edx, 0x405210
call fcn.00403360
push ebx
push str._nERROR:_Failed_to_stat_file__s:
call dword [sym.imp.MSVCR100.dll___iob_func]
add eax, 0x40
push eax
call dword [sym.imp.MSVCR100.dll_fprintf]
add esp, 0xc
push 0
call dword [sym.imp.MSVCR100.dll_perror]
add esp, 4
push 0xffffffffffffffff
call dword [sym.imp.MSVCR100.dll_exit]
mov eax, dword [ebp - 0x28]
cdq
mov edi, edx
mov esi, eax
push edi
push esi
push str.content_length_1___d_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 0xc
push 0x405274
push ebx
call dword [sym.imp.MSVCR100.dll_fopen]
mov ecx, dword [ebp - 0x40]
add esp, 8
mov dword [ecx], eax
test eax, eax
jne 0x401128
mov edx, str.Failed_to_open_file
call fcn.00403360
mov eax, dword [0x407580]
test eax, eax
je 0x40111d
mov ecx, dword [0x407584]
push 0x1869e
push ecx
push 0x2397
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push ebx
push str._nERROR:_Failed_to_open_input_file__s:
jmp 0x40109c
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], edi
mov ecx, dword [ebp - 8]
mov dword [0x407594], edi
mov edx, edi
pop edi
mov dword [0x407590], esi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00403d9c
mov esp, ebp
pop ebp
ret
Function at 0x403d9c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x407018]
jne 0x403da6
repz ret
jmp fcn.004041a2
Function at 0x401000
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 3
and esp, 0xfffffff8
add esp, 4
push esi
push esi
mov esi, dword [ebp + 0x14]
push 3
call fcn.0046cecc
pop ecx
push dword [0x10864f8]
call dword [sym.imp.USER32.dll_CharUpperA]
push dword [0x10864f4]
mov dword [0x10864f8], eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
xor dword [0x10864b8], eax
jmp fcn.0127fec0

Function at 0x40efb0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test byte [eax], ah
add dword [eax], eax
add byte [ebx + 0x51], dl
push ecx
push ebx
mov dword [esp + 0x120], 0x53515153
mov dword [esp + 0x120], 0x53515153
mov dword [esp + 0x120], 0x53515153
mov dword [esp + 0x120], 0x53515153
mov dword [esp + 0x120], 0x53515153
mov dword [esp + 0x120], 0x53515153
mov dword [esp + 0x120], 0x53515153
mov dword [esp + 0x120], 0x53515153
mov dword [esp + 0x120], 0x53515153
mov dword [esp + 0x120], 0x53515153
mov dword [esp + 0x120], 0x53515153
mov dword [esp + 0x120], 0x53515153
mov dword [esp + 0x120], 0x53515153
mov dword [esp + 0x120], 0x53515153
mov dword [esp + 0x120], 0x53515153
mov dword [esp + 0x120], 0x53515153
mov dword [esp + 0x120], 0x53515153

Function at 0x40f075
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov dword [esp + 0x120], 0x53515153
mov dword [esp + 0x120], 0x53515153
mov dword [esp + 0x120], 0x53515153
mov dword [esp + 0x120], 0x53515153
mov dword [esp + 0x120], 0x53515153
mov dword [esp + 0x120], 0x53515153
mov dword [esp + 0x120], 0x53515153
mov dword [esp + 0x120], 0x53515153
mov dword [esp + 0x120], 0x53515153
mov dword [esp + 0x120], 0x53515153
mov dword [esp + 0x120], 0x53515153
mov dword [esp + 0x120], 0x53515153
mov dword [esp + 0x120], 0x53515153
mov dword [esp + 0x120], 0x53515153
mov dword [esp + 0x120], 0x53515153
mov dword [esp + 0x120], 0x53515153
ret

Function at 0x41bdbb
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov dword [esp + 0x120], 0x53525253
mov dword [esp + 0x120], 0x53525253
mov dword [esp + 0x120], 0x53525253
mov dword [esp + 0x120], 0x53525253
mov dword [esp + 0x120], 0x53525253
mov dword [esp + 0x120], 0x53525253
mov dword [esp + 0x120], 0x53525253
mov dword [esp + 0x120], 0x53525253
mov dword [esp + 0x120], 0x53525253
mov dword [esp + 0x120], 0x53525253
mov dword [esp + 0x120], 0x53525253
mov dword [esp + 0x120], 0x53525253
mov dword [esp + 0x120], 0x53525253
mov dword [esp + 0x120], 0x53525253
mov dword [esp + 0x120], 0x53525253
mov dword [esp + 0x120], 0x53525253
mov dword [esp + 0x120], 0x53525253
invalid
test byte [eax], ah
add dword [eax], eax
add byte [ebx + 0x52], dl
push edx
Function at 0x4268ac
Capabilities:
Encode data using xor

Disassembly:
aam 0x78
fisttp word [eax + 0x66]
jl 0x4268c3
div ah
pop ecx
hlt
sub cl, byte [eax + 0x600cf9c6]
jge 0x426855
and al, 0xec
sti
mov esp, ds
add esi, dword [eax + esi*2 + 0x38]
jo 0x4268f5
sal ch, 1
cmp al, 0xab
and ebp, eax
mov dl, 0xf5
or eax, 0x64f75e84
in al, 0xf8
call 0x84505e7a
pop esi
mul dword [esp - 8]
bsf edx, dword [eax + 0x37]
jno 0x426912
inc ebp
and byte [edi], bh
int1
push 0xffffffffffffff93
fldenv [ebp - 0x44185dd2]
xor ah, bh
inc ecx
lds ebx, [ebx - 0x27fc8a92]
adc al, 0xa8
xchg byte [eax + 0x62], dl
sbb byte [esp + edi*2 - 0xa], ah
int1
rcl byte [ecx - 0x40], 0x30
inc eax
fmul st(5)
xor al, al
in eax, dx
lodsb al, byte [esi]
pushf
in eax, dx
cmc
fisttp word [esi + ebp*8]
mov edx, 0xf8e15dd4
loopne 0x4268a5
mov ebp, 0x472382e3
xor ebp, esi
cdq
and al, 0x38
movsd dword es:[edi], dword [esi]
call 0xba2744fd
loope 0x42695b
mov ds, eax
invalid
cvttps2pi mm4, qword [esi]
inc esp
or al, 0x34
aam 0x3d
out dx, eax
retf

Function at 0x428bc6
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebx
mov dword [esp + 0x120], 0x53535353
mov dword [esp + 0x120], 0x53535353
mov dword [esp + 0x120], 0x53535353
mov dword [esp + 0x120], 0x53535353
mov dword [esp + 0x120], 0x53535353
mov dword [esp + 0x120], 0x53535353
mov dword [esp + 0x120], 0x53535353
mov dword [esp + 0x120], 0x53535353
mov dword [esp + 0x120], 0x53535353
mov dword [esp + 0x120], 0x53535353
mov dword [esp + 0x120], 0x53535353
mov dword [esp + 0x120], 0x53535353
mov dword [esp + 0x120], 0x53535353
mov dword [esp + 0x120], 0x53535353
mov dword [esp + 0x120], 0x53535353
mov dword [esp + 0x120], 0x53535353
mov dword [esp + 0x120], 0x53535353
invalid
test byte [eax], ah
add dword [eax], eax
add byte [ebx + 0x53], dl

Function at 0x43fc2d
Capabilities:
Encode data using xor

Disassembly:
fxch st(7)
cmp edx, dword [ebx + edx*2 - 0x2c]
sbb dword [ebp - 0x44], ebx
xlatb
insb byte es:[edi], dx
or dword [ebx], esi
mov byte [0x303c2701], al
stc
fst qword [ecx + ebp*4 + 0x69]
pushfd
jl 0x43fc27
adc edi, edi
push edi
fldenv [edx]
or eax, 0xee893ac3
rcr byte [edi], 1
invalid

Function at 0x4404c2
Capabilities:
Encode data using xor

Disassembly:
xchg edi, eax
xchg esi, eax
aad 0x92
mov bl, 0x12
inc esp
pop ebx
mov esi, 0x53d47595
inc ecx
fdiv qword [edx - 0x11aa8c98]
jae 0x440528
out dx, al
mov dl, 0x56
mov edi, 0x6964275
jno 0x440510
pop ds
not dword [esi]
sub ah, byte [edi + 0x18ba480a]
rcl byte [ecx], 0x90
imul ecx, ebx, 0xb7991aee
mov cl, 0x74
sahf
jg 0x44047a
invalid
sub al, 0xe8
push 0x9c206dff
clc
jp 0x4404c4
fdivr st(1)
push ds
mov dword cs:[esi + ebx*4 - 0x48], 0x61e1ede4
sahf
dec ebx
mov byte [0xd37aaede], al
sbb dword [eax + 0x39c946c1], ebx
and dword [edx], ebp
pop edi
jle 0x440563
lea esi, [eax - 0x17]
mov bh, 0x36
pop edi
xor eax, 0xaa8865f2
and bh, byte [edi + 0x6e6945f9]
fcom dword [edx]
mov eax, 0xc9a2b626
call 0x2cf0f531
xchg esi, eax
cmp dword [ecx + 0x7c], eax
xchg edi, eax
cld
lahf
scasb al, byte es:[edi]
and esi, edx
fldcw word [0x24ff6ef1]
push cs
jmp 0x44056c
outsb dx, byte [esi]
jmp dword [esi + ecx]
Function at 0x440902
Capabilities:
Encode data using xor

Disassembly:
xchg ebp, eax
cmp cl, byte [eax - 0x36]
inc ebp
pop ebp
push ebp
mov bh, byte [esi + 0x4c]
aas
push 0xffffffffffffffdb
imul ebx, dword [ebp - 0x45], 0xffffffbe
push 0x2c5b1dc6
arpl word [esi], si
jb 0x44089b
xor al, 0xa8
mov ebx, 0x2f1c96b0
mov dl, byte [ebx + ebx*8]
retf 0xd26e

Function at 0x442f67
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebx
push esi
push esi
push ebx
mov dword [esp + 0x120], 0x53565653
mov dword [esp + 0x120], 0x53565653
mov dword [esp + 0x120], 0x53565653
mov dword [esp + 0x120], 0x53565653
mov dword [esp + 0x120], 0x53565653
mov dword [esp + 0x120], 0x53565653
mov dword [esp + 0x120], 0x53565653
mov dword [esp + 0x120], 0x53565653
mov dword [esp + 0x120], 0x53565653
mov dword [esp + 0x120], 0x53565653
mov dword [esp + 0x120], 0x53565653
mov dword [esp + 0x120], 0x53565653
mov dword [esp + 0x120], 0x53565653
mov dword [esp + 0x120], 0x53565653
mov dword [esp + 0x120], 0x53565653
mov dword [esp + 0x120], 0x53565653
mov dword [esp + 0x120], 0x53565653
invalid
test byte [eax], ah
add dword [eax], eax

Function at 0x44fd72
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [ebx + 0x57], dl
push edi
push ebx
mov dword [esp + 0x120], 0x53575753
mov dword [esp + 0x120], 0x53575753
mov dword [esp + 0x120], 0x53575753
mov dword [esp + 0x120], 0x53575753
mov dword [esp + 0x120], 0x53575753
mov dword [esp + 0x120], 0x53575753
mov dword [esp + 0x120], 0x53575753
mov dword [esp + 0x120], 0x53575753
mov dword [esp + 0x120], 0x53575753
mov dword [esp + 0x120], 0x53575753
mov dword [esp + 0x120], 0x53575753
mov dword [esp + 0x120], 0x53575753
mov dword [esp + 0x120], 0x53575753
mov dword [esp + 0x120], 0x53575753
mov dword [esp + 0x120], 0x53575753
mov dword [esp + 0x120], 0x53575753
mov dword [esp + 0x120], 0x53575753
mov dword [esp + 0x120], 0x53575753
mov dword [esp + 0x120], 0x53575753
mov dword [esp + 0x120], 0x53575753
mov dword [esp + 0x120], 0x53575753
mov dword [esp + 0x120], 0x53575753
mov dword [esp + 0x120], 0x53575753
mov dword [esp + 0x120], 0x53575753
mov dword [esp + 0x120], 0x53575753
mov dword [esp + 0x120], 0x53575753
mov dword [esp + 0x120], 0x53575753
mov dword [esp + 0x120], 0x53575753
mov dword [esp + 0x120], 0x53575753
mov dword [esp + 0x120], 0x53575753
mov dword [esp + 0x120], 0x53575753
test byte [eax], ah
add dword [eax], eax
add byte [ebx + 0x57], dl
push edi
push ebx
Function at 0x45cfdc
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
push ebp
push ebx
mov dword [esp + 0x120], 0x53555553
mov dword [esp + 0x120], 0x53555553
mov dword [esp + 0x120], 0x53555553
mov dword [esp + 0x120], 0x53555553
mov dword [esp + 0x120], 0x53555553
mov dword [esp + 0x120], 0x53555553
mov dword [esp + 0x120], 0x53555553
mov dword [esp + 0x120], 0x53555553
mov dword [esp + 0x120], 0x53555553
mov dword [esp + 0x120], 0x53555553
mov dword [esp + 0x120], 0x53555553
mov dword [esp + 0x120], 0x53555553
mov dword [esp + 0x120], 0x53555553
mov dword [esp + 0x120], 0x53555553
mov dword [esp + 0x120], 0x53555553
mov dword [esp + 0x120], 0x53555553
mov dword [esp + 0x120], 0x53555553
invalid
test byte [eax], ah
invalid

Function at 0x46b1e3
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x474108
cmp edx, dword [eax]
je 0x46b205
add eax, 8
inc ecx
cmp eax, 0x474198
jl 0x46b1f6
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x474108]
jne 0x46b333
mov eax, dword [0x1086568]
cmp eax, 1
je 0x46b30d
test eax, eax
jne 0x46b236
cmp dword [0x47406c], 1
je 0x46b30d
cmp edx, 0xfc
je 0x46b333
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x46b26d
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0046b790
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0046b900
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x46b2b0
lea eax, [ebp - 0x1a4]
push eax
call fcn.0046b900
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x46fcc8
push edi
call fcn.0046c590
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0046b790
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0046b7a0
lea eax, [ebp - 0xa0]
push 0x46fca8
push eax
call fcn.0046b7a0
push dword [esi + 0x47410c]
lea eax, [ebp - 0xa0]
push eax
call fcn.0046b7a0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0046c4fe
add esp, 0x2c
pop edi
jmp 0x46b333
lea eax, [ebp + 8]
lea esi, [esi + 0x47410c]
push 0
push eax
push dword [esi]
call fcn.0046b900
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x40153b
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push esp
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
test byte [esp + 0x2c], 1
je 0x401554
movzx esi, word [esp + 0x30]
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [0x4044e0], eax
mov dword [ebp - 0x4c], 0x30
call fcn.0040152b
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x44], 0x40120e
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x24], str.Trick
mov dword [ebp - 0x20], eax
call fcn.0040151e
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
test eax, eax
je 0x401626
mov eax, 0x80000000
push edi
push dword [ebp - 0x38]
push edi
push edi
push eax
push eax
push eax
push eax
push 0x80
push str.Qindom
push str.Trick
push edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0
push eax
mov dword [0x4044e8], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x4044e8]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push edi
push edi
push edi
lea edx, [ebp - 0x1c]
push edx
call esi
test eax, eax
je 0x401626
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
push ebx
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
lea eax, [ebp - 0x1c]
push eax
call edi
lea ecx, [ebp - 0x1c]
push ecx
call ebx
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call esi
test eax, eax
jne 0x40160a
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x48a3b2
Capabilities:
Parse pe header

Disassembly:
pushal
xor edx, edx
mov esi, dword fs:[edx]
lodsd eax, dword [esi]
cmp eax, 0xffffffff
je 0x48a3c2
mov esi, eax
jmp 0x48a3b8
mov edi, dword [esi + 4]
and edi, 0xffff0000
cmp word [edi], 0x5a4d
je 0x48a3da
sub edi, 0x10000
jmp 0x48a3cb
mov ebx, edi
add ebx, dword [ebx + 0x3c]
cmp word [ebx], 0x4550
je 0x48a3e8
jmp 0x48a3cb
mov dword [esp + 0x1c], edi
popal
ret

Function at 0x48a3ee
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
pushal
mov ebx, dword [esp + 0x24]
mov ecx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
add ebx, ecx
mov edi, dword [ebx + 0x20]
add edi, ecx
xor esi, esi
lea edx, [edi + esi*4]
mov edx, dword [edx]
add edx, ecx
xor eax, eax
rol eax, 7
xor al, byte [edx]
inc edx
cmp byte [edx], 0
jne 0x48a40d
cmp eax, dword [esp + 0x28]
je 0x48a424
inc esi
cmp esi, dword [ebx + 0x18]
jb 0x48a404
mov edx, dword [ebx + 0x24]
add edx, ecx
movzx edx, word [edx + esi*2]
mov eax, dword [ebx + 0x1c]
add eax, ecx
mov eax, dword [eax + edx*4]
add eax, ecx
mov dword [esp + 0x1c], eax
popal
ret 8
Function at 0x1000c3e0
Capabilities:
Encode data using xor

Disassembly:
pop eax
xor cl, byte [eax]
mov byte [0xb155439c], al
aam 0xf5
pop eax
lodsd eax, dword [esi]
je 0x1000c3de
xlatb
inc esi
invalid
movsd dword es:[edi], dword [esi]
lodsb al, byte [esi]

Function at 0x1000c6b0
Capabilities:
Encode data using xor

Disassembly:
cmc
cmpsd dword [esi], dword es:[edi]
fst st(1)
mov cl, 0x3e
adc dl, ch
add byte [ecx - 0x50], dl
test eax, 0xf1131db0

Function at 0x1000da90
Capabilities:
Execute syscall

Disassembly:
ja 0x1000dabe
enter 0xffffffffffffb9c5, 0xffffffffffffffd3
inc esi
les esi, es:[edx]
mov word [eax - 0x2a], fs
xor al, byte [edi - 0x71]
hlt
jg 0x1000db3c
jge 0x1000dab6
aad 0xd7
pop ebx
or dh, byte [ecx]
pop ss
bound esi, qword [ecx]
mov esi, 0x696c3035
jno 0x1000db01
int 0x2e

Function at 0x119abf70
Capabilities:
Encode data using xor

Disassembly:
jmp 0x119abf7a
pushal
call 0x119abf80
pop ebp
sub ebp, 0x10
sub ebp, 0x19abf70
mov al, byte [esp + 0x28]
cmp al, 1
je 0x119abfa4
popal
xor eax, eax
inc eax
ret 0xc
jmp 0x119abfad
mov eax, 0x19abf70
add eax, ebp
add eax, 0x63
mov ecx, 0x5c2
mov edx, 0xa761b39e
xor byte [eax], dl
inc eax
dec ecx
jne 0x119abfc4
jmp 0x119abfd7
adc eax, 0xa2171553
sahf
sahf
sahf
pop ds
pop edi
sahf
sahf
sahf
popfd
push ebx
xchg esi, eax
sahf
sahf
sahf
and al, 0xb6
sahf
sahf
sahf
imul edi, dword [ebp + ebx*4 + 0x56], 0x9e921f15
sahf
sahf
popfd
pop ebx
into
adc edi, edx
mov edx, 0xba9a1762
idiv byte [esi - 0x96130f2]
into
mov cl, 0xd7
lahf
lahf
mov dl, 0xba
not ch
jmp 0xad116fe2
Function at 0x10003610
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
push 0
push pe_nt_image_headers32
push 3
push 0
push 1
push 0x80000000
mov ecx, dword [ebp + 8]
call fcn.1000ddf0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x100036d5
push 0x10011fd0
push 0x1006ab9c
push 0x10060390
call fcn.10012000
add esp, 8
mov ecx, eax
call fcn.1000db30
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
lea eax, [ebp - 8]
push eax
push 0x400
lea ecx, [ebp - 0x408]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100036c9
cmp dword [ebp - 8], 0
jbe 0x100036c9
mov eax, dword [ebp - 8]
xor ecx, ecx
push ecx
push eax
lea edx, [ebp - 0x408]
push edx
mov ecx, 0x10060390
call fcn.1000d6d0
jmp 0x10003689
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10003717
push 0x10011fd0
push 0x1006abb0
push 0x10060390
call fcn.10012000
add esp, 8
mov ecx, eax
call fcn.1000db30
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret