joyce8/EMBER2024-capa huggingface dataset:
Function at 0x437650
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
movzx eax, byte [edi]
xor eax, 0x811c9dc5
mov esi, dword [ebx + 4]
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x18]
and ecx, eax
lea edx, [ecx*8]
mov ecx, dword [ebx + 0xc]
mov dword [ebp + 0xc], edx
mov eax, dword [ecx + edx]
cmp esi, eax
je 0x4376c1
mov esi, dword [ecx + edx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x4376c1
mov ecx, dword [edi]
mov esi, dword [esi + 4]
cmp ecx, dword [esi + 8]
je 0x437705
cmp esi, eax
jne 0x4376b5
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
cmp esi, eax
je 0x4376ee
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov edx, dword [esi + 4]
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebx + 0xc]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx + 4]
jne 0x43773b
mov dword [ecx], edi
mov eax, dword [ebx + 0xc]
mov dword [edx + eax + 4], edi
jmp 0x43775d
mov edi, dword [ebp + 0x10]
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov dword [ecx], eax
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
lea ecx, [edi + 0xc]
dec dword [ebx + 8]
call fcn.004079d0
push edi
call fcn.004ff607
mov eax, dword [ebp + 8]
add esp, 4
pop edi
mov dword [eax], esi
pop esi
mov byte [eax + 4], 0
pop ebx
pop ebp
ret 0xc
cmp eax, esi
jne 0x437743
mov dword [ecx], edi
jmp 0x43775d
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x43775d
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
call fcn.004378c0
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
pop esi
mov byte [eax + 4], 1
pop ebx
pop ebp
ret 0xc

Function at 0x437fb0
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb8
push ebx
push esi
xor ebx, ebx
mov esi, ecx
mov dword [esp + 0xc], ebx
call fcn.00438040
push ebx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x438015
cmp dword [0x5d62e8], 3
jg 0x438007
push 3
push 0x23
push str.c:codeszm3rd_trunk_base_threading_thread_local_win.cc
lea ecx, [esp + 0x1c]
lea ebx, [eax + 2]
call fcn.0041d210
add eax, 8
push str.Failed_to_TlsSetValue__.
push eax
call fcn.004129e0
add esp, 8
test bl, 2
je 0x438015
lea ecx, [esp + 0x10]
call fcn.0041d2d0
mov edx, dword [esi]
test edx, edx
je 0x438036
lea esi, [edx + 4]
or eax, 0xffffffff
lock xadd dword [esi], eax
sub eax, 1
jne 0x438036
xor ecx, ecx
test esi, esi
cmovne ecx, edx
mov eax, dword [ecx]
call dword [eax + 0xc]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4387c0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push edi
mov edi, ecx
mov dword [ebp - 4], 0
call fcn.0042bec0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 1
cmp byte [eax + 0x6d], 0
lea eax, [ebp - 0x20]
je 0x43881c
push 0xf
push 0xf
push 0
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x438818
push 1
push 0x113
push 0x113
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x438818
xor dl, dl
jmp 0x43882e
mov dl, 1
jmp 0x43882e
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
setne dl
xor ecx, ecx
lea eax, [edi + 0x10]
xchg dword [eax], ecx
test dl, dl
jne 0x438840
xor al, al
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xc]
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
call fcn.00438680
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x4393a0
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x5bf23c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [0x5bfed8]
mov dword [ebp - 0x40c], 0
mov dword [ebp - 0x40c], ebx
push esi
push edi
cmp ebx, 0xffffffff
jne 0x439440
mov edi, dword [sym.imp.KERNEL32.dll_TlsAlloc]
call edi
mov esi, dword [sym.imp.KERNEL32.dll_TlsFree]
cmp eax, ebx
je 0x4393ed
mov ebx, eax
mov dword [ebp - 0x40c], ebx
jmp 0x43941e
cmp byte [0x5d7718], 0
jne 0x4394b7
int3
mov ecx, ebx
mov edx, 0x5bfed8
or eax, 0xffffffff
lock cmpxchg dword [edx], ecx
cmp eax, 0xffffffff
je 0x439440
push ebx
call esi
mov ebx, dword [0x5bfed8]
mov dword [ebp - 0x40c], ebx
push ebx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x439455
cmp byte [0x5d7718], 0
jne 0x4394c5
int3
push 0x400
lea eax, [ebp - 0x408]
push 0
push eax
call fcn.00505ae0
add esp, 0xc
lea eax, [ebp - 0x408]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 0x400
call fcn.004ff84f
add esp, 4
lea esi, [ebp - 0x408]
mov ebx, eax
mov ecx, 0x100
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
push ebx
push dword [ebp - 0x40c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ff5c3
mov esp, ebp
pop ebp
ret
push 1
call fcn.0050c2bb
push 1
call fcn.0050c2bb
push 1
call fcn.0050c2bb
int3
Function at 0x4394d0
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x40c
mov eax, dword [0x5bf23c]
xor eax, esp
mov dword [esp + 0x408], eax
mov eax, dword [0x5bfed8]
push ebx
push esi
mov ebx, ecx
mov dword [esp + 8], 0
push edi
mov ecx, 0x100
mov dword [esp + 0xc], eax
mov esi, ebx
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push ebx
call fcn.004ff84a
add esp, 4
mov edi, 0x100
nop word [eax + eax]
mov esi, dword [0x5d7824]
xor dl, dl
test esi, esi
jle 0x439568
nop dword [eax]
mov ecx, dword [esp + esi*4 + 0x10]
test ecx, ecx
je 0x439563
mov eax, dword [esi*4 + 0x5d6ce0]
test eax, eax
je 0x439563
push ecx
mov dword [esp + esi*4 + 0x14], 0
call eax
add esp, 4
mov dl, 1
dec esi
test esi, esi
jg 0x439540
dec edi
test edi, edi
jle 0x439571
test dl, dl
jne 0x439530
push 0
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [esp + 0x414]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004ff5c3
mov esp, ebp
pop ebp
ret

Function at 0x4395a0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x5bfed8]
mov dword [ebp - 4], 0
push esi
mov esi, ecx
cmp eax, 0xffffffff
je 0x4395c5
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x4395ca
call fcn.004393a0
mov eax, 1
mov ecx, 0x5d7824
lock xadd dword [ecx], eax
inc eax
mov dword [esi + 4], eax
cmp eax, 0x100
jl 0x4395ed
cmp byte [0x5d7718], 0
jne 0x439606
int3
mov ecx, eax
mov eax, dword [ebp + 8]
mov dword [ecx*4 + 0x5d6ce0], eax
mov dword [esi], 1
pop esi
mov esp, ebp
pop ebp
ret 4
push 1
call fcn.0050c2bb
int3

