joyce8/EMBER2024-capa huggingface dataset:
Function at 0xfd2827
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x220
mov eax, dword [0x1029b00]
xor eax, esp
mov dword [esp + 0x21c], eax
mov eax, dword [esp + 0x224]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x238]
xor ebp, ebp
push edi
mov dword [esp + 0x28], eax
mov ecx, ebp
mov ebx, 0x100
mov eax, ecx
mov byte [esp + ecx + 0x2c], cl
cdq
idiv dword [esp + 0x240]
mov al, byte [edx + esi]
mov byte [esp + ecx + 0x12c], al
inc ecx
cmp ecx, ebx
jl 0xfd285a
mov esi, ebp
mov edi, ebp
mov dl, byte [esp + esi + 0x2c]
movzx eax, byte [esp + esi + 0x12c]
add edi, eax
movzx ecx, dl
add edi, ecx
and edi, 0x800000ff
jns 0xfd289e
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [esp + edi + 0x2c]
mov byte [esp + esi + 0x2c], al
inc esi
mov byte [esp + edi + 0x2c], dl
cmp esi, ebx
jl 0xfd287b
mov ecx, ebp
mov edx, ebp
mov edi, ebp
cmp dword [esp + 0x238], ecx
jle 0xfd299d
mov dword [esp + 0x24], ebp
inc ecx
and ecx, 0x800000ff
jns 0xfd28d7
dec ecx
or ecx, 0xffffff00
inc ecx
mov bl, byte [esp + ecx + 0x2c]
movzx esi, bl
add edx, esi
mov dword [esp + 0x1c], ecx
and edx, 0x800000ff
jns 0xfd28f4
dec edx
or edx, 0xffffff00
inc edx
lea eax, [esp + 0x24]
mov dword [esp + 0x20], edx
push eax
push ebp
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
call fcn.00fd1fee
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
sub eax, ebp
sar eax, 2
mov eax, dword [ebp + eax*4 - 4]
add eax, 0xfec300
push eax
push 0x102a988
call fcn.00fd1cd0
mov edx, dword [esp + 0x28]
pop ecx
pop ecx
mov ecx, dword [esp + 0x1c]
mov al, byte [esp + edx + 0x2c]
mov byte [esp + ecx + 0x2c], al
mov byte [esp + edx + 0x2c], bl
movzx eax, byte [esp + ecx + 0x2c]
mov ebx, dword [esp + 0x28]
add eax, esi
movzx eax, al
mov al, byte [esp + eax + 0x2c]
xor byte [ebx + edi], al
test ebp, ebp
je 0xfd298d
mov eax, dword [esp + 0x18]
sub eax, ebp
and eax, 0xfffffffc
push eax
push ebp
call fcn.00fd1fc2
mov edx, dword [esp + 0x28]
xor ebp, ebp
pop ecx
pop ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
jmp 0xfd298f
xor ebp, ebp
inc edi
cmp edi, dword [esp + 0x238]
jl 0xfd28c6
mov ecx, dword [esp + 0x22c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00fd56e9
add esp, 0x220
ret

Function at 0xfd2cfc
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
xor ecx, ecx
cmp dword [esp + 8], ecx
jbe 0xfd2d27
mov al, byte [edx + ecx]
xor al, 0x73
sub al, 0x6c
xor al, 0x74
add al, 0x4e
xor al, 0x70
sub al, 0x65
xor al, 0x22
sub al, 0x73
xor al, 0x2a
mov byte [edx + ecx], al
inc ecx
cmp ecx, dword [esp + 8]
jb 0xfd2d08
ret

Function at 0xfd5e60
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [0xfec078]
test eax, eax
je 0xfd5e9f
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0xfd5e9f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0xfd5e9f
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0xfd5e9f
cmp dword [ecx + 0x74], 0xe
jbe 0xfd5e9f
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0xfe1c93
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00fe1b04
Function at 0x402ac0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 4]
cmp eax, dword [ebp + 8]
jae 0x402aec
jmp 0x402ad6
mov esp, ebp
pop ebp
ret
Function at 0x404916
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push 0x14
push 0
lea eax, [ebp - 0x1c]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x1c]
push ecx
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x404972
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x404972
push 0x4087a8
mov eax, dword [ebp + 8]
push eax
call fcn.004048a1
add esp, 8
or eax, 0xffffffff
jmp 0x4049aa
push 1
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4049a7
push str.WriteFile
mov edx, dword [ebp + 8]
push edx
call fcn.004048a1
add esp, 8
or eax, 0xffffffff
jmp 0x4049aa
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x4049ae
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
cmp dword [edx + 0x14], 0
jne 0x404a37
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 1
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov edx, dword [ebp + 8]
add edx, 0x1c
push edx
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x404a37
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x404a37
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_CancelIo]
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0
jmp 0x404af7
cmp dword [ebp + 0x14], 0
jl 0x404a5b
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x404a5b
xor eax, eax
jmp 0x404af9
push 1
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x1c
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x14], 0
cmp dword [ebp - 8], 0
je 0x404ad6
cmp dword [ebp - 0xc], 0
jbe 0x404ad6
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
movsx ecx, byte [eax]
test ecx, ecx
jne 0x404abf
mov edx, dword [ebp - 0xc]
sub edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
add edx, 1
push edx
mov eax, dword [ebp + 0xc]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
jmp 0x404ad6
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
cmp dword [ebp - 8], 0
jne 0x404af2
push str.GetOverlappedResult
mov edx, dword [ebp + 8]
push edx
call fcn.004048a1
add esp, 8
or eax, 0xffffffff
jmp 0x404af9
mov eax, dword [ebp - 0xc]
jmp 0x404af9
jmp 0x404ad6
mov esp, ebp
pop ebp
ret

