joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409900
Capabilities:
Get thread local storage value

Disassembly:
push edi
push esi
push ebx
sub esp, 0x30
mov eax, dword [0x4853e8]
mov ebx, dword [esp + 0x40]
test eax, eax
je 0x409a1a
mov esi, dword [eax]
test esi, esi
js 0x409a10
mov eax, dword [0x4853e8]
test eax, eax
je 0x409a2f
mov ecx, dword [eax]
test ecx, ecx
je 0x4099c8
mov eax, dword [0x4853ec]
test eax, eax
je 0x409a4f
mov edi, dword [eax]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [esp], edi
mov esi, eax
call dword [sym.imp.KERNEL32.DLL_TlsGetValue]
sub esp, 4
mov edi, eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.DLL_SetLastError]
sub esp, 4
test edi, edi
mov dword [esp + 0x2c], edi
je 0x4099bc
mov eax, edi
lea esi, [esp + 0x2c]
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x4099ae
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
mov eax, dword [ebx]
mov edx, dword [ebx + 4]
mov dword [esp + 4], 1
mov dword [esp], 1
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
call ecx
cmp eax, 6
je 0x4099d5
cmp eax, 8
jne 0x409a00
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
test eax, eax
mov dword [esp + 0x2c], eax
jne 0x409977
mov eax, 5
add esp, 0x30
pop ebx
pop esi
pop edi
ret
mov eax, dword [0x4853f0]
test eax, eax
je 0x409a3e
mov edi, dword [eax]
jmp 0x409969
mov eax, dword [esp + 0x2c]
mov edx, esi
mov dword [ebx + 0xc], 0
mov dword [esp + 0x2c], edi
mov dword [ebx + 0x10], eax
mov eax, ebx
call fcn.00409110
cmp eax, 7
jne 0x4099c1
mov eax, esi
call fcn.00409390
lea esi, [esi]
add esp, 0x30
mov eax, 3
pop ebx
pop esi
pop edi
ret
call fcn.00409260
jmp 0x409921
lea esi, [esi]
call fcn.00409200
mov dword [0x4853e8], eax
jmp 0x409917
call fcn.00409200
mov dword [0x4853e8], eax
jmp 0x40992e
call fcn.004091a0
mov dword [0x4853f0], eax
mov edi, dword [eax]
jmp 0x409969
call fcn.004091d0
mov dword [0x4853ec], eax
jmp 0x409945

Function at 0x409fb0
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x1c
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], esi
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ebx, eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_TlsGetValue]
sub esp, 4
mov esi, eax
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.DLL_SetLastError]
mov eax, esi
sub esp, 4
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
add esp, 0x1c
ret

Function at 0x409ff0
Capabilities:
Set thread local storage value

