joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407438
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
sub esp, 0x14
push ebx
push esi
xor esi, esi
cmp edx, esi
mov dword [0x40d3ec], esi
je 0x407454
mov word [edx], si
mov ecx, dword [ebp + 0xc]
cmp ecx, esi
je 0x40745e
mov word [ecx], si
mov eax, dword [ebp + 0x10]
cmp eax, esi
je 0x407468
mov word [eax], si
cmp ecx, esi
jne 0x40747b
call fcn.00409596
mov ebx, 0x80070057
jmp 0x407629
cmp edx, esi
je 0x40746c
cmp eax, esi
je 0x40746c
lea eax, [ebp - 0x10]
push eax
call dword [0x401094]
push eax
call dword [0x401240]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
cmp eax, esi
jl 0x4074a5
mov dword [ebp - 8], eax
xor eax, eax
jmp 0x4074ae
or dword [ebp - 8], 0xffffffff
mov eax, 0x80070216
cmp eax, esi
mov ebx, eax
jge 0x4074be
call fcn.00409596
jmp 0x40761a
push edi
xor edi, edi
inc edi
cmp dword [ebp - 8], edi
jbe 0x407619
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0xc]
mov esi, dword [eax + edi*4]
movzx eax, word [esi]
cmp ax, 0x2d
je 0x407541
cmp ax, 0x2f
je 0x407541
mov eax, dword [0x40d3ec]
test eax, eax
je 0x4074f8
test al, 2
je 0x40760f
mov eax, dword [ebp + 8]
cmp word [eax], 0
jne 0x40760f
push eax
mov ebx, 0x144
lea eax, [ebp - 0x14]
mov edx, ebx
call fcn.004078de
test eax, eax
jl 0x407532
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, ebx
sub edx, eax
lea ecx, [ecx + eax*2]
push 0x7fffffff
mov eax, esi
call fcn.00407918
test eax, eax
mov ebx, eax
jl 0x407614
jmp 0x407600
inc esi
inc esi
push 0x404810
push esi
call dword [0x401210]
test eax, eax
pop ecx
pop ecx
jne 0x407561
or dword [0x40d3ec], 1
jmp 0x407600
push 0x404824
push esi
call dword [0x401210]
test eax, eax
pop ecx
pop ecx
jne 0x40757f
or dword [0x40d3ec], 3
jmp 0x407600
push 0x404830
push esi
call dword [0x401210]
test eax, eax
pop ecx
pop ecx
jne 0x4075b1
mov eax, dword [ebp - 4]
or dword [0x40d3ec], 8
cmp eax, dword [ebp - 8]
jae 0x407600
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp + 0x10]
inc edi
push dword [eax + edi*4]
mov edx, 0x144
jmp 0x4075df
push 0x40485c
push esi
call dword [0x401210]
test eax, eax
pop ecx
pop ecx
jne 0x40760f
mov eax, dword [ebp - 8]
or dword [0x40d3ec], 5
cmp dword [ebp - 4], eax
jae 0x407600
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp + 0xc]
inc edi
push dword [eax + edi*4]
push 0x40
pop edx
inc dword [ebp - 4]
mov ecx, esi
call fcn.0040795f
mov ebx, eax
test ebx, ebx
jl 0x407614
movzx eax, word [esi]
cmp ax, 0x2d
je 0x40760f
cmp ax, 0x2f
je 0x40760f
xor ebx, ebx
inc edi
inc dword [ebp - 4]
cmp edi, dword [ebp - 8]
jb 0x4074d2
jmp 0x407619
mov ebx, 0x80070057
call fcn.00409596
pop edi
cmp dword [ebp - 0xc], 0
je 0x407629
push dword [ebp - 0xc]
call dword [0x4010ac]
pop esi
mov eax, ebx
pop ebx
leave
ret 0xc
Function at 0x407dc9
Capabilities:
Set registry value

