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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b7a88
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 0xa23f88
inc eax
mov dword [esi + 0x10], eax
jmp 0xa2409b
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0xa23f9c
mov eax, 0xffffffc7
jmp 0xa2409d
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0xa23fad
cmp dword [esi + 8], eax
jne 0xa23f9c
cmp dword [esi + 8], eax
jne 0xa23fc6
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0xa23fc6
mov eax, 0xffffffc7
jmp 0xa2409d
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0xa23fda
push eax
mov ecx, ebx
call fcn.00a2377f
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.009f916f
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0xa2400b
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.009f918f
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00a22eef
test eax, eax
mov dword [esp + 0x38], eax
je 0xa2403e
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], reloc.MSVCRT.dll_strncpy
mov dword [esp + 0x10], 0x4c6988
call fcn.009f936f
mov eax, dword [esp + 0x38]
jmp 0xa2409d
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00a23daf
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0xa24082
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00a23dcf
mov esi, eax
test esi, esi
jne 0xa240b2
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00a23daf
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0xa24054
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], reloc.MSVCRT.dll_strncpy
mov dword [esp + 0x10], 0x4c6988
call fcn.009f936f
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], reloc.MSVCRT.dll_strncpy
mov dword [esp + 0x10], 0x4c6988
call fcn.009f936f
mov eax, esi
jmp 0xa2409d
Function at 0xa3483f
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4b8378
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 [fcn.004ba570]
push 0
lea ecx, [esp + 0x20]
call fcn.00a76b01
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00a3419f
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.00a76a2f
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.00a73324
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.00a73324
push 1
push 0
push 0
mov ecx, esi
call fcn.00a732cc
push 1
push 0
push 1
mov ecx, esi
call fcn.00a732cc
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], reloc.MSVCRT.dll_strncpy
call fcn.00a76b73
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0xa349bf
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4b8398
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.00a76b01
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00a3419f
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.00a76a2f
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [fcn.004ba570]
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 0xa34a83
cmp dword [esp + 0x40], 1
jne 0xa34a81
cmp ecx, eax
jge 0xa34a83
mov eax, ecx
cmp eax, 0xc8
jge 0xa34a8f
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00a3483f
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [fcn.004ba56c]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], reloc.MSVCRT.dll_strncpy
call fcn.00a76b73
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0xa3527f
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4b8443
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.00a7175b
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], 0x4c8418
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], 0x4c8360
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 [fcn.004ba050]
push eax
mov ecx, edi
call fcn.00a76da9
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00a782c5
test eax, eax
je 0xa3539b
mov ecx, dword [esp + 0x3c]
call fcn.00a76dd6
mov ecx, dword [esi + 0x1c]
mov ebp, dword [fcn.004ba590]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0xa3535f
push edi
mov ecx, esi
call fcn.00a7443f
mov ecx, esi
call fcn.00a3553f
cmp dword [esp + 0x38], 1
jne 0xa35394
or ecx, reloc.MSVCRT.dll_strncpy
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.00a7457a
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 0xa3757f
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0xa375b2
push esi
call fcn.00a4594f
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0xa375ab
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 0xa37638
mov eax, dword [esi + reloc.MSVCRT.dll_strncpy]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0xa37621
mov eax, dword [esi + 8]
test eax, eax
je 0xa375d6
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + reloc.MSVCRT.dll_strncpy]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0xa3761d
cmp eax, 2
je 0xa37621
mov ecx, dword [esi + 8]
test ecx, ecx
je 0xa375c9
cmp eax, 3
je 0xa375fc
cmp eax, 1
jne 0xa375c9
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 0xa375c9
mov edx, dword [esi + reloc.MSVCRT.dll_strncpy]
add edx, ecx
mov dword [eax + 8], edx
jmp 0xa375c9
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00a3765f
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0xa37647
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00a3765f
add esp, 4
pop esi
ret

