joyce8/EMBER2024-capa huggingface dataset:
Function at 0x486c40
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
xor edx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x486ce9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x20]
mov edx, ebx
add dl, 0x40
call fcn.00403cfc
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0xc]
mov ecx, 0x486d00
call fcn.00403e20
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00403f98
push eax
call sub.kernel32.dll_GetDiskFreeSpaceA
test eax, eax
je 0x486cbd
mov eax, dword [ebp - 0x18]
imul dword [ebp - 0x10]
mov dword [ebp - 0x24], eax
fild dword [ebp - 0x24]
fistp qword [ebp - 8]
wait
fild qword [ebp - 8]
fmul dword [0x486d04]
fistp qword [ebp - 8]
wait
jmp 0x486ccb
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 4], 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x486cf0
lea eax, [ebp - 0x20]
call fcn.00403b58
lea eax, [ebp - 0xc]
call fcn.00403b58
ret

Function at 0x486d08
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403f88
xor eax, eax
push ebp
push 0x486dba
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00403b58
mov eax, dword [ebp - 4]
call fcn.00403dd4
test eax, eax
je 0x486d9c
mov eax, dword [ebp - 4]
call fcn.00403dd4
add eax, 0x2f2eb6
mov edx, dword [0x4a4730]
mov dword [edx], eax
mov eax, dword [ebp - 4]
call fcn.00403dd4
mov ebx, eax
test ebx, ebx
jbe 0x486d9c
mov edi, 1
mov eax, 0xfe
call fcn.00402cf8
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
mov dl, byte [edx + edi - 1]
sub dl, 0x96
xor dl, byte [ebp - 8]
call fcn.00403cfc
mov edx, dword [ebp - 0xc]
mov eax, esi
call fcn.00403ddc
inc edi
dec ebx
jne 0x486d6c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x486dc1
lea eax, [ebp - 0xc]
call fcn.00403b58
lea eax, [ebp - 4]
call fcn.00403b58
ret
Function at 0x495ad0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbfc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x404], ecx
mov esi, eax
lea edi, [ebp - 0x400]
mov ecx, pe_nt_image_headers32
rep movsd dword es:[edi], dword [esi]
mov edi, edx
xor eax, eax
push ebp
push 0x495b98
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.00403b58
lea eax, [ebp - 0x404]
lea edx, [ebp - 0x400]
mov ecx, 0x400
call fcn.00403d84
mov eax, dword [ebp - 0x404]
call fcn.00403dd4
test eax, eax
je 0x495b7f
lea eax, [ebp - 0x404]
lea edx, [ebp - 0x400]
mov ecx, 0x400
call fcn.00403d84
mov eax, dword [ebp - 0x404]
call fcn.00403dd4
mov esi, eax
dec esi
test esi, esi
jb 0x495b7f
inc esi
lea ebx, [ebp - 0x400]
lea eax, [ebp - 0x404]
mov dl, byte [ebx]
xor dl, 0xc8
call fcn.00403cfc
mov edx, dword [ebp - 0x404]
mov eax, edi
call fcn.00403ddc
inc ebx
dec esi
jne 0x495b5e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x495b9f
lea eax, [ebp - 0x404]
call fcn.00403b58
ret

Function at 0x49af84
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00403f88
xor eax, eax
push ebp
push 0x49b079
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
cmp byte [ebx + 0x4c7], 0
je 0x49afe4
cmp dword [ebx + 0x4e8], 0
je 0x49afe4
push 1
push 0
mov eax, dword [ebp - 4]
call fcn.00403f98
push eax
mov eax, dword [ebx + 0x4e8]
call fcn.00403f98
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteA
mov esi, eax
cmp esi, 0x20
jg 0x49b035
push 1
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403f98
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteA
mov esi, eax
cmp esi, 0x20
jg 0x49b035
cmp dword [ebx + 0x4e8], 0
je 0x49b035
push 1
push 0
mov eax, dword [ebp - 4]
call fcn.00403f98
push eax
mov eax, dword [ebx + 0x4e8]
call fcn.00403f98
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteA
mov esi, eax
cmp esi, 0x20
jg 0x49b05e
push 0x49b090
push dword [ebp - 4]
push 0x49b0a8
lea eax, [ebp - 8]
mov edx, 3
call fcn.00403e94
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00487a68
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49b080
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403b7c
ret