Function at 0x405250
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov byte [ebp - 4], 0
mov dword [ebp - 0xc], 0
jmp 0x40526c
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp + 0xc]
jae 0x4052a6
mov edx, dword [ebp - 4]
and edx, 0xff
mov eax, dword [ebp + 8]
xor ecx, ecx
mov cl, byte [eax]
xor edx, ecx
mov byte [ebp - 8], dl
mov edx, dword [ebp - 8]
and edx, 0xff
mov al, byte [edx + 0x40689c]
mov byte [ebp - 4], al
mov ecx, dword [ebp + 8]
add ecx, 1
mov dword [ebp + 8], ecx
jmp 0x405263
mov al, byte [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x401260
Capabilities:
Accept command line arguments
Create process on windows

Disassembly:
sub esp, 0x60
lea eax, [esp]
push esi
push eax
mov dword [esp + 8], 0
call fcn.004011c0
add esp, 4
test eax, eax
jne 0x401281
pop esi
add esp, 0x60
ret
mov ecx, 0x10
lea eax, [esp + 8]
lea ebx, [ebx]
mov byte [eax], 0
add eax, 1
sub ecx, 1
jne 0x401290
mov ecx, 0x44
lea eax, [esp + 0x18]
mov byte [eax], 0
add eax, 1
sub ecx, 1
jne 0x4012a4
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
mov dword [esp + 0x38], 0x44
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, dword [esp + 0x24]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, 1
pop esi
add esp, 0x60
ret

Function at 0x43b62f
Capabilities:
Encode data using xor

Disassembly:
push 0x43b3c1
pop edi
sub eax, 0x91a3cb01
and eax, ebx
call fcn.0043b66c
sub ebx, ebx
inc ebx
xor dword [esi], edi
inc ebx
dec eax
inc esi
add eax, 0x74f235ba
and eax, ebx
or ebx, ebx
cmp esi, ecx
jne fcn.0043b62f
or ebx, eax
sub eax, 0xe6341206
sub eax, 0x4db4de18
ret
Function at 0x369a3954
Capabilities:
Allocate thread local storage

Disassembly:
push esi
push edi
mov esi, ecx
push 8
pop ecx
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
call dword [sym.imp.kernel32.dll_TlsAlloc]
mov dword [esi + 0x38], eax
add esi, 0x20
push esi
call dword [sym.imp.kernel32.dll_InitializeCriticalSection]
pop edi
pop esi
ret

Function at 0x369d67ed
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x369d731c]
jne 0x36b56fa0
ret
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x36b754f8], eax
mov dword [0x36b754f4], ecx
mov dword [0x36b754f0], edx
mov dword [0x36b754ec], ebx
mov dword [0x36b754e8], esi
mov dword [0x36b754e4], edi
mov word [0x36b75510], ss
mov word [0x36b75504], cs
mov word [0x36b754e0], ds
mov word [0x36b754dc], es
mov word [0x36b754d8], fs
mov word [0x36b754d4], gs
pushfd
pop dword [0x36b75508]
mov eax, dword [ebp]
mov dword [0x36b754fc], eax
mov eax, dword [ebp + 4]
mov dword [0x36b75500], eax
lea eax, [ebp + 8]
mov dword [0x36b7550c], eax
mov eax, dword [ebp - 0x320]
mov dword [0x36b75448], 0x10001
mov eax, dword [0x36b75500]
mov dword [0x36b753fc], eax
mov dword [0x36b753f0], 0xc0000409
mov dword [0x36b753f4], 1
mov eax, dword [0x369d731c]
mov dword [ebp - 0x328], eax
mov eax, dword [0x36b5ecb8]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x36b75440], eax
push 1
call sub.MSVCR80.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x36b570a4
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x36b75440], 0
jne 0x36b57090
push 1
call sub.MSVCR80.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret
Function at 0x369fc2b3
Capabilities:
Query or enumerate registry value

