joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e670
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x47afa8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x42e6a9
inc eax
mov dword [esi + 0x10], eax
jmp 0x42e7bc
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x42e6bd
mov eax, 0xffffffc7
jmp 0x42e7be
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x42e6ce
cmp dword [esi + 8], eax
jne 0x42e6bd
cmp dword [esi + 8], eax
jne 0x42e6e7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x42e6e7
mov eax, 0xffffffc7
jmp 0x42e7be
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x42e6fb
push eax
mov ecx, ebx
call fcn.0042dea0
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00402180
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x42e72c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.004021a0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.0042d610
test eax, eax
mov dword [esp + 0x38], eax
je 0x42e75f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x707970
call fcn.00402380
mov eax, dword [esp + 0x38]
jmp 0x42e7be
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.0042e4d0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x42e7a3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.0042e4f0
mov esi, eax
test esi, esi
jne 0x42e7d3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.0042e4d0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x42e775
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x707970
call fcn.00402380
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x707970
call fcn.00402380
mov eax, esi
jmp 0x42e7be

Function at 0x433180
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x4331e0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x4331e0
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x4331e0
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x4331e0
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x433220
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x43ef40
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47b898
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.004746a8
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0043e8a0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004745d6
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.00470e9a
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.00470e9a
push 1
push 0
push 0
mov ecx, esi
call fcn.00470e42
push 1
push 0
push 1
mov ecx, esi
call fcn.00470e42
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0047471a
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x43f0c0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47b8b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.004746a8
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0043e8a0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.004745d6
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x43f184
cmp dword [esp + 0x40], 1
jne 0x43f182
cmp ecx, eax
jge 0x43f184
mov eax, ecx
cmp eax, 0xc8
jge 0x43f190
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0043ef40
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0047471a
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x43f980
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47b963
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0046f2ba
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00474950
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00475e6c
test eax, eax
je 0x43fa9c
mov ecx, dword [esp + 0x3c]
call fcn.0047497d
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x43fa60
push edi
mov ecx, esi
call fcn.00471fe4
mov ecx, esi
call fcn.0043fc40
cmp dword [esp + 0x38], 1
jne 0x43fa95
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0047211f
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x441c90
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x441cc3
push esi
call fcn.00450050
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x441cbc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x441d49
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x441d32
mov eax, dword [esi + 8]
test eax, eax
je 0x441ce7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x441d2e
cmp eax, 2
je 0x441d32
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x441cda
cmp eax, 3
je 0x441d0d
cmp eax, 1
jne 0x441cda
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x441cda
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x441cda
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00441d70
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x441d58
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00441d70
add esp, 4
pop esi
ret

Function at 0x4425f0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x442611
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x442611
mov eax, dword [eax + 0x44]
test eax, eax
je 0x442611
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x4700b0
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4700e8
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0046e164
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0046e13c
jmp 0x4700f4
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x47179e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4717e0
call fcn.00477252
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4717e0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4717d7
xor eax, eax
jmp 0x4717e8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004717ee
pop edi
pop esi
pop ebx
ret 4
Function at 0x477782
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4777b0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4777ce
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004776e8
jmp 0x4777ce
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4777ce
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004776e8
test edi, edi
mov eax, edi
jne 0x4777b8
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x693c9c
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00409978
mov eax, dword [ebp - 8]
test eax, eax
je 0x693cca
xor edx, edx
mov dword [eax], edx
xor eax, eax
push ebp
push 0x693da3
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea edx, [ebp - 0x10]
xor eax, eax
call fcn.00407344
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.00423024
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.0040a770
push 0xffffffffffffffff
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0040a504
push eax
lea edx, [ebp - 0x14]
xor eax, eax
call fcn.00407344
mov eax, dword [ebp - 0x14]
call fcn.0040a504
push eax
call sub.kernel32.dll_CopyFileW
test eax, eax
jne 0x693d7e
movzx eax, word [0x693db4]
push eax
push 2
push 0
push 0
mov eax, dword [esi + 4]
mov edx, dword [eax + 0x18]
mov eax, dword [0x5fa060]
call fcn.005fb99c
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov edx, 0x693dc4
call fcn.005fb9f0
lea ecx, [ebp - 0x1c]
xor edx, edx
call fcn.005fba54
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
mov edx, 0x693de0
call fcn.0040a770
mov eax, dword [ebp - 0x18]
mov cl, 1
mov edx, 0x693e5c
call fcn.005fe204
jmp 0x693d80
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x693daa
lea eax, [ebp - 0x1c]
mov edx, 5
call fcn.004098f4
lea eax, [ebp - 4]
call fcn.00409894
ret

Function at 0x5b630c
Capabilities:
Encode data using xor