Function at 0x49fa70
Capabilities:
Create process on windows

Disassembly:
push ebx
mov ebx, edx
push 1
push 0
push 0
mov eax, ebx
call fcn.00403f98
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteA
pop ebx
ret
Function at 0x100011d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub dword [ebp + 0xc], 1
jne 0x100011f4
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
xor eax, eax
push eax
push eax
push eax
push 0x1000162d
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor eax, eax
inc eax
pop ebp
ret 0xc

Function at 0x100011fb
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x10068180]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov dword [ebp - 0xc], edx
push esi
push edi
mov dword [ebp - 8], ebx
mov edi, ebx
mov dword [ebp - 8], ebx
xor eax, eax
push 0x25f0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor edi, edi
mov dword [ebx], edi
mov dword [ebx + 4], edi
mov dword [ebx + 8], edi
call fcn.10001b09
mov esi, eax
mov dword [esp], 0x25f0
push edi
mov dword [ebx], esi
push esi
lea eax, [esi + 0x25f0]
mov dword [ebx + 8], eax
call fcn.1002f9b0
lea eax, [esi + 0x25f0]
add esp, 0xc
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x14], 7
jbe 0x10001266
mov eax, dword [eax]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push edi
push edi
mov esi, eax
push 0x5629f
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
lea eax, [ebp - 8]
push eax
push 0x25f0
push dword [ebx]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002e340
leave
ret
Function at 0x10006e30
Capabilities:
Create thread

Disassembly:
mov eax, dword [0x10069e80]
push ebx
inc eax
xor bl, bl
mov dword [0x10069e80], eax
push esi
mov esi, dword [esp + 0xc]
push edi
cmp eax, 1
jne 0x10006f58
call fcn.100067a0
mov dword [0x1006a03c], eax
test eax, eax
jne 0x10006e7a
push str.failed_to_detect_Windows_version
push str.windows_init
push 1
push esi
call fcn.10006070
add esp, 0x10
mov edi, 0xfffffff4
jmp 0x10006fe3
cmp eax, 4
jge 0x10006e86
push str.Windows_version_is_too_old
jmp 0x10006e60
cmp dword [0x10069e58], 0
je 0x10006ee0
push str.program_assertion_failed___hash_table_already_allocated
push str.htab_create
push 1
push esi
call fcn.10006070
add esp, 0x10
push esi
call fcn.10008c00
mov edi, eax
add esp, 4
test edi, edi
jne 0x10006fe3
push esi
mov bl, 1
call fcn.100109d0
add esp, 4
test eax, eax
jne 0x10006f43
push str.UsbDk_backend_is_available
push str.windows_init
push 4
push esi
call fcn.10006070
mov byte [0x10069d11], bl
jmp 0x10006f55
push 0x10069e68
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x3fd
push str.using__lu_entries_hash_table
push str.htab_create
push 4
push esi
call fcn.10006070
push 8
push 0x3fe
mov dword [0x10069d3c], 0
call fcn.100358d2
add esp, 0x1c
mov dword [0x10069e58], eax
test eax, eax
jne 0x10006ea4
push str.could_not_allocate_space_for_hash_table
push str.htab_create
push 1
push esi
call fcn.10006070
add esp, 0x10
mov edi, 0xfffffff5
jmp 0x10006fe3
push str.UsbDk_backend_is_not_available
push str.windows_init
push 3
push esi
call fcn.10006070
add esp, 0x10
push 1
push 0
push 0
push 0xffffffffffffffff
mov dword [esi + fcn.10008c00], 0x1005fdc0
mov edi, 0xfffffff5
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov dword [esi + 0x12c], eax
test eax, eax
jne 0x10006f9e
xor ecx, ecx
call fcn.10006320
push eax
push str.failed_to_create_I_O_completion_port:__s
push str.windows_init
push 1
push esi
call fcn.10006070
add esp, 0x14
jmp 0x10006fe3
push 0
push 0
push esi
push 0x10006be0
push 0
push 0
call fcn.100384c0
add esp, 0x18
mov dword [esi + 0x130], eax
test eax, eax
jne 0x10006fe1
push str.failed_to_create_I_O_completion_port_thread
push str.windows_init
push 1
push esi
call fcn.10006070
add esp, 0x10
push dword [esi + 0x12c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10006fe3
xor edi, edi
cmp dword [0x10069e80], 1
jne 0x10007032
test edi, edi
je 0x10007032
cmp byte [0x10069d11], 0
je 0x1000701a
mov eax, dword [0x10069fec]
test eax, eax
je 0x10007013
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x10069fec], 0
mov byte [0x10069d11], 0
test bl, bl
je 0x10007027
push esi
call fcn.10008c80
add esp, 4
call fcn.100064e0
dec dword [0x10069e80]
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x434a00
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x10]
push esi
push edi
mov edi, dword [esp + 0x1c]
push 1
lea eax, [esp + 0x13]
push eax
push edi
mov byte [esp + 0x1b], 0x50
call ebx
push 1
lea ecx, [esp + 0x1f]
push ecx
push edi
mov byte [esp + 0x27], 0x4b
call ebx
push 1
lea edx, [esp + 0x34]
push edx
push edi
mov byte [esp + 0x3c], 1
call ebx
push 1
lea eax, [esp + 0x40]
push eax
push edi
mov byte [esp + 0x48], 2
call ebx
mov esi, dword [esp + 0x44]
movzx ecx, byte [esi]
push 1
lea edx, [esp + 0x4c]
push edx
push edi
mov byte [esp + 0x54], cl
call ebx
movzx eax, byte [esi + 1]
push 1
lea ecx, [esp + 0x58]
push ecx
push edi
mov byte [esp + 0x60], al
call ebx
movzx edx, byte [esi + 2]
mov dh, 0x56
add al, byte [ebx + 0x16a48c4]