Disassembly:
movzx eax, byte [ecx]
cmp al, 0x80
jae 0x36a55379
movzx eax, al
push eax
call dword [sym.imp.USER32.dll_GetSysColor]
ret
cmp al, 0x82
ja 0x369fc2be
movzx ecx, al
jmp fcn.36a8e7ec

Function at 0x36a31644
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x114
push 0x36a316e0
call fcn.369a25ff
mov esi, ecx
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [0x36b71cfc], ebx
mov dword [ebp - 4], ebx
mov eax, dword [esi + 0x15c]
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x120], edi
cmp dword [esi + 0x114], ebx
jne 0x36a316b8
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x36a316b8
mov ecx, dword [esi + 0x20]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x50]
cmp eax, edi
je 0x36a316b8
mov ecx, dword [esi + 0x20]
mov eax, dword [ecx]
call dword [eax + 0x10]
push edi
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x50]
push eax
mov edi, dword [sym.imp.USER32.dll_IsChild]
call edi
test eax, eax
je 0x36a316fc
mov eax, dword [esi]
push 1
push ebx
push dword [ebp - 0x124]
mov ecx, esi
call dword [eax + 0x70]
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
call fcn.369a28f4
ret 0x10
push dword [ebp - 0x120]
call dword [sym.imp.USER32.dll_GetParent]
cmp eax, ebx
je 0x36a31714
mov dword [ebp - 0x120], eax
jmp 0x36a316fc
mov ecx, dword [esi + 0x20]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x50]
push eax
push dword [ebp - 0x120]
call edi
test eax, eax
je 0x36a316b8
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x36a316b8
test byte [ebp - 0x113], 0x80
je 0x36a316b8
jmp 0x36a5fa53
push 0x12
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
call edi
movzx eax, ax
test al, al
js 0x36a316b8
push 0x10
call edi
movzx eax, ax
and al, 0x80
neg al
sbb eax, eax
and eax, 2
mov dword [ebp - 0x124], eax
jmp 0x36a316b8

Function at 0x36a4f9ae
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x36b71d28], 0
push esi
je 0x36a4f9dd
mov eax, dword [0x36b71d28]
cmp eax, 1
jne 0x36a75329
push 0xd
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x36a4f9e6
pop esi
ret
call fcn.36a4f988
test eax, eax
jne 0x36a4f9b8
xor eax, eax
pop esi
ret
push eax
call dword [0x36b75720]
test eax, eax
jne 0x36a75393
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.kernel32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
je 0x36a4f9e6
mov eax, dword [esi]
push edi
push dword [0x36b71d28]
call dword [0x36b75720]
mov edi, eax
test edi, edi
je 0x36a75376
push 0x8000
push 0
push esi
call dword [sym.imp.kernel32.dll_VirtualFree]
mov eax, edi
jmp 0x36a75392
lea edi, [esi + 0xff0]
push esi
push dword [0x36b71d28]
call dword [0x36b7571c]
add esi, 0x10
cmp esi, edi
jb 0x36a7537c
mov eax, esi
pop edi
pop esi
ret
Function at 0x36a94c2e
Capabilities:
Log keystrokes via polling

Disassembly:
sub ecx, 0x202
push esi
je 0x36a94c64
sub ecx, 3
je 0x36a94c5f
sub ecx, 3
je 0x36a94c5b
xor esi, esi
test dl, 1
je 0x36a94c49
inc esi
test dl, 0x10
je 0x36a94c51
or esi, 4
test dl, 2
je 0x36a94c67
or esi, 2
jmp 0x36a94c67
push 4
jmp 0x36a94c61
push 2
pop esi
jmp 0x36a94c67
xor esi, esi
inc esi
test dl, 8
je 0x36a94c6f
or esi, 0x10
test dl, 4
je 0x36a94c77
or esi, 8
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x36a94c87
or esi, 0x20
mov eax, esi
pop esi
ret

Function at 0x36a9c8f6
Capabilities:
Hide graphical window