Disassembly:
sub esp, 0x1c
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_TlsSetValue]
sub esp, 8
test eax, eax
je 0x40a015
xor eax, eax
add esp, 0x1c
ret
mov eax, dword [sym.imp.KERNEL32.DLL_GetLastError]
add esp, 0x1c
jmp eax
Function at 0x40a380
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov edi, dword [ebp + 8]
mov dword [esp], edi
call sub.msvcrt.dll_strlen
mov ebx, eax
lea eax, [eax + 0x4f]
and eax, 0xfffffff0
call fcn.004090b0
sub esp, eax
lea esi, [esp + 0x1b]
and esi, 0xfffffff0
mov dword [esi], 0x2d636367
lea eax, [esi + 0xf]
mov dword [esi + 4], 0x656d6873
mov dword [esi + 8], 0x64742d6d
mov word [esi + 0xc], 0x326d
mov byte [esi + 0xe], 0x2d
mov dword [esp + 4], edi
lea edi, [ebx + 0x10]
mov dword [esp + 8], ebx
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
lea eax, [esi + edi]
mov dword [eax], 0x61616161
mov dword [eax + 4], 0x61616161
mov dword [eax + 8], 0x61616161
mov dword [eax + 0xc], 0x61616161
mov dword [eax + 0x10], 0x61616161
mov dword [eax + 0x14], 0x61616161
mov dword [eax + 0x18], 0x61616161
mov dword [eax + 0x1c], 0x61616161
lea eax, [ebx + 0x30]
mov byte [esi + ebx + 0x30], 0
mov byte [esi + ebx + 0xf], 0
mov dword [ebp - 0x20], eax
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.KERNEL32.DLL_CreateMutexA]
mov byte [esi + ebx + 0xf], 0x2d
sub esp, 0xc
mov dword [ebp - 0x1c], eax
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
sub esp, 8
test eax, eax
je 0x40a465
int3
mov dword [esp], esi
call dword [sym.imp.KERNEL32.DLL_FindAtomA]
sub esp, 4
test ax, ax
jne 0x40a500
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sub.msvcrt.dll_malloc
lea edx, [esi + edi]
mov ebx, eax
mov eax, 0x20
nop
bt ebx, eax
jae 0x40a498
mov byte [edx], 0x41
add edx, 1
sub eax, 1
jne 0x40a490
mov dword [esp], esi
call dword [sym.imp.KERNEL32.DLL_AddAtomA]
sub esp, 4
test ax, ax
je 0x40a4f7
mov ecx, dword [ebp - 0x20]
mov edx, esi
movzx eax, ax
mov dword [esp], edi
call fcn.0040a300
cmp eax, ebx
mov esi, eax
je 0x40a514
mov dword [esp], ebx
call sub.msvcrt.dll_free
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_ReleaseMutex]
mov eax, dword [ebp - 0x1c]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, esi
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
int3
mov ecx, dword [ebp - 0x20]
mov edx, esi
movzx eax, ax
mov dword [esp], edi
call fcn.0040a300
mov esi, eax
jmp 0x40a4cf
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], 0
mov dword [esp], ebx
mov dword [esp + 8], eax
call sub.msvcrt.dll_memset
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x40a4cf
mov dword [esp], ebx
call dword [ebp + 0x10]
jmp 0x40a4cf
Function at 0x6686c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x170000]
lea eax, [edi + 0x1dc918]
push dword [eax]
mov dword [eax], 0x3e221b77
push eax
push edi
or ebp, 0xffffffff
jmp 0x6686f2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x6686f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6686e8
mov eax, 1
add ebx, ebx
jne 0x66870b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x66871c
jne 0x66873b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x66873b
dec eax
add ebx, ebx
jne 0x668728
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x668700
add ebx, ebx
jne 0x668737
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x66878d
xor ecx, ecx
sub eax, 3
jb 0x668753
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x6687c2
sar eax, 1
mov ebp, eax
jmp 0x66875e
add ebx, ebx
jne 0x66875e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x66872c
inc ecx
add ebx, ebx
jne 0x66876c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x66872c
add ebx, ebx
jne 0x668779
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x66876e
jne 0x66878a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x66876e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x6687ac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x66879e
jmp 0x6686ee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x6687ac
add edi, ecx
jmp 0x6686ee
pop esi
pop edi
pop eax
mov dword [edi], eax
mov edi, esi
mov ecx, 0x9dca
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x6687ce
cmp byte [edi], 0x2f
jne 0x6687ce
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x6687d3
lea edi, [esi + 0x25a000]
mov eax, dword [edi]
or eax, eax
je 0x66884b
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x26d650]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x26d7e8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x668800
mov ecx, edi
jns 0x66882f
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x26d7f0]
or eax, eax
je 0x668845
mov dword [ebx], eax
add ebx, 4
jmp 0x66881d
call dword [esi + 0x26d7ec]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x66887c
cmp al, 0xef
ja 0x66886f
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x668851
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x66885e
mov ebp, dword [esi + 0x26d7f4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x267]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x6688b0
sub esp, 0xffffff80
jmp 0x50faf3
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x407d9c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004033fc
xor eax, eax
push ebp
push 0x407e75
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x407dd4
mov eax, dword [ebp - 4]
call fcn.004071d0
jmp 0x407ddc
mov eax, dword [ebp - 4]
call fcn.00407bd4
call fcn.00404ae8
mov esi, eax
test esi, esi
jle 0x407e28
mov ebx, 1
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 8]
cmp byte [eax], 0x5c
jne 0x407e12
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0xc]
call fcn.004071d0
jmp 0x407e24
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0x10]
call fcn.00407bd4
inc ebx
dec esi
jne 0x407dec
push 1
push dword [ebp - 4]
push 0x407e8c
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00406f34
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004032cc
mov eax, dword [ebp - 0x14]
call fcn.0040340c
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407e7c
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004030b8
ret

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

