joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1004e016
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x48
push ebp
push str.renderPickupTexts__
call fcn.1006b60e
mov eax, dword [0x10171a30]
xor ebp, ebp
pop ecx
cmp dword [eax + 0x1efc5], ebp
jne 0x1004e1bd
mov eax, dword [0x101b32bc]
mov eax, dword [eax + 0x3de]
cmp dword [eax + 0x10], ebp
je 0x1004e1bd
push ebx
push ebp
push 0xffffffffffffffff
call fcn.1002b373
pop ecx
pop ecx
push 9
mov ebx, eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1004e072
cmp dword [0x10196b22], ebp
jne 0x1004e1bc
mov eax, dword [0x101b32d4]
cmp dword [eax], ebp
jne 0x1004e1bc
test ebx, ebx
je 0x1004e1bc
push esi
push edi
mov edi, ebp
mov esi, ebp
mov eax, dword [0x101b32bc]
mov eax, dword [eax + 0x3de]
mov eax, dword [eax + 0x10]
cmp dword [eax + esi + 0xf004], ebp
je 0x1004e1aa
cmp dword [eax + esi + 0xf008], ebp
je 0x1004e1aa
lea ecx, [esp + 0x14]
add eax, 0xf00c
push ecx
add eax, esi
push eax
call fcn.10046916
lea eax, [esp + 0x1c]
push eax
call fcn.10046a0c
add esp, 0xc
test eax, eax
jne 0x1004e1aa
mov eax, dword [ebx + 0x14]
add eax, 0x30
push eax
lea eax, [esp + 0x18]
push eax
call fcn.10046926
fstp dword [esp + 0x18]
movss xmm0, dword [esp + 0x18]
comiss xmm0, dword [0x101adce6]
pop ecx
pop ecx
ja 0x1004e1aa
movss xmm0, dword [esp + 0x14]
lea eax, [esp + 0x2c]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0x18]
push eax
movss dword [esp + 0x28], xmm0
lea eax, [esp + 0x24]
movss xmm0, dword [esp + 0x20]
push eax
movss dword [esp + 0x30], xmm0
call fcn.10003065
movss xmm0, dword [0x10096cd4]
comiss xmm0, dword [esp + 0x3c]
pop ecx
pop ecx
ja 0x1004e1aa
mov eax, dword [0x101b32bc]
mov eax, dword [eax + 0x3de]
mov eax, dword [eax + 0x10]
push dword [eax + esi + 0xf004]
lea eax, [esp + 0x3c]
push edi
push str.Pickup:__d__ModelID:__d
push 0x1f
push eax
call fcn.1004a91f
movss xmm0, dword [esp + 0x44]
lea eax, [esp + 0x4c]
subss xmm0, dword [0x1009c580]
add esp, 0x14
push eax
push 0xff00c800
push ecx
push ecx
mov ecx, dword [0x101bb070]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x3c]
movss dword [esp], xmm0
call fcn.1004a525
add esi, 0x14
inc edi
cmp esi, 0x14000
jl 0x1004e08d
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x48
ret

Function at 0x1004fee6
Capabilities:
Check for time delay via gettickcount

