joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5fee513c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1020
call fcn.5feede00
push ebx
push esi
xor eax, eax
push edi
mov word [ebp - 0x1020], ax
lea eax, [ebp - 0x1020]
push eax
lea eax, [ebp - 8]
push eax
mov esi, ecx
xor ebx, ebx
push str.Thread::CThread::StartWithOptions
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 8], str.function_
call fcn.5fec5570
mov edi, dword [ebp + 8]
push edi
lea ecx, [ebp - 0x10]
call fcn.5fee0c81
lea eax, [ebp - 0x10]
mov dword [esi + 8], eax
mov eax, dword [edi + 0x10]
cmp eax, ebx
je 0x5fee51a5
push 0xffffffffffffffff
push eax
lea eax, [esi + 0x1c]
push 0x40
push eax
call fcn.5fee0bb4
add esp, 0x10
lea eax, [ebp - 4]
push eax
push ebx
push esi
push 0x5fee5127
push dword [edi + 4]
mov dword [ebp - 4], ebx
push ebx
call fcn.5fef0ab2
mov ecx, dword [ebp - 4]
add esp, 0x18
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], ecx
cmp eax, ebx
jne 0x5fee5204
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x5ff42b90
push 0x5ff49af4
push 0x40
mov dword [esi + 8], ebx
call fcn.5fec5556
add esp, 0x10
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x1c]
call fcn.5fec55b5
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 4
mov eax, dword [esi + 8]
push 0xffffffffffffffff
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea edi, [esi + 0x1c]
cmp byte [edi], bl
je 0x5fee523c
push edi
push dword [esi + 0x14]
push str.thread_info__TID:_u_NAME:_S
push str.thread_
push 0x10
call fcn.5fec5556
push edi
push dword [esi + 0x14]
call fcn.5fee0bf0
add esp, 0x1c
jmp 0x5fee5250
push 0x5ff42af0
push str.thread_
push 0x40
call fcn.5fec5556
add esp, 0xc
xor ebx, ebx
inc ebx
jmp 0x5fee51ea
Function at 0x5fee9c34
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
push dword [ebp + 0xc]
mov dword [ebp - 8], ecx
xor edi, edi
lea ecx, [ebp - 0xc]
mov dword [ebp - 4], edi
call fcn.5fec7697
push dword [ebp + 0x10]
lea ecx, [ebp + 0xc]
call fcn.5fec7697
mov esi, dword [ebp - 0xc]
cmp dword [esi - 0xc], edi
jne 0x5fee9c9f
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], edi
jne 0x5fee9c9f
push edi
push 0x80
push 3
push edi
inc edi
push edi
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x5fee9d01
mov ecx, dword [ebp - 8]
push esi
call fcn.5fee96cb
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], edi
jmp 0x5fee9d01
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
cmp ebx, edi
je 0x5fee9d00
push dword [ebp + 0xc]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, edi
je 0x5fee9cf9
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp + 8], eax
cmp eax, edi
je 0x5fee9cf9
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
je 0x5fee9cf9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp eax, edi
je 0x5fee9cf9
push dword [ebp + 8]
mov ecx, dword [ebp - 8]
push eax
call fcn.5fee9699
mov dword [ebp - 4], 1
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop ebx
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.5fec4d0d
mov ecx, dword [ebp - 0xc]
add ecx, 0xfffffff0
call fcn.5fec4d0d
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret 0xc

Function at 0x5feed707
Capabilities:
Contain obfuscated stackstrings

Disassembly:
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x654], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax

Function at 0x5feed722
Capabilities:
Contain obfuscated stackstrings

Disassembly:
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.5feec7fe
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
invalid
invalid
invalid
cld
invalid

Function at 0x5feee3a8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and byte [ebp - 0x78c], 0
invalid
movsd dword es:[edi], dword [esi]
jne 0x5feee3ab