Function at 0x434f70
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x434f7b
xor eax, eax
ret
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 4]
push esi
not eax
cmp edx, 8
jb 0x435059
mov esi, edx
shr esi, 3
push edi
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x100e0cf8]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0x100e0cf8]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0x100e0cf8]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x100e0cf8]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x100e0cf8]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x100e0cf8]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x100e0cf8]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x100e0cf8]
inc ecx
sub edx, 8
sub esi, 1
jne 0x434f95
pop edi
test edx, edx
je 0x43507b
lea ecx, [ecx]
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x100e0cf8]
inc ecx
sub edx, 1
jne 0x435060
not eax
pop esi
ret
Function at 0x435590
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x24
mov eax, dword [0x10105984]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
mov esi, dword [esp + 0x30]
xor eax, eax
push edi
mov edi, dword [esp + 0x38]
lea ecx, [eax + 1]
lea edx, [esi + 0xfe4]
mov bx, word [edx]
add bx, ax
add bx, bx
movzx eax, bx
mov word [esp + ecx*2 + 0xc], ax
inc ecx
add edx, 2
cmp ecx, 0xf
jle 0x4355b4
movzx ecx, word [esi + 0x1002]
movzx edx, ax
lea eax, [ecx + edx - 1]
cmp eax, 0x7fff
je 0x4355ed
mov dword [esi + 0x6afa4], 0x100e11c4
mov ebx, dword [esp + 0x3c]
xor esi, esi
test ebx, ebx
jl 0x43563c
push ebp
jmp 0x435600
movzx edx, word [edi + esi*4 + 2]
test edx, edx
je 0x435636
movzx eax, word [esp + edx*2 + 0x10]
movzx ecx, ax
inc eax
mov word [esp + edx*2 + 0x10], ax
xor eax, eax
lea esp, [esp]
mov ebp, ecx
and ebp, 1
or eax, ebp
dec edx
shr ecx, 1
add eax, eax
test edx, edx
jg 0x435620
shr eax, 1
mov word [edi + esi*4], ax
inc esi
cmp esi, ebx
jle 0x435600
pop ebp
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00497179
add esp, 0x24
ret

Function at 0x435eb0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x70
push edi
mov edi, dword [esp + 0x78]
push edi
call dword [0x100dc194]
cmp eax, 1
je 0x435ece
mov eax, 0x1000000
pop edi
add esp, 0x70
ret
lea eax, [esp + 0x40]
Function at 0x436b30
Capabilities:
Encode data using xor