Disassembly:
push 0x18
mov eax, 0x36b575cc
call fcn.369a5ca5
mov esi, ecx
and dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.36b2cc25
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp + 0xc]
cmp ebx, 0x2f
jne 0x36a9c946
test eax, eax
jne 0x36a9c942
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
xor eax, eax
jmp 0x36a9c9c3
lea edi, [esi + 4]
push ebx
mov ecx, edi
call fcn.36b2cc25
cmp ebx, 0x2d
jne 0x36a9c99f
test byte [esi + 0x78], 1
je 0x36a9c942
cmp dword [ebp - 0x14], 0
je 0x36a9c942
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov ecx, dword [esi + 0x28]
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ecx]
call dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
mov ecx, esi
call fcn.36b2cc25
test eax, eax
je 0x36a9c942
push 1
push 0
mov ecx, esi
call fcn.36b2cc25
jmp 0x36a9c9b4
cmp ebx, 0x2e
jne 0x36a9c9b4
test byte [esi + 0x78], 2
je 0x36a9c9b4
push 0
push dword [edi]
call dword [sym.imp.USER32.dll_ShowWindow]
or dword [ebp - 4], 0xffffffff
jmp 0x36a9c942
call fcn.369a6977
ret 0x10

Function at 0x36aa723c
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
add ecx, 0xffffff60
neg esi
sbb esi, esi
and esi, ecx
lea eax, [esi + 0xac]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov esi, dword [esi + 0x58]
test esi, esi
je 0x36aa7267
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
ret 8

Function at 0x36abd752
Capabilities:
Set file attributes

Disassembly:
push edi
xor edi, edi
test byte [ecx + 0x28], 4
je 0x36abd7a3
push esi
lea esi, [ecx + 0xc]
mov eax, dword [esi]
test eax, eax
jne 0x36abd76c
mov edi, 0x8000ffff
jmp 0x36abd7a2
push 0x80
push eax
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
push dword [esi]
call sub.MSO.dll_Ordinal_1440
test eax, eax
jne 0x36abd79b
call dword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jle 0x36abd797
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
jmp 0x36abd7a2
mov ecx, esi
call fcn.369a834b
pop esi
mov eax, edi
pop edi
ret
Function at 0x36ace4d6
Capabilities:
Get graphical window text

Disassembly:
push 0xc
push 0x36ace6c8
call fcn.369a59bf
mov esi, ecx
xor ebx, ebx
mov dword [0x36b74b0c], ebx
mov dword [ebp - 4], ebx
movzx edi, word [ebp + 0xc]
mov dword [ebp - 0x1c], ebx
cmp edi, 1
jne 0x36ace50c
push ebx
push 0xd
push 0x100
push dword [esi + 0x28]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp edi, 2
jne 0x36ace528
push ebx
mov ecx, esi
call fcn.36b2cc25
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
inc eax
jmp 0x36ace6ae
push 0xffffffffffffffeb
pop ebx
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov edi, eax
mov dword [ebp - 0x1c], edi
test dword [0x36ace6b8], edi
je 0x36ace6a5
mov eax, dword [0x36ace6bc]
and eax, edi
xor ecx, ecx
inc ecx
cmp eax, ecx
jg 0x36ace57b
mov dword [ebp - 0x1c], ecx
push dword [0x36ace6c0]
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [0x36ace6bc]
and eax, edi
push eax
mov ecx, esi
call fcn.36b2cc25
jmp 0x36ace65e
push 4
pop ecx
cmp eax, ecx
jne 0x36ace63f
mov dword [ebp - 0x1c], ecx
push dword [0x36ace6c0]
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
movzx eax, di
push eax
mov ecx, esi
call fcn.36b2cc25
and dword [ebp + 0xc], 0
mov ecx, dword [esi + 0xb4]
mov eax, dword [ecx]
lea edx, [ebp + 0xc]
push edx
call dword [eax + 0x74]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x35c]
test eax, eax
jne 0x36ace6a5
push 0xe0
call fcn.36b2cc25
pop ecx
test eax, eax
je 0x36ace5ff
push dword [esi + 0xa8]
push dword [esi + 0xb8]
push dword [esi + 0xbc]
push dword [esi + 0x48]
push dword [esi + 0xb4]
mov ecx, eax
call fcn.36b2cc25
mov esi, eax
jmp 0x36ace601
xor esi, esi
test esi, esi
je 0x36ace6a5
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x1ec]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x54]
push 0xac
push dword [0x36b5f3ec]
push dword [0x36b5f3e8]
push dword [eax]
push 8
mov ecx, esi
call sub.MSO.dll_Ordinal_7601
mov eax, dword [esi]
push esi
call dword [eax + 4]
jmp 0x36ace669
mov dword [ebp - 0x1c], 2
push eax
mov ecx, esi
call fcn.36b2cc25
push dword [0x36ace6c0]
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
movzx eax, di
push eax
mov ecx, esi
call fcn.36b2cc25
mov eax, dword [ebp - 0x1c]
dec eax
je 0x36ace67f
dec eax
jne 0x36ace519
push 1
push 0x29e
jmp 0x36ace686
push 1
push 0xc2
call sub.MSO.dll_Ordinal_6794
jmp 0x36ace519
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
call fcn.369a5a04
ret 0x10
Function at 0x36b2cc25
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x36b2cc34
pop dword [ebp - 0x40]
mov eax, 0x4b437b96
add eax, 0xeb6f509e
sub dword [ebp - 0x40], eax
push 0x40
push 0x1000
push 0x8677a
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x40]
call dword [eax]
mov ecx, 0xcba4d3ff
sub ecx, 0xcba488a4
mov edx, eax
mov edi, 0x3d64bbb3
sub edi, 0x6a70bb3
add edi, dword [ebp - 0x40]
mov esi, 0x19c97f4d
add esi, 0x9b2e1f7a
xor dword [ebp - 0x28], eax
mov ebx, dword [edi]
add dword [ebp - 0x34], esi
xor ebx, esi
sub dword [ebp - 0x10], edx
mov dword [edx], ebx
xor dword [ebp - 0x18], 0xd2b93af2
add edx, 0x6e9569d8
sub edx, 0x6e9569d4
add edi, 4
loop 0x36b2cc8e
add eax, 0x1203f
xor ebx, ebx
add ebx, eax
add eax, 0xd2ae09da
sub eax, 0xd2ae09d5
mov ecx, 0x369a0000
add ecx, dword [ebp - 0x40]
call ebx
leave
ret