Function at 0x5fef182d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5ff4fb2c]
jne 0x5fef1837
repz ret
jmp fcn.5fefbbbe
Function at 0x5feff287
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5ff4fb2c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.5fef418f
and dword [ebp - 0x14], 0
cmp dword [0x5ff522dc], 0
mov dword [ebp - 0x18], eax
jne 0x5feff33a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x5feff3e2
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x5feff3e2
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x5ff522dc], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x5ff522e0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x5ff522e4], eax
call edi
push eax
call esi
mov dword [0x5ff522ec], eax
test eax, eax
je 0x5feff33a
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x5ff522e8], eax
mov eax, dword [0x5ff522e8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x5feff393
cmp dword [0x5ff522ec], ecx
je 0x5feff393
push eax
call esi
push dword [0x5ff522ec]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x5feff393
test ebx, ebx
je 0x5feff393
call edi
test eax, eax
je 0x5feff38a
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x5feff38a
test byte [ebp - 8], 1
jne 0x5feff393
or dword [ebp + 0x10], 0x200000
jmp 0x5feff3c6
mov eax, dword [0x5ff522e0]
cmp eax, dword [ebp - 0x18]
je 0x5feff3c6
push eax
call esi
test eax, eax
je 0x5feff3c6
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x5feff3c6
mov eax, dword [0x5ff522e4]
cmp eax, dword [ebp - 0x18]
je 0x5feff3c6
push eax
call esi
test eax, eax
je 0x5feff3c6
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x5ff522dc]
call esi
test eax, eax
je 0x5feff3e2
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x5feff3e4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.5fef182d
leave
ret
Function at 0x437769
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x43b190
cmp edx, dword [eax]
je 0x43778b
add eax, 8
inc ecx
cmp eax, 0x43b220
jl 0x43777c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x43b190]
jne 0x4378b9
mov eax, dword [0x43bbb0]
cmp eax, 1
je 0x437893
test eax, eax
jne 0x4377bc
cmp dword [0x43b0e4], 1
je 0x437893
cmp edx, 0xfc
je 0x4378b9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4377f3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00438670
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00438490
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x437836
lea eax, [ebp - 0x1a4]
push eax
call fcn.00438490
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x43a45c
push edi
call fcn.00438f00
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00438670
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00438680
lea eax, [ebp - 0xa0]
push 0x43a43c
push eax
call fcn.00438680
push dword [esi + 0x43b194]
lea eax, [ebp - 0xa0]
push eax
call fcn.00438680
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00438e75
add esp, 0x2c
pop edi
jmp 0x4378b9
lea eax, [ebp + 8]
lea esi, [esi + 0x43b194]
push 0
push eax
push dword [esi]
call fcn.00438490
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 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x40bb27
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
xor eax, eax
push ebx
mov ebx, 0xbb40e64e
cmp dword [0x410438], eax
je 0x40bb49
cmp dword [0x410438], ebx
jne 0x40bbdd
push edi
push eax
push eax
push 1
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov edi, dword [ebp - 8]
xor edi, dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor edi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edi, eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 0x10]
xor eax, dword [ebp - 0x14]
xor edi, eax
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x410438
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
test edi, edi
push eax
push dword [ebp - 4]
cmovne ebx, edi
mov edi, 0x410438
push 4
push edi
mov dword [0x410438], ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 4
push edi
call sub.KERNEL32.dll_WerRegisterMemoryBlock
mov eax, dword [0x410438]
not eax
mov dword [0x4120c0], eax
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x1001107d
Capabilities:
Terminate process