Function at 0x43c2a0
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x5bfed8]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
test ecx, ecx
jne 0x43c2ba
call fcn.004393a0
mov ecx, eax
mov eax, dword [0x5d7850]
mov eax, dword [ecx + eax*4]
test eax, eax
jne 0x43c306
push 0xc
call fcn.004ff5d4
mov esi, eax
add esp, 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov eax, dword [0x5bfed8]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x43c2fb
call fcn.004393a0
mov ecx, dword [0x5d7850]
mov dword [eax + ecx*4], esi
mov eax, esi
pop esi
ret
Function at 0x43d2f0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
movzx eax, byte [esi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [esi + 1]
xor edx, eax
movzx eax, byte [esi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [esi + 3]
mov esi, dword [ebx + 4]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x18]
and ecx, eax
shl ecx, 3
mov dword [ebp - 4], ecx
add ecx, dword [ebx + 0xc]
mov eax, dword [ecx]
cmp esi, eax
je 0x43d373
mov esi, dword [ecx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x43d373
mov edx, dword [ebp + 0xc]
mov ecx, dword [edx]
mov esi, dword [esi + 4]
cmp ecx, dword [esi + 8]
je 0x43d361
cmp esi, eax
jne 0x43d353
jmp 0x43d376
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
mov byte [eax + 4], 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp + 0xc]
mov eax, dword [ebx + 4]
lea ecx, [ebx + 4]
push edx
push dword [eax]
call fcn.0043d490
mov edi, dword [ebx + 4]
mov edi, dword [edi]
mov eax, dword [edi]
cmp esi, eax
je 0x43d3b0
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebp - 4]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx + 4]
jne 0x43d3ca
mov dword [ecx], edi
mov eax, dword [ebx + 0xc]
mov dword [edx + eax + 4], edi
jmp 0x43d3ec
cmp eax, esi
jne 0x43d3d2
mov dword [ecx], edi
jmp 0x43d3ec
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x43d3ec
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
call fcn.00437130
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
pop esi
mov byte [eax + 4], 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x443a80
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov dword [ebp - 8], 0
mov eax, dword [ecx + 0xc]
push esi
push edi
test eax, eax
je 0x443ab0
mov dword [ebp - 8], eax
mov ecx, 1
add eax, 4
lock xadd dword [eax], ecx
lea ecx, [ebp - 8]
mov ebx, 1
jmp 0x443ada
call fcn.00438040
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, 2
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x443ad7
mov ecx, 1
add eax, 4
lock xadd dword [eax], ecx
lea ecx, [ebp - 4]
mov esi, dword [ebp + 8]
or edi, 0xffffffff
mov eax, dword [ecx]
mov dword [ecx], 0
mov dword [esi], eax
test bl, 2
je 0x443b15
mov eax, dword [ebp - 4]
and ebx, 0xfffffffd
test eax, eax
je 0x443b15
lea ecx, [eax + 4]
mov eax, edi
lock xadd dword [ecx], eax
sub eax, 1
jne 0x443b15
lea eax, [ecx - 4]
neg ecx
sbb ecx, ecx
and ecx, eax
mov eax, dword [ecx]
call dword [eax + 0xc]
test bl, 1
je 0x443b3b
mov eax, dword [ebp - 8]
test eax, eax
je 0x443b3b
lea ecx, [eax + 4]
lock xadd dword [ecx], edi
sub edi, 1
jne 0x443b3b
lea edx, [ecx - 4]
neg ecx
sbb ecx, ecx
and ecx, edx
mov edx, dword [ecx]
call dword [edx + 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x444380
Capabilities:
Hash data using sha1

Disassembly:
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x168], 0
mov dword [ecx + 0x170], 0
mov dword [ecx + 0x174], 0
mov dword [ecx + 0x14], 0x67452301
mov dword [ecx + 0x18], 0xefcdab89
mov dword [ecx + 0x1c], 0x98badcfe
mov dword [ecx + 0x20], 0x10325476
mov dword [ecx + 0x24], 0xc3d2e1f0
ret
Function at 0x445720
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
push ebx
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov bl, byte [eax + 0x100]
mov cl, byte [eax + 0x101]
mov dword [ebp - 8], edx
test edx, edx
jle 0x4457a1
movzx ebx, bl
movzx ecx, cl
push esi
nop word [eax + eax]
inc bl
mov dh, bl
movzx ebx, dh
mov dl, byte [ebx + eax]
add cl, dl
movzx esi, cl
mov byte [ebp + 0xb], cl
mov dword [ebp - 0xc], esi
movzx ecx, byte [esi + eax]
mov byte [ebx + eax], cl
mov byte [esi + eax], dl
movzx ecx, byte [ebx + eax]
mov esi, dword [ebp - 4]
add cl, dl
movzx ecx, cl
movzx ecx, byte [ecx + eax]
xor byte [edi + esi], cl
inc edi
mov ecx, dword [ebp - 0xc]
cmp edi, dword [ebp - 8]
jl 0x445750
mov cl, byte [ebp + 0xb]
pop esi
pop edi
mov byte [eax + 0x100], dh
mov byte [eax + 0x101], cl
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov byte [eax + 0x100], bl
mov byte [eax + 0x101], cl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44b5f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x44b609
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x44b646
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x44b642
nop word [eax + eax]
cmp esi, edx
jae 0x44b646
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x44b630
cmp esi, edx
jb 0x44b64d
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x44d220
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push esi
push edi
mov dword [ecx + 0x1384], 0xffffffff
lea edi, [ecx + 8]
mov dword [ecx + 4], edx
mov esi, 1
nop dword [eax]
mov eax, edx
lea edi, [edi + 4]
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, esi
inc esi
mov dword [edi - 4], edx
cmp esi, 0x270
jl 0x44d240
pop edi
mov dword [ecx], 0x270
mov eax, ecx
pop esi
pop ebp
ret 0xc