Function at 0x36b33b0c
Capabilities:
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push esi
mov esi, ecx
call fcn.36b33871
test eax, eax
jl 0x36b33b20
mov ecx, esi
pop esi
jmp fcn.36b338f6
pop esi
ret
Function at 0x36b57215
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
test esi, esi
push edi
lea eax, [ecx + eax + 0x18]
jbe 0x36b57251
mov edi, dword [esp + 0x14]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x36b57247
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x36b57253
add edx, 1
add eax, 0x28
cmp edx, esi
jb 0x36b57237
xor eax, eax
pop edi
pop esi
pop ebx
ret
Function at 0x405d43
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x405d52
pop dword [ebp - 0xc]
mov eax, 0x5d5bc110
sub eax, 0x5d1b63be
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0xd2df1a3c
add dword [ebp - 0x1c], 0x7b732b0f
mov dword [ebp - 0x18], 0x794cb3ed
sub dword [ebp - 0x18], 0x471967a8
mov dword [ebp - 0x14], 0x469b1295
add dword [ebp - 0x14], 0x5b13199
mov dword [ebp - 0x10], 0x69685c54
sub dword [ebp - 0x10], 0x69685c54
lea eax, [ebp - 0x1c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0x950a0d76
add dword [ebp - 0x1c], 0xdf685be0
mov dword [ebp - 0x18], 0x69bae03
sub dword [ebp - 0x18], 0xc52f4c8e
mov dword [ebp - 0x14], 0x982cd6bf
add dword [ebp - 0x14], 0xcb4295ad
mov dword [ebp - 0x10], 0xd869a5bd
sub dword [ebp - 0x10], 0xd869a5bd
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, 0x232dd5dd
sub eax, 0x22ed64cd
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x36d2d
push 0
call eax
mov ecx, 0x4781
mov edx, eax
mov ebx, 0x436000
add ebx, dword [ebp - 0xc]
mov esi, 0xcb026716
sub dword [ebp - 8], esi
mov edi, dword [ebx]
add dword [ebp - 8], esi
add edi, esi
xor dword [ebp - 4], 0xe29c615
mov dword [edx], edi
mov dword [ebp - 8], 0xa895b8b8
add edx, 0x5dcbab05
add edx, 0xa23454ff
add ebx, 0x72a76246
add ebx, 0x8d589dbe
loop 0x405e5d
add eax, 0xfa27156d
sub eax, 0xfa260496
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xef614ac3
add ecx, 0x10deb53d
add ecx, dword [ebp - 0xc]
call ebx
leave
ret

Function at 0x406120
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422af4], 0
push esi
jne 0x406157
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406131
mov dword [ecx*4 + 0x422af0], eax
inc ecx
cmp ecx, 0x100
jl 0x40612c
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406188
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422af0]
xor eax, esi
inc ecx
dec edx
jne 0x40616a
pop edi
not eax
pop esi
ret 0xc