Disassembly:
jmp 0x10026690
jmp fcn.10027830
cmp ecx, dword [0x1002f0d8]
jne 0x1002669a
repz ret
jmp 0x100111a4

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x401c66
pop dword [ebp - 0x28]
mov eax, 0x7cbd736e
sub eax, 0x7c7d5708
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0xb7967719
add dword [ebp - 0x38], 0x96bbce32
mov dword [ebp - 0x34], 0xb0f91447
sub dword [ebp - 0x34], 0x7ec5c802
mov dword [ebp - 0x30], 0x3972589d
add dword [ebp - 0x30], 0x12d9eb91
mov dword [ebp - 0x2c], 0x272bdacd
sub dword [ebp - 0x2c], 0x272bdacd
lea eax, [ebp - 0x38]
push eax
mov eax, 0xeb00d2c6
sub eax, 0xeac0a272
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0xe574bb92
add dword [ebp - 0x38], 0x8efdadc4
mov dword [ebp - 0x34], 0xf92e5f0
add dword [ebp - 0x34], 0x31d97b85
mov dword [ebp - 0x30], 0xf120ca11
add dword [ebp - 0x30], 0x724ea25b
mov dword [ebp - 0x2c], 0x7e2022b7
sub dword [ebp - 0x2c], 0x7e2022b7
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x338f6
push 0
call eax
mov ecx, 0x3c51
mov edi, eax
mov edx, 0x834dad76
add edx, 0x7cf2c28a
add edx, dword [ebp - 0x28]
mov esi, 0xbc68fc11
add esi, 0xde09b281
sub dword [ebp - 0x14], 0xcab50fff
mov ebx, dword [edx]
xor ebx, esi
add dword [ebp - 0x10], ebx
mov dword [edi], ebx
sub dword [ebp - 0x18], 0x148b6603
add edi, 0x99a7ed66
sub edi, 0x99a7ed62
add edx, 4
loop 0x401d7d
add eax, 0xe54c6775
add eax, 0x1ab47ca2
mov ebx, eax
add eax, 0x5c2bf6a1
add eax, 0xa3d40964
mov ecx, 0x7ec1d17b
sub ecx, 0x7e81d17b
add ecx, dword [ebp - 0x28]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4013b2
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
and dword [ebp - 0x10], 0
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x34], edi
mov eax, dword [edi]
mov ebx, dword [edi + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [0x41a318]
mov dword [ebp - 0x24], eax
mov eax, dword [str.GGjI]
mov dword [ebp - 0x2c], eax
call fcn.004013ab
mov esi, dword [ebp - 0x10]
mov ecx, dword [0x41a320]
add esi, 0x23f
mov eax, dword [0x41a324]
push 0x20
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x20], eax
pop edi
mov dword [ebp - 0x18], 2
add dword [ebp - 0x18], 3
mov edx, dword [ebp - 0x14]
mov eax, edx
shl eax, 4
add eax, ecx
mov dword [ebp - 0x1c], 0xedeb2e40
cmp dword [0x48c488], 0xfa9
mov dword [ebp - 4], eax
mov eax, dword [0x48c484]
cmove eax, dword [ebp - 0x1c]
and dword [ebp - 0x1c], 0
cmp dword [0x48c488], 0x3eb
mov dword [0x48c484], eax
mov eax, dword [0x48bf10]
cmove eax, dword [ebp - 0x1c]
mov dword [0x48bf10], eax
lea eax, [esi + edx]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
shr eax, 5
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x20]
xor eax, dword [ebp - 0x1c]
xor eax, dword [ebp - 4]
sub ebx, eax
mov dword [ebp - 8], eax
mov eax, ebx
mov dword [0x48c480], 0xf4ea3dee
shl eax, 4
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x24]
add dword [ebp - 4], eax
xor edx, edx
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x10]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x28]
nop
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x18]
mov eax, ebx
shr eax, cl
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x2c]
add dword [ebp - 8], eax
mov eax, dword [ebp - 4]
xor eax, dword [ebp - 0x1c]
cmp dword [0x48c488], 0xb03
mov dword [ebp - 4], eax
jne 0x4014df
push str.focomonebizihaxinecarimecuweguzubelimibezavotacaxariyetanovuvecogoyifikoxawivikasimuruwudoxasofuye
push edx
push edx
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov eax, dword [ebp - 4]
xor eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
sub dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x30]
add esi, 0x61c88647
mov dword [ebp - 0x10], esi
dec edi
jne 0x401404
mov edi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x14]
mov dword [edi + 4], ebx
mov dword [edi], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40d327
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419428]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00407adb
mov dword [ebp - 0x14], eax
cmp dword [0x446c1c], esi
jne 0x40d41a
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40d3a7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d4fa
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d4fa
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d4fa
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x446c1c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x446c20], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x446c24], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x446c2c], eax
test eax, eax
je 0x40d417
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x446c28], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40d43f
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d432
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40d454
push 4
pop eax
jmp 0x40d4fc
cmp dword [ebp - 0x14], esi
je 0x40d454
push dword [0x446c1c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40d439
mov eax, dword [0x446c28]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40d4b2
cmp dword [0x446c2c], edi
je 0x40d4b2
push eax
call ebx
push dword [0x446c2c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40d4b2
test eax, eax
je 0x40d4b2
call ecx
test eax, eax
je 0x40d4a7
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40d4a7
test byte [ebp - 8], 1
jne 0x40d4b2
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40d4e2
mov eax, dword [0x446c20]
cmp eax, edi
je 0x40d4df
push eax
call ebx
test eax, eax
je 0x40d4df
call eax
mov esi, eax
test esi, esi
je 0x40d4df
mov eax, dword [0x446c24]
cmp eax, edi
je 0x40d4df
push eax
call ebx
test eax, eax
je 0x40d4df
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x446c1c]
call ebx
test eax, eax
je 0x40d4fa
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d4fc
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404000
mov esp, ebp
pop ebp
ret
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x503b8c
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x503376
mov dword [0x50521c], 2
jmp 0x503bbc
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x50408c
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x503c8f
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503cbc
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c8f
mov eax, dword [0x505250]
jmp 0x503cc9
call 0x502c0d
ret