Disassembly:
push str.getFPS__
call fcn.1006b60e
inc dword [0x101bb03c]
pop ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, 0xf0
cmp eax, dword [0x101c70ac]
jbe 0x1004ff7f
mov eax, dword [0x101bb03c]
movss xmm2, dword [0x101bb030]
movss xmm3, dword [0x101bb034]
movss xmm0, dword [0x101bb02c]
shl eax, 2
and dword [0x101bb03c], 0
movss dword [0x101bb034], xmm2
addss xmm2, xmm3
movss dword [0x101bb038], xmm3
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss dword [0x101bb030], xmm0
movss dword [0x101bb02c], xmm1
addss xmm1, xmm0
addss xmm1, xmm2
mulss xmm1, dword [0x1009c4fc]
movss dword [0x101bb028], xmm1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x101c70ac], eax
fld dword [0x101bb028]
ret
Function at 0x10050036
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push str.mapMenuTeleport__
call fcn.1006b60e
cmp dword [0x101adcfe], 0
pop ecx
je 0x1005005d
cmp byte [0xba68a5], 5
jne 0x10050106
cmp dword [0xba6774], 0
je 0x10050106
push dword [0x101adcfa]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, 0x10000
je 0x10050106
cmp dword [0x101c74dc], 0
je 0x10050106
push esi
push edi
mov esi, 0xba8720
mov edi, 0xaf
mov eax, 0x1203
cmp word [esi + 0x1d], ax
jne 0x100500fc
push 0
call fcn.1002b82f
movss xmm0, dword [esi]
pop ecx
mov ecx, dword [0x101c74dc]
movss dword [ebp - 0xc], xmm0
movss xmm0, dword [esi + 4]
movss dword [ebp - 8], xmm0
mov eax, dword [ecx]
call dword [eax + 0x38]
movss xmm0, dword [ebp - 8]
push ecx
push ecx
mov edx, dword [eax]
mov ecx, eax
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0xc]
movss dword [esp], xmm0
call dword [edx + 0x18]
fadd dword [0x10096ce8]
lea eax, [ebp - 0xc]
push 0
push eax
fstp dword [ebp - 4]
call fcn.1002fd94
pop ecx
pop ecx
add esi, 0x28
sub edi, 1
jne 0x10050097
pop edi
pop esi
leave
ret
Function at 0x1006b371
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push edi
push str.init__
call fcn.1006b60e
cmp dword [0x101c72a8], 0
pop ecx
jne 0x1006b506
push 0xe4
mov edi, 0x101c72c0
push edi
push dword [0x101c72b8]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xor ebx, ebx
test eax, eax
je 0x1006b3cd
push 0x5c
push edi
call fcn.10071b40
pop ecx
pop ecx
test eax, eax
je 0x1006b3cd
push 0x5c
push edi
call fcn.10071b40
pop ecx
pop ecx
mov byte [eax], bl
jmp 0x1006b3d6
push 0x2e
pop eax
mov word [0x101c72c0], ax
push esi
push str.westoo
push str.Initializing__s
call fcn.1006b041
mov eax, dword [0xc9ac08]
mov dword [0x101c74ec], eax
pop ecx
pop ecx
mov ecx, dword [0xc9ac0c]
mov dword [0x101c74f0], ecx
mov edx, dword [0xc9ac10]
mov dword [0x101c74f4], edx
mov esi, dword [0xc9ac14]
mov dword [0x101c74f8], esi
push ecx
push edx
push esi
cmp eax, 2
jne 0x1006b425
push str.OS:_Windows_Version__d._d._d
jmp 0x1006b42a
push str.OS:_Not_Windows___d._d._d_
call fcn.1006b041
add esp, 0x10
call fcn.10045b0e
pop esi
cmp dword [0x10192283], ebx
jne 0x1006b472
push ebx
push str.Youre_a_retard.
push str.Looks_like_youve_not_edited_the_.ini_file_like_you_were_told_to__n_nBefore_you_can_use_mod_sa__you_have_to_set__i_have_edited_the_ini_file__to_true._nWe_did_this_so_you_would_read_the_INI_file_to_see_the_configurability_of_mod_sa._n
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push 5
push edi
push str.westoowestoo.ini
push str.notepad
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
xor eax, eax
jmp 0x1006b509
call fcn.10047ffe
push 0xfa
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x104
lea eax, [ebp - 0x104]
push 0x100aa404
push eax
call fcn.1002d78d
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x101c72a8], eax
test eax, eax
jne 0x1006b4cd
lea eax, [ebp - 0x104]
push eax
push str.Failed_to_load__s
call fcn.1006b041
pop ecx
pop ecx
jmp 0x1006b46b
push 0x100aa424
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x101bafec], eax
test eax, eax
jne 0x1006b506
lea eax, [ebp - 0x104]
push eax
push str._s_does_not_export_Direct3DCreate9__
call fcn.1006b041
pop ecx
pop ecx
push dword [0x101c72a8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1006b46b
xor eax, eax
inc eax
pop edi
pop ebx
leave
ret

Function at 0x10082259
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100820cf

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 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43300c
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
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
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x10001000
Capabilities:
Parse pe header

Disassembly:
push 0x24
push 0x1001fc48
call fcn.100064c0
push 0x1c
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
and dword [ebp - 4], 0
mov eax, 0x5a4d
mov edx, dword [ebp - 0x30]
cmp word [edx], ax
jne 0x10001068
mov eax, dword [edx + 0x3c]
add eax, edx
cmp dword [eax], 0x4550
jne 0x10001068
mov ecx, dword [eax + 0xd8]
lea esi, [ecx + edx]
cmp dword [ebp + 0xc], esi
jb 0x10001068
mov eax, dword [eax + 0xdc]
add eax, ecx
add eax, edx
cmp dword [ebp + 0xc], eax
jae 0x10001068
mov dword [ebp - 4], 0xfffffffe
mov al, 1
jmp 0x10001071
mov dword [ebp - 4], 0xfffffffe
xor al, al
call fcn.10006510
ret
Function at 0x10001169
Capabilities:
Allocate or change rwx memory
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
mov esi, eax
push edi
mov ebx, 0x10000
cmp esi, 0x7ff80000
jbe 0x1000118c
lea eax, [esi - 0x7ff80000]
mov dword [ebp - 4], eax
jmp 0x1000118f
mov dword [ebp - 4], ebx
cmp esi, 0x80000000
jae 0x100011a2
lea eax, [esi + 0x7ff80000]
mov dword [ebp - 8], eax
jmp 0x100011a9
mov dword [ebp - 8], 0xfff80000
mov eax, dword [0x10077e44]
mov ecx, dword [0x10077e40]
test eax, eax
jne 0x100011c3
test ecx, ecx
je 0x100011d8
mov eax, ecx
mov dword [0x10077e44], eax
mov edx, dword [eax + 8]
test edx, edx
je 0x100011d8
cmp edx, dword [ebp - 4]
jb 0x100011d8
cmp edx, dword [ebp - 8]
jbe 0x100012a9
mov eax, ecx
test ecx, ecx
jmp 0x100011fc
test eax, eax
je 0x100011f7
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x100011f7
cmp ecx, dword [ebp - 4]
jb 0x100011f7
cmp ecx, dword [ebp - 8]
jbe 0x100012a9
mov eax, dword [eax + 4]
test eax, eax
mov dword [0x10077e44], eax
jne 0x100011de
mov eax, esi
and eax, 0xffff
sub esi, eax
mov edi, esi
cmp esi, dword [ebp - 4]
jbe 0x1000133e
lea eax, [edi - 0x70000000]
cmp eax, 0x10000000
ja 0x10001229
mov edi, 0x6fff0000
push 0x1c
lea eax, [ebp - 0x40]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x1000133e
cmp dword [ebp - 0x30], ebx
jne 0x10001248
cmp dword [ebp - 0x34], ebx
jae 0x1000125b
mov edi, dword [ebp - 0x3c]
add edi, 0xffff0000
cmp edi, dword [ebp - 4]
ja 0x10001217
jmp 0x1000133e
push 0x40
push 0x3000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x10077e44], eax
test eax, eax
je 0x1000133e
mov ecx, dword [0x10077e40]
xor edx, edx
mov dword [eax + 4], ecx
mov dword [eax], 0x52727464
mov dword [eax + 8], edx
mov dword [0x10077e40], eax
lea ecx, [eax + 0xffe0]
mov esi, 0x7fd
mov dword [ecx + 0x18], edx
mov edx, ecx
sub ecx, 0x20
dec esi
jne 0x1000129b
mov dword [eax + 8], edx
mov esi, dword [eax + 8]
cmp esi, dword [ebp - 4]
jb 0x10001343
cmp esi, dword [ebp - 8]
ja 0x10001343
mov ecx, dword [esi + 0x18]
push 0x20
push 0xcc
push esi
mov dword [eax + 8], ecx
call fcn.100071e0
add esp, 0xc
mov eax, esi
jmp 0x10001345
lea eax, [esi - 0x70000000]
cmp eax, 0x10000000
ja 0x100012ea
mov esi, 0x80010000
push 0x1c
lea eax, [ebp - 0x24]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x10001343
cmp dword [ebp - 0x14], ebx
jne 0x10001335
cmp dword [ebp - 0x18], ebx
jb 0x10001335
movzx ecx, si
test ecx, ecx
je 0x10001319
mov eax, ebx
sub eax, ecx
sub dword [ebp - 0x18], eax
add dword [ebp - 0x24], eax
mov esi, dword [ebp - 0x24]
push 0x40
push 0x3000
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x10077e44], eax
test eax, eax
jne 0x10001277
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x18]
lea esi, [eax + ecx]
cmp esi, dword [ebp - 8]
jb 0x100012d8
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000137d
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
push edi
xor edi, edi
cmp dword [0x10077e4c], edi
je 0x10001390
mov eax, 0x10dd
jmp 0x100013eb
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0x10077e4c
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
jne 0x10001389
push esi
mov esi, dword [0x10077e40]
mov dword [0x10077e48], edi
mov dword [0x10077e5c], edi
mov dword [0x10077e58], edi
mov dword [0x10077e50], edi
mov dword [0x10077e54], edi
jmp 0x100013e4
lea eax, [esp + 8]
push eax
push 0x40
push 0x10000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esi, dword [esi + 4]
cmp esi, edi
jne 0x100013ce
xor eax, eax
pop esi
pop edi
pop ecx
ret