Disassembly:
push ebp
mov ebp, esp
mov dword [0x80043a0], 0x30
mov dword [0x80043a8], 0x80032e8
mov dword [0x80043a4], 2
mov dword [0x80043ac], 0
mov dword [0x80043b0], 0
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
jmp 0x8003a40
mov dword [0x80043b4], eax
mov dword [0x80043c8], 0x80041d4
mov dword [0x80043c0], 0xf
mov dword [0x80040f6], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x80043b8], eax
mov dword [0x80043cc], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x80040fe], ebp
mov dword [0x80043bc], eax
push 0x80043a0
call dword [sym.imp.user32.dll_RegisterClassExA]
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x8004420], eax
push 0
push dword [0x80040f6]
push 0
push 0
push 0x1ef
push 0x21c
push 0xffffe688
push 0xfffff524
push 0xcf0000
push str.uno_momento
push str.verba
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x8004418], eax
push 1
push dword [0x8004418]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x8004418]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x8003afe
xor edi, edi
lea ebx, [0x80043d0]
jmp 0x8003b16
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x8003b08
jmp 0x8003b2a
mov eax, dword [0x80043d8]
call 0x80029cd
ret
Function at 0x1005c7cd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
pushal
call 0x1005c7dc
pop dword [ebp - 4]
mov eax, 0x9ef84402
add eax, 0x710d83da
sub dword [ebp - 4], eax
push 0x40
push 0x1000
push 0x3f282
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 4]
call dword [eax]
mov ecx, 0x6f28c5aa
sub ecx, 0x6f288d8b
mov edi, eax
mov ebx, 0x10187200
add ebx, dword [ebp - 4]
mov edx, 0x4ca0fa00
add edx, 0xe73d3a9b
mov esi, dword [ebx]
xor esi, edx
mov dword [edi], esi
add edi, 0x5bebe6b2
sub edi, 0x5bebe6ae
add ebx, 0xf8f07532
sub ebx, 0xf8f0752e
loop 0x1005c830
add eax, 0xd34f
mov ebx, eax
add eax, 5
mov ecx, 0x7d75f834
sub ecx, 0x6d75f834
add ecx, dword [ebp - 4]
call ebx
leave
ret
Function at 0x10072260
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 8]
cmp byte [edi + 0x2d], 0
jne 0x100722fb
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 4]
push esi
push 0
push eax
push ebx
push dword [ebp + 0xc]
push dword [edi + 0x30]
call dword [sym.imp.kernel32.dll_ReadFile]
mov esi, dword [ebp - 4]
cmp esi, ebx
je 0x100722b2
mov byte [edi + 0x2d], 0xff
test esi, esi
je 0x100722b2
cmp esi, ebx
jge 0x100722b2
mov eax, ebx
sub eax, esi
push eax
mov eax, dword [ebp + 0xc]
add eax, esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [edi + 0x18], 0
je 0x100722f5
add dword [edi + 0x1c], ebx
cmp dword [edi + 0x1c], 0xffff
jle 0x100722f5
xor eax, eax
mov word [edi + 0x1e], ax
mov eax, dword [edi]
push edi
mov esi, dword [eax + 0x2c]
mov ecx, esi
call dword [0x100783dc]
call esi
mov ecx, dword [edi + 0x18]
push 1
push dword [edi + 0x20]
mov esi, dword [ecx]
push eax
push ecx
mov ecx, dword [esi + 0xc]
call dword [0x100783dc]
call dword [esi + 0xc]
mov esi, dword [ebp - 4]
mov eax, esi
pop esi
pop ebx
jmp 0x1007230d
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor eax, eax
pop edi
leave
ret 0xc

Function at 0x10072530
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x100bb864]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x10176174], 0
mov eax, dword [ebp + 8]
je 0x10072558
push eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
jmp 0x10072572
lea ecx, [ebp - 0x108]
push ecx
push eax
call fcn.1005c7cd
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
test eax, eax
setne al
xor ecx, ebp
call fcn.10076450
leave
ret 4