Disassembly:
cmp dword [esi + 0x6af90], 3
jb 0x436aa9
mov ecx, dword [esi + 0x6af84]
movzx eax, byte [ecx + esi + 0x1af72]
mov edx, dword [esi + 0x6af7c]
shl edx, 5
xor eax, edx
and eax, 0x7fff
mov dword [esi + 0x6af7c], eax
mov ebx, dword [esi + eax*4 + 0x4af70]
and ecx, 0x7fff
mov dword [esi + ecx*4 + 0x2af70], ebx
mov eax, dword [esi + 0x6af7c]
mov ecx, dword [esi + 0x6af84]
mov dword [esi + eax*4 + 0x4af70], ecx
test ebx, ebx
je 0x436ae9
mov edx, dword [esi + 0x6af84]
sub edx, ebx
cmp edx, 0x7efa
ja 0x436ae9
mov eax, dword [esi + 0x6af90]
cmp dword [esi + 0x6afa0], eax
jbe 0x436ad1
mov dword [esi + 0x6afa0], eax
push ebx
push esi
call fcn.00434360
mov edi, eax
mov eax, dword [esi + 0x6af90]
add esp, 8
cmp edi, eax
jbe 0x436ae9
mov edi, eax
cmp edi, 3
jb 0x436bc0
mov ecx, dword [esi + 0x6af84]
sub ecx, dword [esi + 0x6af88]
lea eax, [edi - 3]
push eax
push ecx
push esi
call fcn.00433da0
sub dword [esi + 0x6af90], edi
mov ecx, dword [esi + 0x6af90]
add esp, 0xc
cmp edi, dword [esi + 0x6af98]
ja 0x436b88
cmp ecx, 3
jb 0x436b88
sub edi, ebp
jmp fcn.00436b30
add dword [esi + 0x6af84], ebp
mov edx, dword [esi + 0x6af84]
movzx ecx, byte [esi + edx + 0x1af72]
mov ebx, dword [esi + 0x6af7c]
shl ebx, 5
xor ecx, ebx
and ecx, 0x7fff
mov dword [esi + 0x6af7c], ecx
mov ebx, dword [esi + ecx*4 + 0x4af70]
and edx, 0x7fff
sub edi, ebp
mov dword [esi + edx*4 + 0x2af70], ebx
mov edx, dword [esi + 0x6af7c]
mov ecx, dword [esi + 0x6af84]
mov dword [esi + edx*4 + 0x4af70], ecx
jne fcn.00436b30
jmp 0x436be0
add dword [esi + 0x6af84], edi
mov edx, dword [esi + 0x6af84]
movzx ecx, byte [edx + esi + 0x1af70]
add edx, esi
mov dword [esi + 0x6af7c], ecx
movzx edx, byte [edx + 0x1af71]
shl ecx, 5
xor edx, ecx
xor edi, edi
and edx, 0x7fff
mov dword [esi + 0x6af7c], edx
jmp 0x436be6
mov eax, dword [esi + 0x6af84]
movzx ecx, byte [eax + esi + 0x1af70]
push ecx
push 0
push esi
call fcn.00433da0
add esp, 0xc
dec dword [esi + 0x6af90]
add dword [esi + 0x6af84], ebp
test eax, eax
je 0x436c20
mov eax, dword [esi + 0x6af74]
test eax, eax
jl 0x436bfd
lea ecx, [eax + esi + 0x1af70]
jmp 0x436bff
xor ecx, ecx
mov edx, dword [esi + 0x6af84]
push 0
sub edx, eax
push edx
push ecx
push esi
call fcn.00436870
mov eax, dword [esi + 0x6af84]
add esp, 0x10
mov dword [esi + 0x6af74], eax
cmp dword [esi + 0x6af90], 0x106
jae 0x436c35
push esi
call fcn.00434500
add esp, 4
cmp dword [esi + 0x6af90], 0
jne 0x436a55
mov eax, dword [esi + 0x6af74]
test eax, eax
jl 0x436c55
lea ecx, [eax + esi + 0x1af70]
jmp 0x436c57
xor ecx, ecx
mov edx, dword [esi + 0x6af84]
push ebp
sub edx, eax
push edx
push ecx
push esi
call fcn.00436870
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4381c0
Capabilities:
Access peb ldr_data