Function at 0xa5c8af
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cb120
push 0x49c938
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
rdtsc
mov esi, eax
mov edi, edx
call ebx
rdtsc
pop ebx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], reloc.MSVCRT.dll_strncpy
xor esi, esi
mov edi, dword [ebp - 0x20]
push 1
push esi
push esi
mov eax, dword [ebp - 0x28]
push eax
call fcn.00a6069f
sub eax, esi
sbb edx, edi
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
sbb edx, esi
mov ecx, dword [ebp - 0x24]
add eax, ecx
adc edx, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xa5d68f
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x2820
call fcn.00a60fbf
mov eax, dword [esp + reloc.MSVCRT.dll_strncpy]
push ebx
push esi
push edi
push eax
lea ecx, [esp + 0x20]
push 0x4e6fc8
push ecx
call fcn.00a6233f
add esp, 0xc
lea edx, [esp + 0x1c]
push 0
push 0
push 3
push 0
push 3
push 0
push edx
call dword [fcn.004ba27c]
mov esi, eax
cmp esi, reloc.MSVCRT.dll_strncpy
je 0xa5d83c
xor eax, eax
mov ecx, 0x9c4
mov dword [esp + 0x10], eax
lea edi, reloc.MSVCRT.dll_strncpy
mov dword [esp + 0x14], eax
mov ebx, dword [fcn.004ba280]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
push eax
push ecx
lea edx, reloc.MSVCRT.dll_strncpy
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
push 0x2710
push edx
lea eax, [esp + 0x20]
push 0xc
push eax
push 0x2d1400
push esi
mov dword [esp + 0x2c], 0
call ebx
test eax, eax
je 0xa5d83c
mov ecx, dword [esp + reloc.MSVCRT.dll_strncpy]
mov edx, dword [esp + reloc.MSVCRT.dll_strncpy]
push ecx
push 0
lea eax, reloc.MSVCRT.dll_strncpy
push edx
push eax
call fcn.00a5d84f
mov ecx, dword [esp + reloc.MSVCRT.dll_strncpy]
mov edx, dword [esp + reloc.MSVCRT.dll_strncpy]
push ecx
push 0
lea eax, reloc.MSVCRT.dll_strncpy
push edx
push eax
call fcn.00a5d84f
mov ecx, dword [esp + reloc.MSVCRT.dll_strncpy]
mov edx, dword [esp + reloc.MSVCRT.dll_strncpy]
push ecx
push 0
lea eax, reloc.MSVCRT.dll_strncpy
push edx
push eax
call fcn.00a5d84f
mov ecx, dword [esp + reloc.MSVCRT.dll_strncpy]
mov edx, dword [esp + reloc.MSVCRT.dll_strncpy]
push ecx
push 1
lea eax, reloc.MSVCRT.dll_strncpy
push edx
push eax
call fcn.00a5d84f
mov ecx, dword [esp + reloc.MSVCRT.dll_strncpy]
add esp, 0x40
xor eax, eax
lea edi, reloc.MSVCRT.dll_strncpy
mov dword [ecx], 1
mov ecx, 0x9c4
lea edx, [esp + 0xc]
push eax
rep stosd dword es:[edi], eax
push edx
lea eax, reloc.MSVCRT.dll_strncpy
push 0x2710
push eax
push 0
push 0
push 0x700a0
push esi
call ebx
test eax, eax
je 0xa5d83c
mov edi, dword [esp + reloc.MSVCRT.dll_strncpy]
mov edx, dword [esp + reloc.MSVCRT.dll_strncpy]
mov eax, dword [esp + reloc.MSVCRT.dll_strncpy]
xor ecx, ecx
cmp edi, 0xc
push esi
setne cl
inc ecx
mov dword [edx], ecx
mov ecx, dword [esp + reloc.MSVCRT.dll_strncpy]
mov edx, dword [esp + reloc.MSVCRT.dll_strncpy]
mov dword [eax], ecx
mov dword [eax + 4], edx
call dword [fcn.004ba368]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x2820
ret
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x2820
ret
Function at 0xb0264b
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016d4e3
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [reloc.MSVCRT.dll_strncpy]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
push ebx
mov esi, 1
push esi
push esi
mov dword [ebp - 4], ebx
push ebx
mov dword [edi], reloc.MSVCRT.dll_strncpy
call dword [0x10171178]
xor ecx, ecx
cmp eax, ebx
setne cl
mov dword [edi + 4], eax
cmp ecx, ebx
jne 0xb026a8
push 0x80004005
call fcn.00af4aab
mov byte [ebp - 4], 1
test byte [0x10204d80], 1
mov dword [edi + 8], esi
jne 0xb026f8
or dword [reloc.MSVCRT.dll_strncpy], esi
mov esi, dword [reloc.MSVCRT.dll_strncpy]
lea edx, [ebp - 0x30]
push edx
call esi
mov eax, dword [ebp - 0x1c]
lea ecx, [eax + eax + 2]
cmp ecx, 0x200
jae 0xb026ee
lea edx, [ebp - 0x54]
push edx
call esi
mov eax, dword [ebp - 0x40]
lea ecx, [eax + eax + 2]
mov dword [reloc.MSVCRT.dll_strncpy], ecx
jmp 0xb026f8
mov dword [reloc.MSVCRT.dll_strncpy], 0x200
mov edx, dword [reloc.MSVCRT.dll_strncpy]
mov dword [edi + 0xc], edx
mov dword [edi + 0x18], 0x598
mov dword [edi + 0x1c], 0x12c
mov dword [edi + 0x20], ebx
mov dword [edi + 0x24], 1
mov dword [edi + 0x28], ebx
mov dword [edi + 0x2c], reloc.MSVCRT.dll_strncpy
mov eax, 0x400
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
xor eax, eax
mov word [edi + 0x30], ax
mov dword [edi + 0x32], eax
mov dword [edi + 0x36], eax
mov dword [edi + 0x3a], eax
mov dword [edi + 0x3e], eax
mov dword [edi + 0x42], eax
mov dword [edi + 0x46], eax
mov dword [edi + 0x4a], eax
mov dword [edi + 0x4e], eax
mov dword [edi + 0x52], eax
mov dword [edi + 0x56], eax
mov dword [edi + 0x5a], eax
mov dword [edi + 0x5e], eax
mov dword [edi + 0x62], eax
lea esi, [edi + 0x68]
mov word [edi + 0x66], ax
call fcn.00b0790b
mov edx, dword [ebp + 0xc]
mov dword [edi + reloc.MSVCRT.dll_strncpy], ebx
mov dword [edi + reloc.MSVCRT.dll_strncpy], ebx
mov dword [edi + reloc.MSVCRT.dll_strncpy], ebx
mov dword [edi + reloc.MSVCRT.dll_strncpy], esi
mov dword [edi + reloc.MSVCRT.dll_strncpy], edx
mov dword [edi + reloc.MSVCRT.dll_strncpy], reloc.MSVCRT.dll_strncpy
mov dword [edi + reloc.MSVCRT.dll_strncpy], ebx
mov dword [edi + reloc.MSVCRT.dll_strncpy], 3
mov dword [edi + reloc.MSVCRT.dll_strncpy], ebx
mov dword [edi + reloc.MSVCRT.dll_strncpy], ebx
mov dword [edi + reloc.MSVCRT.dll_strncpy], ebx
mov dword [edi + reloc.MSVCRT.dll_strncpy], ebx
mov dword [edi + reloc.MSVCRT.dll_strncpy], ebx
mov dword [edi + reloc.MSVCRT.dll_strncpy], ebx
mov dword [edi + reloc.MSVCRT.dll_strncpy], ebx
mov dword [edi + reloc.MSVCRT.dll_strncpy], ebx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0xb0333b
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016d4a8
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [reloc.MSVCRT.dll_strncpy]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edi, edi
push edi
push 1
push 1
mov dword [ebp - 4], edi
push edi
mov dword [esi], reloc.MSVCRT.dll_strncpy
call dword [0x10171178]
mov dword [esi + 4], eax
cmp eax, edi
jne 0xb0338a
push 0x80004005
call fcn.00af4aab
mov dword [esi + 0x1c], reloc.MSVCRT.dll_strncpy
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
xor eax, eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], 0x8ca0
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x18], 3
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0xb0e77b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebx + 8]
mov eax, ecx
push edi
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0xb0e78b
sub eax, edi
add eax, ecx
mov edx, 0x811c9dc5
cmp ecx, eax
je 0xb0e7af
movsx edi, byte [ecx]
imul edx, edx, 0x1000193
inc ecx
xor edx, edi
cmp ecx, eax
jne 0xb0e79f
mov ecx, dword [esi + 0x20]
mov eax, ecx
and eax, edx
cmp dword [esi + 0x24], eax
ja 0xb0e7c4
shr ecx, 1
or edx, reloc.MSVCRT.dll_strncpy
sub edx, ecx
add eax, edx
mov ecx, dword [esi + 0x10]
cmp dword [ecx + eax*8 + 4], ebx
lea ecx, [ecx + eax*8]
jne 0xb0e7ed
cmp dword [ecx], ebx
jne 0xb0e7e5
mov edx, dword [esi + 4]
mov dword [ecx], edx
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 4]
mov dword [ecx + eax*8 + 4], edx
jmp 0xb0e7f5
mov eax, dword [ebx + 4]
mov dword [ecx + 4], eax
jmp 0xb0e7f5
cmp dword [ecx], ebx
jne 0xb0e7f8
mov edx, dword [ebx]
mov dword [ecx], edx
mov ebx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
lea edi, [esi + 4]
call fcn.00b0e81b
pop edi
mov eax, ebx
pop ebx
pop ebp
ret 8
Function at 0xb0e9bb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [eax]
mov eax, ecx
mov dword [esp + 0x10], edi
lea esi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0xb0e9db
sub eax, esi
add eax, ecx
mov edx, 0x811c9dc5
cmp ecx, eax
je 0xb0e9ff
movsx esi, byte [ecx]
imul edx, edx, 0x1000193
inc ecx
xor edx, esi
cmp ecx, eax
jne 0xb0e9ef
mov eax, dword [edi + 0x20]
mov ebx, eax
and ebx, edx
cmp dword [edi + 0x24], ebx
ja 0xb0ea14
shr eax, 1
or ecx, reloc.MSVCRT.dll_strncpy
sub ecx, eax
add ebx, ecx
mov edx, dword [edi + 0x10]
mov ecx, dword [edx + ebx*8]
mov esi, dword [edi + 4]
add edi, 4
lea eax, [edx + ebx*8]
cmp esi, ecx
je 0xb0ea59
mov eax, dword [eax + 4]
mov esi, dword [eax]
cmp esi, ecx
je 0xb0ea59
mov esi, dword [esi + 4]
mov eax, dword [esi + 8]
test eax, eax
je 0xb0eaa1
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
push eax
push ecx
call fcn.00c487ec
add esp, 8
test eax, eax
je 0xb0ea98
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x10]
cmp esi, dword [eax + ebx*8]
jne 0xb0ea30
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx]
cmp esi, eax
je 0xb0ea71
push eax
push ecx
push esi
mov ecx, edi
mov edx, edi
call fcn.00b3f1ab
mov ecx, dword [ebp + 0x10]
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x10]
lea eax, [edx + ebx*8]
mov edx, dword [eax]
mov dword [esp + 0x14], ecx
cmp edx, dword [edi]
jne 0xb0eadf
mov edx, dword [esp + 0x14]
mov dword [eax], ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x10]
mov dword [ecx + ebx*8 + 4], edx
jmp 0xb0eb09
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
test eax, eax
jne 0xb0eaab
push 0x80004005
call fcn.00af4aab
mov ecx, dword [esi + 8]
push eax
push ecx
call fcn.00c487ec
add esp, 8
test eax, eax
je 0xb0eac0
mov esi, dword [esi]
jmp 0xb0ea59
mov edx, dword [ebp + 0x10]
push edx
lea ebx, [esp + 0x18]
call fcn.00b0e81b
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp edx, esi
jne 0xb0eae7
mov dword [eax], ecx
jmp 0xb0eb09
mov ecx, dword [eax + 4]
mov ecx, dword [ecx]
mov dword [eax + 4], ecx
cmp ecx, dword [esp + 0x14]
je 0xb0eb09
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x10]
mov ecx, dword [eax + ebx*8 + 4]
mov edx, dword [ecx + 4]
lea ebx, [eax + ebx*8 + 4]
mov dword [ebx], edx
mov edi, dword [esp + 0x10]
call fcn.00b0ebfb
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
pop edi
pop esi
mov dword [eax], ecx
mov byte [eax + 4], 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0xb1f20b
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10170060
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [reloc.MSVCRT.dll_strncpy]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
push eax
mov esi, ecx
call fcn.00b0f3eb
xor edi, edi
mov dword [esp + 0x48], edi
mov edx, dword [reloc.MSVCRT.dll_strncpy]
mov eax, dword [edx + 0xc]
mov ecx, 0x101fda90
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
lea esi, [esp + 0x18]
call fcn.00b0f64b
mov esi, dword [ebp + 8]
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x4c], 2
call fcn.00b0f3eb
mov esi, dword [ebp + 0xc]
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0x4c], 3
call fcn.00b0f3eb
mov byte [esp + 0x48], 4
or eax, reloc.MSVCRT.dll_strncpy
lea ebx, [esp + 0x1c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
call fcn.00b2061b
mov edi, eax
call fcn.00b2053b
xor edx, edx
lea ecx, [esp + 0x20]
call fcn.00b1ddab
lea ecx, [esp + 0x14]
mov dword [esp + 0x48], 5
call fcn.00b1f2fb
lea esi, [esp + 0x14]
mov edi, eax
call fcn.00b0e6fb
mov eax, edi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0xb20b5b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push esi
mov eax, ecx
push edi
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0xb20b6b
sub eax, esi
add eax, ecx
mov edx, 0x811c9dc5
cmp ecx, eax
je 0xb20b8f
movsx esi, byte [ecx]
imul edx, edx, 0x1000193
inc ecx
xor edx, esi
cmp ecx, eax
jne 0xb20b7f
mov eax, dword [ebx + 0x20]
mov esi, eax
and esi, edx
cmp dword [ebx + 0x24], esi
ja 0xb20ba4
shr eax, 1
or ecx, reloc.MSVCRT.dll_strncpy
sub ecx, eax
add esi, ecx
mov edx, dword [ebx + 0x10]
mov edi, dword [edx + esi*8]
mov dword [ebp - 4], edi
mov ecx, dword [ebx + 0x10]
mov eax, dword [ebx + 4]
cmp dword [ecx + esi*8], eax
lea ecx, [ecx + esi*8]
je 0xb20bc0
mov edx, dword [ecx + 4]
mov eax, dword [edx]
cmp edi, eax
je 0xb20c40
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
test eax, eax
je 0xb20be2
mov ecx, dword [edi + 8]
push eax
push ecx
call fcn.00c487ec
add esp, 8
test eax, eax
je 0xb20bef
mov edi, dword [edi]
jmp 0xb20bad
push 0x80004005
mov dword [ebp - 4], edi
call fcn.00af4aab
mov eax, dword [edi + 8]
mov dword [ebp - 4], edi
test eax, eax
jne 0xb20c03
push 0x80004005
call fcn.00af4aab
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
push eax
push ecx
call fcn.00c487ec
add esp, 8
test eax, eax
je 0xb20c2e
mov edx, dword [ebx + 4]
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], edx
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 4]
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebx + 4]
mov eax, dword [ebp + 8]
mov dword [ebp - 4], edi
pop edi
mov dword [eax], edx
pop esi
mov esp, ebp
pop ebp
ret 8