Function at 0x10072740
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x100bb864]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x10176174], 0
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
je 0x10072776
push ebx
push dword [ebp + 0x10]
push edi
push esi
call dword [sym.imp.kernel32.dll_GetTempFileNameW]
jmp 0x100727d5
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x310]
push eax
push esi
call fcn.1005c7cd
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.1005c7cd
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.kernel32.dll_GetTempFileNameA]
mov esi, eax
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.1005c7cd
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10076450
leave
ret 0x10
Function at 0x100727f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x100bb864]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x10176174], 0
push esi
mov esi, dword [ebp + 0xc]
je 0x1007281c
push esi
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetTempPathW]
jmp 0x1007284d
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathA]
test eax, eax
je 0x1007284b
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.1005c7cd
push esi
call dword [sym.imp.kernel32.dll_lstrlenW]
jmp 0x1007284d
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10076450
leave
ret 8
Function at 0x88853b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
xor edi, edi
lea edx, [ebp - 0x14]
mov esi, edi
mov dword [ebp - 0x14], edi
call fcn.00891775
mov ebx, eax
mov dword [ebp - 0x18], ebx
test ebx, ebx
jne 0x888563
push 0xfffffffffffffffe
jmp 0x888737
mov edx, edi
mov eax, dword [0x8a0eb0]
mov ecx, edx
and ecx, 0x1f
mov al, byte [ecx + eax + 0x1858]
xor byte [edx + ebx], al
inc edx
cmp edx, 0x20
jb 0x888565
mov eax, dword [0x8a0eb0]
cmp dword [eax + 0xa4], 1
jne 0x8885aa
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], edi
push eax
mov eax, dword [0x8a0e80]
push edi
push edi
push 0x8849f4
push edi
push edi
call dword [eax + 0x78]
jmp 0x888738
lea ecx, [ebp - 4]
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edi
call fcn.0088b12e
mov edi, eax
mov dword [ebp - 0x1c], edi
test edi, edi
jne 0x8885c9
or esi, 0xffffffff
jmp 0x888738
and dword [ebp - 0xc], esi
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x888720
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 8], 1
test ebx, ebx
jne 0x8886f6
push 0x10
lea eax, [ebp - 0x2c]
push ebx
push eax
call fcn.0088a146
mov eax, dword [0x8a0eb0]
add esp, 0xc
test dword [eax + 0x1898], 0x200
je 0x888613
mov ecx, 0xaa1
call fcn.0088f42b
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x2c]
mov ecx, dword [edi + eax*4]
call fcn.0088da0a
test eax, eax
js 0x8886bc
push dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
call fcn.0088d9b4
mov dword [0x8a0f84], eax
pop ecx
test eax, eax
jne 0x88865c
mov eax, dword [0x8a0e80]
push dword [ebp - 0x28]
call dword [eax + 0x34]
mov eax, dword [0x8a0e80]
push dword [ebp - 0x2c]
call dword [eax + 0x34]
push 0xfffffffffffffffe
pop esi
jmp 0x8886bc
mov eax, dword [0x8a0eb0]
lea edx, [ebp - 0x2c]
push dword [ebp - 8]
mov ecx, 0x8878e0
push dword [eax + 0x224]
call fcn.0088b3f2
pop ecx
pop ecx
test eax, eax
jne 0x888697
mov eax, dword [0x8a0e80]
push dword [ebp - 0x28]
call dword [eax + 0x34]
mov eax, dword [0x8a0e80]
push dword [ebp - 0x2c]
call dword [eax + 0x34]
push 0xfffffffffffffffd
jmp 0x888659
lea ecx, [ebp - 0x2c]
call fcn.0088b521
test eax, eax
je 0x8886bc
push dword [ebp - 0x2c]
call fcn.008858fa
mov eax, dword [0x8a0e80]
pop ecx
push dword [ebp - 0x28]
call dword [eax + 0x34]
xor ebx, ebx
inc ebx
xor esi, esi
cmp dword [ebp - 0x2c], 0
je 0x8886e6
test ebx, ebx
jne 0x8886d5
mov eax, dword [0x8a0e80]
push ebx
push dword [ebp - 0x2c]
call dword [eax + 0x114]
cmp dword [ebp - 0x28], 0
je 0x8886e6
mov eax, dword [0x8a0e80]
push dword [ebp - 0x28]
call dword [eax + 0x34]
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp eax, 2
jbe 0x8885e1
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 4]
mov dword [ebp - 0xc], eax
cmp eax, ebx
jb 0x8885d7
push 0xfffffffffffffffe
push edi
call fcn.00889fc2
pop ecx
add edi, 4
pop ecx
sub ebx, 1
jne 0x88870b
mov ebx, dword [ebp - 4]
shl ebx, 2
lea eax, [ebp - 0x1c]
push ebx
push eax
call fcn.00889fc2
cmp dword [ebp - 0x10], 0
pop ecx
pop ecx
jne 0x888738
push 0xfffffffffffffffb
pop esi
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x889ccd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push 0x126
call fcn.00889fac
mov ebx, eax
xor eax, eax
pop ecx
test ebx, ebx
je 0x889d60
push esi
push edi
mov esi, 0x89de8c
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea edi, [ebp - 0x20]
xor esi, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, esi
cmp byte [ebp - 0x10], al
je 0x889d1b
inc eax
cmp byte [ebp + eax - 0x10], 0
jne 0x889d08
push 0xe
pop edx
cmp eax, edx
jbe 0x889d1b
mov ecx, esi
jmp 0x889d23
mov edx, eax
mov ecx, esi
test edx, edx
je 0x889d2f
lea eax, [ecx + 0x30]
mov byte [ebp + ecx - 0x20], al
inc ecx
cmp ecx, edx
jb 0x889d23
lea eax, [ebp - 0x20]
push eax
call dword [0x89a110]
mov edx, 0x8a0d30
sub edx, ebx
mov eax, esi
lea ecx, [esi + ebx]
and eax, 0xf
mov al, byte [eax + 0x89dcb8]
xor al, byte [edx + ecx]
inc esi
mov byte [ecx], al
cmp esi, 0x126
jb 0x889d40
pop edi
mov eax, ebx
pop esi
pop ebx
leave
ret