Disassembly:
sbb ebx, ebx
lodsd eax, dword [esi]
jge 0x405fd882
retf
jne 0x5b62ba
sbb esp, dword [ebx - 0x3b]
sbb eax, 0x940197a0
mov ecx, 0xfecb7be8
xchg dword [edi - 0x73], ecx
inc ebp
scasb al, byte es:[edi]
mov al, byte [0xb9940197]
call 0x885a2e97
dec edi
lea eax, [ebp - 0x52]
xor byte [esi - 0x66], dh
je 0x5b6312
stosd dword es:[edi], eax
test eax, 0x76c82a7f
shr byte [edi - 0x52], 0x8d
xchg edx, eax
cwde
aas
out 0xbc, eax
salc
push 0x5b22a617
shr byte [edx], 1
push edx
push 0x7e
iretd

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 0x100094b3
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x100094f2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100094f2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100094f2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x100094f2
cmp dword [ecx + 0x74], 0xe
jbe 0x100094f2
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1000c16f
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 0x1000c20c
push ebx
push esi
call fcn.1000c138
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.1000c0cc
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1000c1b9
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000c20b
push edi
push eax
call fcn.1000d12a
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1000c1d9
call fcn.1000ac14
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000c20a
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1000c0cc
add esp, 0x20
test eax, eax
jne 0x1000c1f8
push edi
call fcn.1000ac14
jmp 0x1000c200
push ebx
call fcn.1000ac14
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 0x1000c479
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10013668
push 0x10013660
push str.FlsAlloc
push 0x1f
call fcn.1000c395
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000c4ad
push dword [ebp + 8]
mov ecx, esi
call dword [0x10012150]
call esi
jmp 0x1000c4b3
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1000c4f7
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10013678
push 0x10013670
push str.FlsGetValue
push 0x21
call fcn.1000c395
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000c52e
push dword [ebp + 8]
mov ecx, esi
call dword [0x10012150]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1000c536
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10013680
push 0x10013678
push str.FlsSetValue
push 0x22
call fcn.1000c395
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000c570
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10012150]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10011bf0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10011c1d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10011c1d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x282c54
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x2b6008], 0x8088405
inc edx
mov dword [ebx + 0x2b6008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x28aeb8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ecx
mov esi, ecx
mov dword [esp], 0x4e67c6a7
dec edx
test edx, edx
jl 0x28aee8
inc edx
xor ecx, ecx
mov ebx, dword [esp]
shl ebx, 5
movzx edi, byte [eax + ecx]
add ebx, edi
mov edi, dword [esp]
shr edi, 2
add ebx, edi
xor dword [esp], ebx
inc ecx
dec edx
jne 0x28aecd
mov ecx, esi
mov eax, esp
mov edx, 4
call fcn.00286fcc
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x2905a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebx, eax
mov edi, dword [ebx + 0x24]
mov esi, dword [ebx + 0x34]
sub esi, dword [ebx + 0x6c]
sub esi, dword [ebx + 0x64]
test esi, esi
jne 0x2905ca
cmp dword [ebx + 0x64], 0
jne 0x2905ca
cmp dword [ebx + 0x6c], 0
jne 0x2905ca
mov esi, edi
jmp 0x290662
cmp esi, 0xffffffff
jne 0x2905d5
dec esi
jmp 0x290662
mov eax, dword [ebx + 0x64]
lea edx, [edi + edi]
sub edx, 0x106
cmp eax, edx
jb 0x290662
mov eax, dword [ebx + 0x30]
lea edx, [eax + edi]
mov ebp, edi
mov ecx, ebp
call fcn.0028be2c
sub dword [ebx + 0x68], edi
sub dword [ebx + 0x64], edi
sub dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x44]
mov edx, dword [ebx + 0x3c]
lea edx, [edx + eax*2]
mov dword [esp], edx
sub dword [esp], 2
mov edx, dword [esp]
movzx edx, word [edx]
cmp edi, edx
ja 0x290622
sub dx, di
mov ecx, dword [esp]
mov word [ecx], dx
jmp 0x29062a
mov edx, dword [esp]
mov word [edx], 0
dec eax
test eax, eax
jne 0x290609
mov eax, edi
mov edx, dword [ebx + 0x38]
lea edx, [edx + eax*2]
mov dword [esp], edx
sub dword [esp], 2
mov edx, dword [esp]
movzx edx, word [edx]
cmp edi, edx
ja 0x290653
sub dx, di
mov ecx, dword [esp]
mov word [ecx], dx
jmp 0x29065b
mov edx, dword [esp]
mov word [edx], 0
dec eax
test eax, eax
jne 0x29063a
add esi, edi
mov eax, dword [ebx]
cmp dword [eax + 4], 0
je 0x2906c0
mov edx, dword [ebx + 0x64]
add edx, dword [ebx + 0x6c]
mov ecx, dword [ebx + 0x30]
lea edx, [ecx + edx]
mov ecx, esi
call fcn.002902d0
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x2906ab
mov eax, dword [ebx + 0x64]
mov edx, dword [ebx + 0x30]
movzx eax, byte [edx + eax]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x30]
movzx edx, byte [ecx + edx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x2906c0
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x2905aa
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x291590
Capabilities:
Hash data with crc32

Disassembly:
push ebx
xor ebx, ebx
mov ecx, 0x2b98bc
mov eax, ebx
mov edx, 8
test al, 1
je 0x2915ac
shr eax, 1
xor eax, 0xedb88320
jmp 0x2915ae
shr eax, 1
dec edx
jne 0x29159f
mov dword [ecx], eax
inc ebx
add ecx, 4
cmp ebx, 0x100
jne 0x291598
pop ebx
ret
Function at 0x2915c4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00284534
xor eax, eax
push ebp
push 0x291633
push dword fs:[eax]
mov dword fs:[eax], esp
or ebx, 0xffffffff
mov eax, dword [ebp - 4]
call fcn.00284344
test eax, eax
jle 0x29161b
mov edx, 1
mov ecx, dword [ebp - 4]
movzx ecx, byte [ecx + edx - 1]
mov esi, ebx
and esi, 0xff
xor ecx, esi
mov ecx, dword [ecx*4 + 0x2b98bc]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x2915f7
not ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x29163a
lea eax, [ebp - 4]
call fcn.00284074
ret

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

Disassembly:
push ebx
push esi
push ecx
mov dword [esp], eax
or eax, 0xffffffff
dec edx
test edx, edx
jl 0x291678
inc edx
xor ecx, ecx
mov ebx, dword [esp]
movzx ebx, byte [ebx + ecx]
mov esi, eax
and esi, 0xff
xor ebx, esi
mov ebx, dword [ebx*4 + 0x2b98bc]
shr eax, 8
xor ebx, eax
mov eax, ebx
inc ecx
dec edx
jne 0x291655
not eax
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push ecx
mov dword [esp], eax
or eax, 0xffffffff
dec edx
test edx, edx
jl 0x2916b4
inc edx
xor ecx, ecx
mov ebx, dword [esp]
movzx ebx, byte [ebx + ecx]
mov esi, eax
and esi, 0xff
xor ebx, esi
mov ebx, dword [ebx*4 + 0x2b98bc]
shr eax, 8
xor ebx, eax
mov eax, ebx
inc ecx
dec edx
jne 0x291691
not eax
pop edx
pop esi
pop ebx
ret
Function at 0x2917fc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00284534
xor eax, eax
push ebp
push 0x291955
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00284074
mov eax, dword [ebp - 4]
call fcn.00284344
mov edi, eax
test edi, edi
je 0x29193f
mov eax, dword [ebp - 4]
call fcn.002915c4
mov dword [ebp - 0xc], eax
lea edx, [edi + 4]
lea eax, [ebp - 4]
call fcn.00284688
lea eax, [ebp - 4]
call fcn.0028459c
lea edx, [eax + edi]
lea eax, [ebp - 0xc]
mov ecx, 4
call fcn.00282a8c
mov eax, dword [ebp - 4]
call fcn.00284344
mov edi, eax
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 0x10], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xf], al
mov eax, ebx
shr eax, 8
mov byte [ebp - 0xe], al
mov byte [ebp - 0xd], bl
dec esi
cmp esi, 0
jb 0x291934
mov dword [ebp - 8], esi
lea eax, [ebp - 4]
call fcn.0028459c
mov edx, dword [ebp - 4]
mov dl, byte [edx]
mov cl, byte [ebp - 0xf]
add dl, cl
mov byte [eax], dl
mov esi, edi
sub esi, 2
jb 0x2918e2
inc esi
mov ebx, 2
lea eax, [ebp - 4]
call fcn.0028459c
mov edx, dword [ebp - 4]
mov dl, byte [edx + ebx - 2]
mov ecx, dword [ebp - 4]
mov cl, byte [ecx + ebx - 1]
add dl, cl
mov cl, byte [ebp - 0xd]
xor dl, cl
mov byte [eax + ebx - 1], dl
inc ebx
dec esi
jne 0x2918bd
lea eax, [ebp - 4]
call fcn.0028459c
mov edx, dword [ebp - 4]
mov dl, byte [edx + edi - 1]
mov cl, byte [ebp - 0x10]
add dl, cl
mov byte [eax + edi - 1], dl
mov ebx, edi
dec ebx
cmp ebx, 1
jb 0x291927
lea eax, [ebp - 4]
call fcn.0028459c
mov edx, dword [ebp - 4]
mov dl, byte [edx + ebx]
mov ecx, dword [ebp - 4]
mov cl, byte [ecx + ebx - 1]
add dl, cl
mov cl, byte [ebp - 0xe]
xor dl, cl
mov byte [eax + ebx - 1], dl
dec ebx
test ebx, ebx
jne 0x291902
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xffffffff
jne 0x29189c
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 4]
call fcn.002840c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x29195c
lea eax, [ebp - 4]
call fcn.00284074
ret