Disassembly:
call 0x3f4c10
mov byte [esp + 0x14], 4
lea ecx, [esi + 0x38]
call 0x3f4c10
mov byte [esp + 0x14], 3
lea ecx, [esi + 0x34]
call 0x3f4c10
mov byte [esp + 0x14], 2
lea ecx, [esi + 0x30]
call 0x3f4c10
mov byte [esp + 0x14], 1
lea ecx, [esi + 0x2c]
call 0x3f4c10
mov byte [esp + 0x14], 0
lea ecx, [esi + 4]
call 0x3f4c10
mov dword [esp + 0x14], 0xffffffff
mov ecx, esi
call 0x3f4c10
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x438230
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100d3c25
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x10105984]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call 0x3f0cd0
xor ebx, ebx
mov dword [esp + 0x18], ebx
lea ecx, [esi + 4]
call 0x3f0cd0
mov byte [esp + 0x18], 1
lea ecx, [esi + 0x2c]
call 0x3f0cd0
mov byte [esp + 0x18], 2
lea ecx, [esi + 0x30]
call 0x3f0cd0
mov byte [esp + 0x18], 3
lea ecx, [esi + 0x34]
call 0x3f0cd0
mov byte [esp + 0x18], 4
lea ecx, [esi + 0x38]
call 0x3f0cd0
mov byte [esp + 0x18], 5
lea ecx, [esi + 0x3c]
call 0x3f0cd0
mov byte [esp + 0x18], 6
lea ecx, [esi + 0x40]
call 0x3f0cd0
mov byte [esp + 0x18], 7
xor eax, eax
mov byte [esi + 8], bl
mov word [esi + 0xa], ax
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esp + 0x18], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x43ea40
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
xor edx, edx
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x10]
test esi, esi
jbe 0x43ea70
push edi
mov edi, dword [esp + 0xc]
lea esp, [esp]
mov al, byte [edx + edi]
xor byte [ecx], al
inc edx
inc ecx
cmp edx, esi
jb 0x43ea60
mov eax, dword [esp + 0x14]
pop edi
pop esi
ret