Function at 0x88a194
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], edx
mov ebx, dword [edi + 0x3c]
mov eax, dword [ebx + edi + 0x78]
test eax, eax
je 0x88a208
lea ecx, [eax + edi]
mov eax, dword [ecx + 0x24]
mov edx, dword [ecx + 0x20]
add eax, edi
mov dword [ebp - 0x14], eax
add edx, edi
mov eax, dword [ecx + 0x1c]
mov ecx, dword [ecx + 0x18]
add eax, edi
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
test ecx, ecx
je 0x88a208
mov esi, dword [edx + eax*4]
add esi, edi
push 0
push esi
call fcn.0088dd5b
pop ecx
mov edx, eax
mov ecx, esi
call fcn.0088f8cc
xor eax, 0x218fe95b
cmp eax, dword [ebp - 8]
mov eax, dword [ebp - 4]
pop ecx
je 0x88a20f
mov edx, dword [ebp - 0x10]
inc eax
mov dword [ebp - 4], eax
cmp eax, dword [ebp - 0xc]
jb 0x88a1d7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
movzx eax, word [ecx + eax*2]
mov ecx, dword [ebx + edi + 0x78]
add ecx, edi
mov esi, dword [esi + eax*4]
add esi, edi
cmp esi, ecx
jb 0x88a27c
mov eax, dword [ebx + edi + 0x7c]
add eax, ecx
cmp esi, eax
jae 0x88a27c
xor eax, eax
mov cl, byte [esi + eax]
cmp cl, 0x2e
je 0x88a24a
test cl, cl
je 0x88a24a
mov byte [ebp + eax - 0x58], cl
inc eax
cmp eax, 0x40
jb 0x88a234
cmp byte [eax + esi], 0
mov dword [ebp + eax - 0x58], 0x6c6c642e
mov byte [ebp + eax - 0x54], 0
je 0x88a260
inc esi
add esi, eax
lea eax, [ebp - 0x58]
push eax
call dword [0x89a0c8]
test eax, eax
je 0x88a208
push esi
push eax
call dword [0x89a0b4]
test eax, eax
je 0x88a208
jmp 0x88a20a
mov eax, esi
jmp 0x88a20a