Disassembly:
push 1
mov ecx, 0x40d060
call fcn.00407e5c
cmp eax, 1
je 0x407df1
push 0x30
push 0xceb
push 0xcea
call fcn.00407fc4
mov eax, 0x80004005
ret
push esi
push 2
mov ecx, 0x40d020
call fcn.00407e5c
push 2
mov ecx, 0x40d040
mov esi, eax
call fcn.00407e5c
cmp esi, 1
je 0x407e53
test esi, esi
jne 0x407e1a
cmp eax, 1
je 0x407e53
cmp eax, 2
jne 0x407e3b
push 0x24
push 0xce7
push 0xce6
call fcn.00407fc4
cmp eax, 6
jne 0x407e4c
pop esi
jmp fcn.00407e8c
push 0x30
push 0xceb
push 0xcea
call fcn.00407fc4
mov eax, 0x80004005
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x407f11
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x810
mov eax, dword [0x40d010]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
lea eax, [ebp - 0x808]
push eax
push 1
xor edi, edi
push edi
push dword [esi + 4]
push dword [esi]
call dword [entry0]
test eax, eax
jne 0x407fb0
lea eax, [ebp - 0x80c]
push eax
lea eax, [ebp - 0x804]
push eax
lea eax, [ebp - 0x810]
push eax
push edi
push dword [esi + 8]
mov dword [ebp - 0x80c], 0x400
push dword [ebp - 0x808]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, edi
jne 0x407f9a
cmp dword [ebp - 0x810], 1
jne 0x407fa1
push dword [esi + 0xc]
lea eax, [ebp - 0x804]
push eax
call dword [0x4010b8]
xor ecx, ecx
test eax, eax
setne cl
inc ecx
mov edi, ecx
jmp 0x407fa4
cmp eax, 0xea
jne 0x407fa4
push 2
pop edi
push dword [ebp - 0x808]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, edi
xor ecx, ebp
pop edi
call fcn.0040a14f
leave
ret

Function at 0x409993
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x454
mov eax, dword [0x40d010]
xor eax, ebp
mov dword [ebp - 4], eax
push 4
call fcn.00405236
test eax, eax
je 0x4099bc
push 0x20
mov ecx, ebx
call fcn.00409858
push esi
push edi
xor edi, edi
push 0x38
lea eax, [ebp - 0x450]
push edi
push eax
mov dword [ebp - 0x454], edi
call fcn.0040b8b0
add esp, 0xc
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x414]
push eax
push 0x404ccc
mov esi, 0x404cd8
push esi
push 1
push edi
mov dword [ebp - 0x418], 0x208
call dword [0x40124c]
mov edi, eax
test edi, edi
jl 0x409a5f
lea eax, [ebp - 0x454]
push eax
mov dword [ebp - 0x454], 0x3c
mov dword [ebp - 0x450], 0x101
mov dword [ebp - 0x444], ebx
mov dword [ebp - 0x42c], esi
mov dword [ebp - 0x438], 0xa
call dword [0x40123c]
test eax, eax
jne 0x409a64
call dword [0x401114]
test eax, eax
jle 0x409a59
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
test edi, edi
jge 0x409a6e
call fcn.00409596
test edi, edi
jge 0x409a6e
push edi
call fcn.00409540
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0040a14f
leave
ret
Function at 0x409aa2
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
xor edi, edi
xor ebx, ebx
cmp dword [ebp + 8], edi
mov dword [ebp - 4], edi
mov dword [esi], eax
jne 0x409ac6
call fcn.00409596
mov ebx, 0x80070057
jmp 0x409b3f
lea eax, [ebp - 4]
push eax
push 0x20019
push edi
push 0x404210
push 0x80000002
call dword [entry0]
cmp eax, 2
je 0x409b0d
cmp eax, edi
jne 0x409b16
push 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 0xc]
push eax
push edi
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
jne 0x409b12
xor ebx, ebx
inc ebx
jmp 0x409b31
cmp eax, edi
je 0x409b31
call fcn.00409596
call dword [0x401114]
cmp eax, edi
jle 0x409b2f
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
cmp dword [ebp - 4], edi
je 0x409b3f
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, ebx
pop ebx
leave
ret 4