Function at 0x44d8e0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
lea eax, [ecx + 8]
mov esi, 0x270
nop dword [eax]
mov edx, dword [eax - 4]
lea eax, [eax + 4]
xor edx, dword [eax - 4]
and edx, 0x7fffffff
xor edx, dword [eax - 8]
mov ecx, edx
and cl, 1
movzx ecx, cl
neg ecx
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [eax + 0x62c]
xor ecx, edx
mov dword [eax + 0x9b8], ecx
sub esi, 1
jne 0x44d8f0
pop esi
ret

Function at 0x44d930
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
mov ebx, ecx
mov ecx, 0xe3
push esi
push edi
lea edi, [ebx + 0x9c4]
mov edx, dword [edi + 4]
lea edi, [edi + 4]
xor edx, dword [edi - 4]
and edx, 0x7fffffff
xor edx, dword [edi - 4]
mov eax, edx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr edx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x630]
xor eax, edx
mov dword [edi - 0x9c4], eax
sub ecx, 1
jne 0x44d940
lea esi, [ebx + 0xd50]
mov edi, 0x18c
mov ecx, dword [esi + 4]
lea esi, [esi + 4]
xor ecx, dword [esi - 4]
and ecx, 0x7fffffff
xor ecx, dword [esi - 4]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi - 0xd50]
xor eax, ecx
mov dword [esi - 0x9c4], eax
sub edi, 1
jne 0x44d982
mov ecx, dword [ebx + 0x1380]
xor ecx, dword [ebx + 4]
and ecx, 0x7fffffff
xor ecx, dword [ebx + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx + 0x634]
xor eax, ecx
mov dword [ebx + 0x9c0], eax
mov dword [ebx], edi
pop edi
pop esi
pop ebx
ret
Function at 0x454510
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
push 0
push 0
push 1
push 0
mov dword [ebp - 0xc], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0x4544f0
push 0
push 0
call fcn.005157d4
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
add esp, 0x18
mov dword [ebp - 4], eax
push 0
push dword [ebp - 8]
call esi
cmp eax, 0x102
jne 0x4545a0
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
nop dword [eax]
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x28]
push eax
call edi
test eax, eax
je 0x454592
lea eax, [ebp - 0x28]
push eax
call ebx
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push dword [ebp - 8]
call esi
cmp eax, 0x102
je 0x454570
push dword [ebp - 8]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 4]
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x454710
Capabilities:
Get hostname
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x5bf23c]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.00454510
call fcn.00454600
test al, al
je 0x454741
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff5c3
mov esp, ebp
pop ebp
ret
push 0x400
lea eax, [ebp - 0x408]
push 0
push eax
call fcn.00505ae0
add esp, 0xc
mov dword [ebp - 0x40c], 0x400
lea eax, [ebp - 0x40c]
push eax
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov edx, dword [ebp - 0x40c]
lea ecx, [ebp - 0x408]
call fcn.004545c0
cmp eax, 0x1d52f71
je 0x454731
lea eax, [ebp - 0x40c]
mov dword [ebp - 0x40c], 0x400
push eax
lea eax, [ebp - 0x408]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetComputerNameExA]
mov edx, dword [ebp - 0x40c]
lea ecx, [ebp - 0x408]
call fcn.004545c0
cmp eax, 0xe0decd8
je 0x454731
call fcn.00454600
test al, al
jne 0x454731
lea eax, [ebp - 0x40c]
mov dword [ebp - 0x40c], 0x400
push eax
lea eax, [ebp - 0x408]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GetComputerNameExA]
mov edx, dword [ebp - 0x40c]
lea ecx, [ebp - 0x408]
call fcn.004545c0
cmp eax, 0xe0decd8
je 0x454731
call fcn.00454600
mov ecx, dword [ebp - 4]
test al, al
setne al
xor ecx, ebp
call fcn.004ff5c3
mov esp, ebp
pop ebp
ret
Function at 0x4552c0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5b3838
push 0x508020
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5bf23c]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov eax, ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x455313
push 0xc1
jmp 0x4553fb
mov ebx, dword [eax + 0x3c]
add ebx, eax
cmp dword [ebx], 0x4550
je 0x45532a
push 0xbf
jmp 0x4553fb
movzx eax, word [ebx + 0x14]
test ax, ax
je 0x4553f6
lea ecx, [ebx + 0x18]
add ecx, eax
mov dword [ebp - 0x24], ecx
xor esi, esi
mov dword [ebp - 0x20], esi
movzx eax, word [ebx + 6]
cmp esi, eax
jae 0x4553f6
lea eax, [esi + esi*4]
lea edi, [ecx + eax*8]
mov ecx, str..ress
mov eax, edi
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x455380
test dl, dl
je 0x45537c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x455380
add eax, 2
add ecx, 2
test dl, dl
jne 0x455360
xor eax, eax
jmp 0x455385
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4553d7
mov eax, dword [edi + 0xc]
test eax, eax
je 0x4553f6
cmp dword [edi + 0x10], 0
je 0x4553f6
mov esi, dword [ebp - 0x1c]
add esi, eax
mov eax, dword [esi]
cmp eax, 0x1c
jb 0x4553f6
cmp dword [esi + 4], 0x72657373
jne 0x4553f6
cmp dword [esi + 8], 0
jne 0x4553b4
mov dword [esi + 8], eax
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
inc esi
mov ecx, dword [ebp - 0x24]
jmp 0x455341
push 0xc0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x456ac0
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x570e53
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x5bf23c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0xa0], edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x90], 0
mov byte [ebp - 0x8c], 0
mov dword [ebp - 0x88], 2
mov dword [ebp - 0x94], 0x5ac7a4
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
lea eax, [ebp - 0x94]
mov dword [ebp - 4], 0
push eax
call fcn.00456a30
add esp, 4
test al, al
je 0x456c80
mov eax, dword [ebp - 0x80]
xor esi, esi
mov dword [ebp - 0x9c], eax
test eax, eax
jle 0x456c2a
lea edi, [ebx + 4]
lea ecx, [ebp - 0x70]
call fcn.00455730
sub esp, 8
mov byte [ebp - 4], 1
lea eax, [ebp - 0x71]
mov dword [ebp - 0x98], 0
mov byte [ebp - 0x71], 0
push eax
push ecx
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x70]
push eax
push esi
lea ecx, [ebp - 0x94]
call fcn.00455a90
test edi, edi
je 0x456c0b
cmp byte [ebp - 0x28], 0
je 0x456c0b
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
setne al
test al, al
je 0x456c0b
cmp byte [ebx + 0x48], 0
je 0x456c0b
push edi
call dword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
setne al
test al, al
je 0x456c0b
push edi
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
setne al
test al, al
je 0x456c0b
mov eax, dword [ebp - 0x98]
and eax, 0x1f01ff
cmp eax, 0x1f01ff
jne 0x456c0b
movzx eax, byte [ebp - 0x71]
and al, 0xef
je 0x456c74
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0
call fcn.00455800
inc esi
cmp esi, dword [ebp - 0x9c]
jl 0x456b71
mov edi, dword [ebp - 0xa0]
sub esp, 8
lea ecx, [ebp - 0x94]
push ebx
call fcn.00455d40
test al, al
je 0x456c80
test edi, edi
je 0x456c80
push 0
lea ecx, [ebp - 0x94]
call fcn.00455b40
push eax
push 0
push 0
push 4
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
test esi, esi
sete al
test al, al
je 0x456c80
xor esi, esi
jmp 0x456c9e
lea ecx, [ebp - 0x70]
call fcn.00455800
xor esi, esi
jmp 0x456c9e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
je 0x456c99
jle 0x456c9e
movzx esi, si
or esi, 0x80070000
jmp 0x456c9e
mov esi, 0x80004005
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x94], 0x5ac7a4
test ecx, ecx
je 0x456cd9
mov edx, dword [ebp - 0x80]
call fcn.00457f00
push dword [ebp - 0x84]
call fcn.0050d84b
add esp, 4
mov dword [ebp - 0x84], 0
push dword [ebp - 0x90]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
call fcn.0050d84b
add esp, 4
mov dword [ebp - 0x90], 0
lea ecx, [ebp - 0x84]
call fcn.00457cf0
push dword [ebp - 0x90]
mov dword [ebp - 0x94], 0x5ac7f4
call fcn.0050d84b
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ff5c3
mov esp, ebp
pop ebp
ret