Function at 0x100013ee
Capabilities:
Resume thread

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x10077e4c], eax
je 0x10001404
mov eax, 0x10dd
pop ecx
ret
push ebx
push esi
mov esi, dword [0x10077e5c]
xor ebx, ebx
push edi
cmp esi, ebx
je 0x1000144f
lea eax, [esp + 0xc]
push eax
mov eax, dword [esi + 0x10]
push dword [esi + 0x14]
movzx eax, byte [eax + 0x17]
push eax
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp dword [esi + 4], ebx
jne 0x10001440
mov edi, dword [esi + 0x10]
cmp edi, ebx
je 0x10001440
call fcn.1000134a
mov dword [esi + 0x10], ebx
mov edi, dword [esi]
push esi
call fcn.10005c09
pop ecx
mov esi, edi
cmp edi, ebx
jne 0x10001413
mov dword [0x10077e5c], ebx
call fcn.10001142
mov esi, dword [0x10077e58]
cmp esi, ebx
je 0x1000147c
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edi, dword [esi]
push esi
call fcn.10005c09
pop ecx
mov esi, edi
cmp edi, ebx
jne 0x10001464
pop edi
pop esi
mov dword [0x10077e58], ebx
mov dword [0x10077e4c], ebx
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x100016d3
Capabilities:
Suspend thread