Function at 0x409b4c
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x40d010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea eax, [ebp - 0x41c]
push eax
push 0x20019
xor esi, esi
push esi
push 0x4049e8
push 0x80000002
mov ebx, ecx
mov dword [ebp - 0x418], esi
mov dword [ebp - 0x41c], esi
call dword [entry0]
cmp eax, 2
jne 0x409ba4
mov dword [ebp - 0x418], 1
jmp 0x409c65
cmp eax, esi
jne 0x409c46
push edi
mov dword [ebp - 0x420], 1
xor edi, edi
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x420]
push eax
push esi
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x414]
push eax
push edi
push dword [ebp - 0x41c]
mov dword [ebp - 0x428], 0x104
mov dword [ebp - 0x424], 0x208
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
inc edi
cmp eax, esi
jne 0x409c3e
cmp dword [ebp - 0x420], 1
jne 0x409bb9
push 0xc
call fcn.00409da1
cmp eax, esi
pop ecx
je 0x409c28
lea ecx, [ebp - 0x20c]
push ecx
mov esi, eax
call fcn.0040932e
jmp 0x409c2a
xor eax, eax
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.00409d2e
xor esi, esi
jmp 0x409bb9
cmp eax, 0x103
pop edi
je 0x409c65
call fcn.00409596
call dword [0x401114]
cmp eax, esi
jle 0x409c5f
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x418], eax
cmp dword [ebp - 0x41c], esi
pop esi
pop ebx
je 0x409c7b
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x418]
xor ecx, ebp
call fcn.0040a14f
leave
ret
Function at 0x40ab2b
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x40d010]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
cmp word [0x40d3dc], si
jne 0x40abc3
lea eax, [ebp - 0x10]
push eax
push 1
push esi
push 0x401878
push 0x80000002
mov dword [ebp - 0x14], 6
call dword [entry0]
test eax, eax
jne 0x40abc3
push edi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push esi
push 0x401930
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x10]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, esi
pop edi
jne 0x40abc3
push 3
push dword [esi*8 + 0x4016c8]
lea eax, [ebp - 0xc]
push eax
call fcn.0040a170
add esp, 0xc
test eax, eax
je 0x40abb5
inc esi
cmp esi, 0x1c
jb 0x40ab94
jmp 0x40abc3
mov ax, word [esi*8 + 0x4016cc]
mov word [0x40d3dc], ax
mov ecx, dword [ebp - 4]
mov ax, word [0x40d3dc]
xor ecx, ebp
pop esi
call fcn.0040a14f
leave
ret
Function at 0xba5c40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x9dc27f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push 0
mov dword [ebp - 0x10], esi
call fcn.00bd4070
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov byte [ebp - 4], 1
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
mov byte [ebp - 4], 2
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov byte [ebp - 4], 3
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov byte [ebp - 4], 4
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov byte [ebp - 4], 5
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
mov eax, dword [ebp + 8]
test eax, eax
je 0xba5ce6
push eax
push esi
call fcn.00bd4427
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
push 0x9f59b4
call fcn.00bd394a
int3

Function at 0xbb8060
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x9de3b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ebp - 0x10], ecx
mov dword [ecx], 0
mov byte [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ebp - 4], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
mov byte [ecx + 0x1c], 0
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x24], 0
mov byte [ecx + 0x28], 0
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0
mov byte [ecx + 0x34], 0
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0xbb9fb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x9dbfe0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
cmp dword [ebp + 0xc], 1
mov edx, ecx
push ebx
sete al
mov dword [ebp - 0x10], edx
push esi
mov byte [edx + 0x48], al
lea ebx, [edx + 4]
mov eax, dword [ebp - 0x10]
lea esi, [edx + 8]
mov dword [edx + 0xc], ebx
lea ecx, [edx + 0x18]
mov dword [edx + 0x10], esi
mov byte [edx + 0x3d], 0
mov dword [edx + 0x20], ecx
push edi
lea edi, [edx + 0x14]
mov dword [ebp + 0xc], ebx
mov ebx, dword [ebp - 0x10]
mov dword [edx + 0x1c], edi
add edx, 0x24
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp + 0xc]
mov dword [esi], 0
mov esi, dword [ebp + 8]
mov dword [ecx], 0
mov dword [eax], 0
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
test esi, esi
je 0xbba086
lea eax, [ebp - 0x14]
mov dword [ebp + 0xc], 0
push eax
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x14], 0
push eax
push esi
call fcn.00be2e0a
mov edx, dword [ebp - 0x10]
add esp, 0x10
mov eax, dword [ebp + 0xc]
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], eax
mov eax, dword [ebp + 8]
mov dword [edx + 0x1c], eax
mov dword [edx + 0x20], eax
mov eax, dword [ebp - 0x14]
mov dword [edx + 0x2c], eax
mov dword [edx + 0x30], eax
jmp 0xbba089
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x4c], esi
mov ecx, dword [0xa198a4]
mov eax, dword [0xa198a0]
pop edi
mov dword [edx + 0x44], ecx
mov ecx, dword [ebp - 0xc]
pop esi
mov dword [edx + 0x40], eax
mov dword [edx + 0x38], 0
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8