Function at 0x43ea80
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
push esi
mov edx, eax
mov esi, eax
shr edx, 2
and esi, 3
cmp eax, 4
ja 0x43eaab
mov ecx, dword [0x10104e60]
mov edx, dword [esp + 8]
push ecx
push eax
push edx
call fcn.0043ea40
add esp, 0xc
pop esi
ret
mov ecx, dword [esp + 8]
mov eax, dword [ecx]
cmp edx, 1
jbe 0x43eac2
dec edx
xor eax, dword [ecx + 4]
add ecx, 4
sub edx, 1
jne 0x43eab7
test esi, esi
je 0x43eaef
add ecx, 4
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
test esi, esi
jbe 0x43eaeb
mov edx, eax
sub ecx, edx
lea esp, [esp]
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
sub esi, 1
jne 0x43eae0
mov eax, dword [esp + 0xc]
pop esi
ret
Function at 0x402910
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x468
mov eax, dword [0x57af80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x45c]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push ecx
push 0
push eax
mov dword [ebp - 0x45c], 0
call fcn.004deff2
test eax, eax
je 0x40294f
xor bl, bl
jmp 0x402ab1
lea eax, [ebp - 0x458]
mov dword [ebp - 0x458], 0
push eax
push str.SELECT__Value__FROM__Property__WHERE__Property_ProductVersion
push dword [ebp - 0x45c]
call fcn.004defe0
test eax, eax
jne 0x402a9f
push eax
push dword [ebp - 0x458]
call fcn.004defe6
test eax, eax
jne 0x402a9f
mov dword [ebp - 0x460], eax
lea eax, [ebp - 0x460]
push eax
push dword [ebp - 0x458]
call fcn.004defec
test eax, eax
jne 0x402a8b
lea eax, [ebp - 0x464]
mov dword [ebp - 0x464], 0x100
push eax
lea eax, [ebp - 0x454]
push eax
push 1
push dword [ebp - 0x460]
call fcn.004deff8
test eax, eax
jne 0x402a8b
push 0x4c
push eax
mov word [ebp - 0x54], ax
lea eax, [ebp - 0x52]
push eax
call fcn.004df2d0
add esp, 0xc
lea eax, [ebp - 0x54]
push eax
push 0
push 0
push esi
call fcn.004defda
test eax, eax
jne 0x402a8b
push 0x1fe
push eax
mov word [ebp - 0x254], ax
lea eax, [ebp - 0x252]
push eax
mov dword [ebp - 0x468], 0x100
call fcn.004df2d0
add esp, 0xc
lea eax, [ebp - 0x468]
push eax
lea eax, [ebp - 0x254]
push eax
push str.VersionString
lea eax, [ebp - 0x54]
push eax
call fcn.004defd4
test eax, eax
jne 0x402a8b
lea ecx, [ebp - 0x454]
lea eax, [ebp - 0x254]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x402a7f
test dx, dx
je 0x402a76
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x402a7f
add eax, 4
add ecx, 4
test dx, dx
jne 0x402a54
xor eax, eax
test eax, eax
sete bl
jmp 0x402a8d
sbb eax, eax
or eax, 1
test eax, eax
sete bl
jmp 0x402a8d
xor bl, bl
mov eax, dword [ebp - 0x460]
test eax, eax
je 0x402aa1
push eax
call fcn.004defce
jmp 0x402aa1
xor bl, bl
mov eax, dword [ebp - 0x458]
test eax, eax
je 0x402ab1
push eax
call fcn.004defce
mov ecx, dword [ebp - 0x45c]
test ecx, ecx
je 0x402ac1
push ecx
call fcn.004defce
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.004df262
mov esp, ebp
pop ebp
ret
Function at 0x404fb0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e0ab7
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x57af80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
push dword [ebp + 8]
call dword [0x502e20]
mov dword [ebx], vtable.CCompleter.0
mov byte [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov word [ebx + 0x10], 0
mov eax, dword [0x502e94]
mov dword [ebp - 4], 0
mov dword [ebx + 0x14], eax
lea ecx, [ebx + 0x18]
call dword [0x502ed8]
lea edi, [ebx + 0x20]
mov byte [ebp - 4], 2
push 0
mov ecx, edi
mov byte [ebx + 0x1c], 0
call dword [0x502dc0]
lea ecx, [ebx + 0x30]
mov byte [ebp - 4], 3
call fcn.00405d20
push edi
lea ecx, [ebx + 0x30]
mov byte [ebp - 4], 4
call fcn.00406420
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4158d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e2d5b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x57af80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov edi, dword [ebp + 8]
push edi
call dword [0x502ed4]
push 0xffffffffffffffff
lea ecx, [ebx + 4]
mov dword [ebp - 4], 0
lea eax, [edi + 4]
mov dword [ecx + 0x14], 0xf
push 0
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00402410
mov eax, dword [edi + 0x1c]
lea ecx, [ebx + 0x28]
mov dword [ebx + 0x1c], eax
mov eax, dword [edi + 0x20]
mov dword [ebx + 0x20], eax
mov eax, dword [edi + 0x24]
mov dword [ebx + 0x24], eax
lea eax, [edi + 0x28]
push eax
mov byte [ebp - 4], 1
call fcn.00403860
mov al, byte [edi + 0x2c]
lea esi, [ebx + 0x2c]
mov byte [esi], al
lea ecx, [esi + 4]
lea eax, [edi + 0x30]
mov byte [ebp - 4], 2
push eax
mov dword [ebp + 8], esi
call fcn.00415400
lea eax, [edi + 0x34]
mov byte [ebp - 4], 3
push eax
lea ecx, [esi + 8]
call fcn.004154d0
lea eax, [edi + 0x38]
mov byte [ebp - 4], 4
push eax
lea ecx, [esi + 0xc]
call fcn.00415400
lea eax, [edi + 0x3c]
mov byte [ebp - 4], 5
push eax
lea ecx, [esi + 0x10]
call fcn.004154d0
lea eax, [edi + 0x40]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebx + 0x40]
call fcn.0040e920
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4