Disassembly:
mov eax, dword [0x10077e50]
test eax, eax
jne 0x10001743
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edi, dword [esp + 8]
cmp edi, eax
jne 0x100016ef
xor eax, eax
jmp 0x10001742
push esi
push 8
call fcn.100058bf
mov esi, eax
pop ecx
test esi, esi
jne 0x10001703
push 8
pop edi
jmp 0x1000171e
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x1000172f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov edi, eax
call fcn.10005c09
pop ecx
and dword [0x10077e54], 0
mov dword [0x10077e50], edi
mov eax, edi
jmp 0x10001741
mov eax, dword [0x10077e58]
mov dword [esi], eax
mov dword [esi + 4], edi
mov dword [0x10077e58], esi
xor eax, eax
pop esi
pop edi
ret 4
Function at 0x100020d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 1
jne 0x100020f7
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push 0
push 0
push 0
push 0x10001e40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
pop ebp
ret 0xc

Function at 0x10002110
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x10021040]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.100071e0
add esp, 0xc
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
lea eax, [ebp - 0x404]
push 0x400
push eax
call fcn.10002100
push dword [eax + 4]
push dword [eax]
call fcn.1000ab10
add esp, 0x1c
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100058b1
mov esp, ebp
pop ebp
ret

Function at 0x1000b37e
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1000b3bd
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1000b3bd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1000b3bd
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1000b3bd
cmp dword [ecx + 0x74], 0xe
jbe 0x1000b3bd
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1000f38c
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1000f429
push ebx
push esi
call fcn.1000f355
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1000f2e9
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1000f3d6
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000f428
push edi
push eax
call fcn.1000c04c
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1000f3f6
call fcn.1000c012
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000f427
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1000f2e9
add esp, 0x20
test eax, eax
jne 0x1000f415
push edi
call fcn.1000c012
jmp 0x1000f41d
push ebx
call fcn.1000c012
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1000f696
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001ad20
push 0x1001ad18
push str.FlsAlloc
push 0x1f
call fcn.1000f5b2
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000f6ca
push dword [ebp + 8]
mov ecx, esi
call dword [0x10018174]
call esi
jmp 0x1000f6d0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1000f714
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001ad30
push 0x1001ad28
push str.FlsGetValue
push 0x21
call fcn.1000f5b2
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000f74b
push dword [ebp + 8]
mov ecx, esi
call dword [0x10018174]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1000f753
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001ad38
push 0x1001ad30
push str.FlsSetValue
push 0x22
call fcn.1000f5b2
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000f78d
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10018174]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10016ea0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10016ecd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10016ecd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x403bec
Capabilities:
Encode data using xor