Function at 0xbba0c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x9de60d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov eax, ecx
push edi
mov dword [ebp - 0x10], eax
call fcn.00bbb6d0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
lea esi, [eax + 8]
mov dword [eax + 0x2c], edx
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea edi, [eax + 0x14]
mov dword [eax], 0x9edec0
mov byte [eax + 0x48], 0
mov byte [eax + 0x3d], 0
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x4c], 0
mov eax, dword [0xa198a0]
mov ecx, dword [0xa198a4]
mov dword [edx + 0x40], eax
mov dword [edx + 0x44], ecx
mov dword [edx + 0x38], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0xbba280
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x9de63e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov dword [ebp - 0x14], 0
push ebx
mov ebx, ecx
push esi
push edi
push 0
mov eax, dword [ebx]
push 0
mov dword [ebp - 0x18], ebx
mov eax, dword [eax + 4]
mov dword [ebx + eax], 0x9fe640
mov eax, dword [ebx]
mov edx, dword [eax + 4]
lea eax, [edx - 0x18]
mov dword [edx + ebx - 4], eax
mov eax, dword [ebx]
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov edi, dword [eax + 4]
add edi, ebx
mov ecx, edi
mov dword [edi + 0x30], 0
mov dword [edi + 8], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0x201
mov dword [edi + 0x18], 6
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
call fcn.00ba6500
push 8
call fcn.00bd5272
add esp, 4
mov esi, eax
push 1
call fcn.00bd4329
mov dword [esi + 4], eax
add esp, 4
mov eax, dword [ebp + 8]
mov dword [edi + 0x30], esi
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], 0
mov dword [ebp - 4], 1
mov eax, dword [edi + 0x30]
mov esi, dword [eax + 4]
mov ecx, esi
mov dword [ebp - 0x1c], esi
mov eax, dword [esi]
call dword [eax + 4]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x14], 2
push eax
call fcn.00bbbc60
add esp, 4
mov ecx, dword [eax]
push 0x20
mov edx, dword [ecx + 0x20]
mov ecx, eax
call edx
mov edx, 2
mov byte [ebp + 0xb], al
mov dword [ebp - 0x14], edx
and edx, 0xfffffffd
mov dword [ebp - 0x14], edx
mov byte [ebp - 4], 0
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 8]
test eax, eax
je 0xbba3b0
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
mov ecx, eax
call edx
cmp dword [edi + 0x38], 0
mov al, byte [ebp + 0xb]
mov byte [edi + 0x40], al
jne 0xbba3cc
mov eax, dword [edi + 0xc]
mov ecx, edi
push 0
or eax, 4
push eax
call fcn.00ba6500
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0xbba3f0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x9de65d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ebp - 0x10], ecx
mov dword [ecx], 0x9ede68
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x28], 0
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0
mov dword [ebp - 4], 0
mov dword [ecx], 0x9ede70
mov dword [ecx + 0x38], 0
mov dword [ecx + 0x3c], 0
mov byte [ecx + 0x40], 0
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0xbbd840
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [ebp + 8]
mov eax, ecx
push ebx
push esi
push edi
cmp dword [edx + 0x14], 0xf
mov edi, edx
mov ebx, dword [edx + 0x10]
mov dword [ebp - 8], eax
jbe 0xbbd85e
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
test ebx, ebx
je 0xbbd884
nop dword [eax]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0xbbd870
mov eax, dword [ebp - 8]
push esi
push edx
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.00bc43e0
xor ecx, ecx
pop edi
pop esi
cmp dword [eax + 4], ecx
pop ebx
setne cl
mov eax, ecx
mov esp, ebp
pop ebp
ret 4
Function at 0xbbe620
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x9df00d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov edx, ecx
mov dword [ebp - 0x10], edx
cmp edi, dword [ebp + 0xc]
je 0xbbe803
nop
cmp dword [edi + 0x14], 0xf
mov ebx, edi
jbe 0xbbe65a
mov ebx, dword [edi]
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [edi + 0x10], ecx
jbe 0xbbe678
movzx eax, byte [ebx + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [edi + 0x10]
jb 0xbbe666
push esi
push edi
lea eax, [ebp - 0x20]
mov ecx, edx
push eax
call fcn.00bc43e0
cmp dword [ebp - 0x1c], 0
jne 0xbbe7f4
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 0x7ffffff
je 0xbbe816
add eax, 4
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
push 0x20
mov dword [ebp - 0x24], 0
call fcn.00bd5272
mov ebx, eax
add esp, 4
mov dword [ebp - 0x24], ebx
lea ecx, [ebx + 8]
push edi
call fcn.00bb7fb0
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 8]
mov eax, dword [edx + 0x1c]
inc ecx
mov dword [ebp + 8], eax
movss xmm3, dword [edx]
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0xa01450]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0xa01450]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0xbbe79f
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x18], xmm0
fld qword [ebp - 0x18]
fstp qword [esp]
call fcn.00bf8b50
fstp qword [ebp - 0x18]
movsd xmm0, qword [ebp - 0x18]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.00ceda20
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebp + 8]
cmp eax, ecx
jae 0xbbe775
cmp eax, 0x200
jae 0xbbe773
shl eax, 3
cmp eax, ecx
jae 0xbbe775
mov eax, ecx
mov ecx, dword [ebp - 0x10]
push eax
call fcn.00bc9a70
mov ecx, dword [ebp - 0x10]
lea eax, [ebx + 8]
push esi
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00bc43e0
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], eax
jmp 0xbbe7a2
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx + 4]
inc dword [edx + 8]
mov dword [ebx + 4], eax
mov dword [ebx], ecx
mov dword [eax], ebx
mov dword [ecx + 4], ebx
mov dword [ebp - 0x14], eax
mov eax, dword [edx + 0x18]
mov dword [ebp + 8], ecx
and eax, esi
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x24], 0
mov esi, dword [ecx + eax*8]
cmp esi, dword [edx + 4]
jne 0xbbe7d4
mov dword [ecx + eax*8], ebx
jmp 0xbbe7e7
cmp esi, dword [ebp + 8]
jne 0xbbe7de
mov dword [ecx + eax*8], ebx
jmp 0xbbe7eb
mov esi, dword [ebp - 0x14]
cmp dword [ecx + eax*8 + 4], esi
jne 0xbbe7eb
mov dword [ecx + eax*8 + 4], ebx
mov dword [ebp - 4], 0xffffffff
jmp 0xbbe7f7
mov edx, dword [ebp - 0x10]
add edi, 0x18
cmp edi, dword [ebp + 0xc]
jne 0xbbe650
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x9f704c
call fcn.00bd38ea
int3
Function at 0xbc07b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x9df694
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [esi], eax
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [ebp - 4], 1
lea edi, [esi + 0x10]
mov dword [ebp + 8], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov byte [ebp - 4], 2
mov dword [edi + 0xc], 0
mov byte [ebp - 4], 4
lea eax, [esi + 0x20]
mov dword [ebp - 0x14], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov byte [ebp - 4], 5
mov dword [eax + 0xc], 0
mov byte [ebp - 4], 7
lea ebx, [esi + 0x38]
mov dword [esi + 0x30], 0
mov byte [esi + 0x34], 0
mov dword [ebp - 0x18], ebx
mov dword [ebx + 0x24], 0
mov byte [ebp - 4], 8
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0xbc0875
mov eax, dword [ecx]
push ebx
call dword [eax]
mov dword [ebx + 0x24], eax
mov byte [ebp - 4], 9
lea ecx, [esi + 0x70]
mov al, byte [ebp + 0xc]
mov byte [esi + 0x60], al
push 9
mov byte [esi + 0x68], 9
call fcn.00bb9af0
mov byte [ebp - 4], 0xa
xor ebx, ebx
mov ecx, dword [edi + 0xc]
mov edx, dword [edi]
mov byte [ebp + 0xf], 1
mov dword [ebp - 0x1c], edx
test ecx, ecx
jns 0xbc08bf
mov eax, ecx
neg eax
cmp ebx, eax
jae 0xbc08bf
add ecx, ebx
mov eax, ecx
not eax
shr eax, 5
lea eax, [eax*4 + 4]
sub edx, eax
jmp 0xbc08c9
add ecx, ebx
mov eax, ecx
shr eax, 5
lea edx, [edx + eax*4]
and ecx, 0x1f
lea eax, [ebp + 0xf]
push ecx
push edx
push eax
push 1
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.00bc32c0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0xbc0905
mov edx, dword [ecx]
lea eax, [ebp + 0x10]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp + 0x34], 0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x30