Disassembly:
push 0x403d88
call sub.MSVBVM60.DLL_ThunRTMain
add byte [eax], al
dec eax
add byte [eax], al
add byte [eax], dh
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
fild qword [ebx + 0xe0876cf]
loope 0x403c54
mov esp, 0x133d314e
or dword [esp + ecx*2], ebp
add byte [eax], al
add byte [eax], al
add byte [eax], al
add dword [eax], eax
add byte [eax], al
sub eax, 0x30303043
sub eax, 0x79646b7a
arpl word [ecx + 0x70], bx
inc ecx
add byte [eax], dh
xor al, 0x36
jge 0x403c59
xor ch, byte [esi]
add byte [ebx], ah
xor byte [ebx], ah
inc ebx
cmp bl, byte [edi + edx*2]
add byte [eax], al
add byte [eax], dl
add byte [eax], al
add byte [edx], al
add byte [eax], al
add byte [edx], al
add byte [eax], al
add byte [eax], al
push ds
add byte [esi], bl
aas
sub al, 0x1b
xchg edx, eax
and cl, byte [ebx - 0x79]
shr dword [esi - 0x31], 1
loope 0x403cab
xchg edx, eax
outsb dx, byte [esi]
add dword [eax], eax
add byte [eax], al
mov al, byte [0xb0000000]
add byte [eax], al
add byte [ecx], al
add byte [eax], al
add byte [ebp + 0x3d], ah
sub bl, byte [ecx + eax + 0x20]
inc esp
inc ebp
inc ecx
inc esp
add byte [eax], al
inc ebp
inc esi
sub eax, 0x46373345
sub eax, 0x72657355
inc ebx
jb 0x403cd0
outsd dx, dword [esi]
outsb dx, byte [esi]
je 0x403d03
outsd dx, dword [esi]
insb byte es:[edi], dx
xor dword [eax], eax
xor eax, 0xdf783335
mov edi, 0xf3315da9
dec esi
lodsb al, byte [esi]
loop 0x403c8b
xor esp, dword [ebx - 0x2e9ed419]
retf 0x7b17
jnp 0x403c8b
aam 0xe6
inc ecx
test dword [edx + 0x44902847], eax
adc al, 0x2a
add dword [eax], eax
add eax, dword [eax]
pop eax
inc esi
inc eax
add byte [eax], al
add byte [eax], al
add bh, bh
cmp al, 0x47
inc eax
add byte [ebx + eax*8 + 0x42], dh
add byte [ecx], al
add byte [eax], al
add al, dh
cmp al, 0x40
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add al, dh
cmp al, 0x40
add byte [edx + 0x10008ea], ah
add byte [eax], al
add byte [eax + 0x46], bl
inc eax
add byte [eax], al
add byte [eax], al
add bh, bh
Function at 0x401080
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
xor ebx, esi
mov ebx, ebx
mov eax, eax
mov ebx, esi
mov eax, ebx
xor ebx, ebx
mov eax, eax
xor eax, esi
xor ebx, esi
mov edx, 0xa
ror esi, 0xf2
not eax
neg esi
rol edi, 0x21
sbb edi, 0x70
or eax, 0xf5
dec edi
inc ebx
imul esi
ror ebx, 0x49
neg eax
ror esi, 0xf3
inc esi
neg esi
mov edx, 0x8f
bswap ebx
rol ebx, 0xff
not ebx
mov esi, 0xeb
not esi
rcl edx, 9
not edi
inc edx
rcl esi, 0x6c
rcl edi, 0xd9
rcr esi, 0x95
neg edx
ror esi, 0xcf
or esi, 0xdb
rcr eax, 0xf0
dec eax
rol esi, 0x90
bswap edi
inc ebx
sbb esi, 0x96
not eax
not esi
imul esi
bswap esi
bswap edx
not edx
rcr edx, 0xf3
sub edx, 0x7f
ror edi, 0xfd
dec ebx
bswap eax
sbb eax, 0xc
rcr eax, 0x48
add eax, 0xda
xor ecx, ecx
xor edi, edi
mov esi, esi
xor eax, esi
xor esi, esi
xor eax, eax
xor eax, eax
mov eax, esi
mov edi, 0x34
add edi, 6
not edi
bswap ebx
add eax, 0xac
not edi
and edx, 0xd3
and edx, 0xfe
neg edi
sub esi, 0xff
not ebx
dec ebx
rcl eax, 0x15
inc edx
add edi, 0xcd
inc edx
sbb esi, 0x3c
rcl edx, 0x56
not ebx
dec esi
bswap esi
ror edi, 0x83
rol eax, 0x30
not esi
not eax
sub ebx, 0x1c
imul edi
inc eax
dec edi
not esi
neg ebx
imul edx
sbb edi, 0x64
rol esi, 0x53
bswap eax
bswap edx
and ebx, 0x49
sbb edx, 0x6c
add ebx, 0xb1
add edi, 0x8c
ror esi, 0x6c
rcr eax, 0x70
neg ebx
dec edx
and edx, 0x78
sub ebx, 0xb
inc edx
sbb edx, 0x4c
sub eax, 0x12
not edx
xor eax, ebx
mov esi, eax
mov eax, ebx
xor eax, eax
xor esi, esi
mov esi, esi
xor esi, esi
mov ebx, esi
mov esi, ebx
mov ecx, dword [ebp + 0xc]
inc esi
bswap edx
or edx, 0x69
sub edx, 0xfe
rcl edx, 0x26
not ebx
inc edx
inc edx
rcl esi, 0xee
and edx, 0x4e
neg edx
inc ebx
or eax, 0xaf
neg edx
imul esi
bswap edx
rcl esi, 0x4b
rcl edx, 8
bswap edi
sbb esi, 0xeb
rcl esi, 6
and edi, 0xcb
inc ebx
rcr edx, 0x9b
rcr edx, 0xd5
bswap esi
neg esi
dec edx
inc ebx
inc ebx
not ebx
bswap edx
add edx, 0xc0
inc ebx
inc edx
or edi, 0xf6
and edx, 2
neg edi
imul ebx
bswap eax
rol ebx, 0xfb
bswap esi
rcl ebx, 0x66
ror edx, 0xc5
dec ebx
rcr edi, 0x92
or edx, 0xfd
imul esi
and ebx, 0x6b
inc ebx
mov edi, dword [ebp + 8]
xor esi, ebx
mov esi, esi
mov ebx, eax
mov ebx, ebx
mov esi, ebx
mov esi, eax
xor eax, ebx
mov eax, esi
mov eax, eax
not byte [edi]
mov esi, eax
mov esi, eax
xor eax, esi
xor ebx, ebx
mov ebx, ebx
xor esi, eax
mov esi, ebx
xor ebx, eax
mov ebx, ebx
xor esi, ebx
mov esi, esi
xor ebx, eax
sub byte [edi], 0xf1
add byte [edi], 0x63
xor ebx, eax
mov eax, eax
xor ebx, esi
xor esi, ebx
mov eax, eax
xor ebx, ebx
xor esi, eax
mov ebx, esi
mov ebx, esi
imul byte [edi]
inc edi
loop 0x40125f
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x404e60
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x404e9f
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x404e9f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x404e9f
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x404e9f
cmp dword [ecx + 0x74], 0xe
jbe 0x404e9f
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret