joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10065558
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd9c
push ebx
xor edx, edx
mov dword [ebp - 0x264], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x10065728
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x10065709
mov dl, 1
mov eax, dword [0x1001a90c]
call fcn.10003e40
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.10004c80
lea eax, [ebp - 0x118]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
mov ebx, eax
call sub.kernel32.dll_GetSystemDefaultLangID
movzx eax, ax
mov dword [ebp - 0x10], eax
dec ebx
test ebx, ebx
jl 0x100656f8
inc ebx
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x118]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
call fcn.10052ed4
test al, al
jne 0x100655f5
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x100656eb
xor edx, edx
push ebp
push 0x100656e4
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x10065615
mov ebx, dword [ebp - 0x10]
jmp 0x10065617
mov ebx, eax
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov dword [ebp - 0x260], ebx
mov byte [ebp - 0x25c], 0
lea ecx, [ebp - 0x260]
mov edx, 0x10065738
lea eax, [ebp - 0x258]
call fcn.1000abc8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x100656cd
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x10065770
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x100656cd
lea eax, [ebp - 0x264]
lea edx, [ebp - 0x218]
mov ecx, pe_nt_image_headers32
call fcn.10004ef0
mov edx, dword [ebp - 0x264]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x100656cd
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x218]
mov ecx, pe_nt_image_headers32
call fcn.10004ef0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x100656eb
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x18], 4
dec dword [ebp - 0x14]
jne 0x100655d6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.1001f0f4
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1006572f
lea eax, [ebp - 0x264]
call fcn.10004c80
ret
Function at 0x10066070
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x100eab78]
cmp byte [eax + 0xa5], 0
jne 0x100660e1
cmp dword [0x100eab90], 0
jne 0x100660a2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x1006602c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x100eab90], eax
cmp dword [0x100eab8c], 0
jne 0x100660bd
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x100eab8c], eax
cmp dword [0x100eab94], 0
jne 0x100660e1
push esp
push 0
push 0
push 0x10065fd0
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x100eab94], eax
pop edx
ret

Function at 0x10066774
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x100eab78]
cmp dword [eax + 0x30], 0
je 0x1006681e
cmp dword [ebx + 0x94], 0
jne 0x10066818
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x10066704
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x10066818
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x100667de
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x10066818
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.1001c974
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x100667ed
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x1006737c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x100673b1
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.10004d70
jmp 0x100673be
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.10004cd4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x10068588
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x100685c9
mov eax, esi
call fcn.1004e428
test al, al
je 0x100685c9
mov eax, dword [ebx + 0x84]
call fcn.1004e124
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x100685c9
push 0
mov eax, dword [ebx + 0x84]
call fcn.1004e124
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x1006bcb8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x1006bce6
mov eax, ebx
call fcn.1006c76c
cmp dword [ebx + 0x40], 0
je 0x1006bcdf
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x1006bd57
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x1006bd49
cmp dword [ebx + 8], 0
je 0x1006bd08
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x1006bd1a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x1006bd49
cmp dword [ebx + 8], 0
je 0x1006bcfb
cmp eax, 3
je 0x1006bd2d
dec eax
jne 0x1006bcfb
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x1006bcfb
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x1006bcfb
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x1006bd75
cmp dword [ebx + 0x14], 0xcc
je 0x1006bd75
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.1006bd80
pop ebx
ret

Function at 0x1007f800
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.1007f724
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.10004078
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_connect
mov edx, 0x1007f864
call fcn.1007f1f4
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x1007f856
cmp dword [ebx + 4], 0xffffffff
setne al
mov byte [ebx + 8], al
mov cl, 2
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.10004078
pop esi
pop ebx
ret

Function at 0x1007f888
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff4
mov ebx, edx
mov eax, ebx
call fcn.10005140
push eax
call sub.wsock32.dll_gethostbyname
mov dword [esp + 4], eax
lea eax, [esp + 8]
xor ecx, ecx
mov edx, 4
call fcn.10003690
cmp dword [esp + 4], 0
je 0x1007f8da
mov eax, dword [esp + 4]
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
mov cl, byte [edx]
mov byte [esp + 8], cl
mov cl, byte [edx + 1]
mov byte [esp + 9], cl
mov cl, byte [edx + 2]
mov byte [esp + 0xa], cl
mov al, byte [edx + 3]
mov byte [esp + 0xb], al
mov eax, dword [esp + 8]
mov dword [esp], eax
mov eax, dword [esp]
add esp, 0xc
pop ebx
ret
Function at 0x1007f9c0
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x1007f9f1
mov ecx, dword [0x100e98ac]
mov dl, 1
mov eax, dword [0x1007eab0]
call fcn.1000d798
call fcn.10004610
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
inc ebx
jne 0x1007fa1e
mov ecx, dword [0x100e97e4]
mov dl, 1
mov eax, dword [0x1007eab0]
call fcn.1000d798
call fcn.10004610
xor eax, eax
push ebp
push 0x1007fa9a
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.10004078
cmp byte [ebp + 8], 0
je 0x1007fa76
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 1
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.1007f928
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
call fcn.1007f800
jmp 0x1007fa90
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 0
push 1
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.1007f334
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x1007fab7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1007fc98
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.1007f5f0
xor eax, eax
push ebp
push 0x1007fe0a
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x1007fdf4
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x1007fce4
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x1007fcee
call fcn.100046bc
jmp 0x1007fe11
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.1001f1b0
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1010]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x1000
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ebx, eax
test ebx, ebx
jle 0x1007fde9
push 0
push ebx
lea eax, [ebp - 0x1010]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov edi, eax
cmp edi, 0xffffffff
jne 0x1007fd9c
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x1007fd89
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.10004078
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
push ebp
call fcn.1007fc50
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x1007fe1c]
cmp dl, byte [eax + 0x28]
je 0x1007fdf0
call fcn.1000d6b0
jmp 0x1007fdf0
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.1001f1d0
jmp 0x1007fdf0
cmp edi, ebx
jge 0x1007fdb8
mov eax, dword [ebp - 0xc]
add eax, edi
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.1001f1d0
jmp 0x1007fcee
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.1001f1b0
cmp edx, dword [esp + 4]
jne 0x1007fdd8
cmp eax, dword [esp]
pop edx
pop eax
jne 0x1007fcee
push ebp
call fcn.1007fc50
pop ecx
jmp 0x1007fdf0
push ebp
call fcn.1007fc50
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1007fe11
mov eax, dword [ebp - 4]
call fcn.1007f5fc
ret
mov al, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1007fe20
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.1007f5f0
xor eax, eax
push ebp
push 0x1007fec1
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x1007fe5a
call fcn.100046bc
jmp 0x1007fec8
push 0
push esi
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x1007feab
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x1007feab
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.10004078
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1007fec8
mov eax, dword [ebp - 4]
call fcn.1007f5fc
ret
mov eax, dword [ebp - 8]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1007ff18
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.1007f5f0
xor eax, eax
push ebp
push 0x10080005
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x1007ff6a
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x1007ff6a
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x1007ffef
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x1007ff7d
call fcn.100046bc
jmp 0x1008000c
lea eax, [ebp - 0x10]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
test eax, eax
jne 0x1007ff9e
cmp ebx, dword [ebp - 0x10]
jle 0x1007ff9e
mov ebx, dword [ebp - 0x10]
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x1007ffef
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x1007ffef
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.10004078
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1008000c
mov eax, dword [ebp - 4]
call fcn.1007f5fc
ret
mov eax, dword [ebp - 8]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100852fc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.10005140
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x10085354
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x100e9c44]
mov dl, 1
mov eax, dword [0x10084e08]
call fcn.1000d7d4
call fcn.10004610
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.10084f7c
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1008fb3c
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x1008fb44
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x1008fce0
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 8]
mov edx, 0x1008fcf8
mov eax, esi
call fcn.1008d9c4
mov edx, dword [ebp - 8]
lea eax, [ebx + 0xc]
call fcn.10004cd4
lea ecx, [ebp - 0xc]
mov edx, 0x1008fd0c
mov eax, esi
call fcn.1008d9c4
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0x28]
call fcn.10004cd4
lea ecx, [ebp - 0x10]
mov edx, 0x1008fd24
mov eax, esi
call fcn.1008d9c4
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x10]
call fcn.10004cd4
lea ecx, [ebp - 0x14]
mov edx, 0x1008fd40
mov eax, esi
call fcn.1008d9c4
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x14]
call fcn.10004cd4
lea ecx, [ebp - 0x18]
mov edx, 0x1008fd5c
mov eax, esi
call fcn.1008d9c4
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x24]
call fcn.10004cd4
lea ecx, [ebp - 0x20]
mov edx, 0x1008fd74
mov eax, esi
call fcn.1008d9c4
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.100093ec
mov eax, dword [ebp - 0x1c]
or edx, 0xffffffff
call fcn.10009988
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x24]
mov edx, 0x1008fd8c
mov eax, esi
call fcn.1008d9c4
mov eax, dword [ebp - 0x24]
call fcn.100870dc
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x28]
mov edx, 0x1008fd9c
mov eax, esi
call fcn.1008d9c4
mov eax, dword [ebp - 0x28]
call fcn.100870dc
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 4]
mov edx, 0x1008fdb4
mov eax, esi
call fcn.1008d9c4
mov eax, dword [ebp - 4]
call fcn.10086c90
test al, al
je 0x1008fc97
mov eax, dword [ebp - 4]
call fcn.1000994c
mov edi, eax
test edi, edi
jl 0x1008fc8d
call fcn.1000b91c
mov dword [ebp - 0x2c], edi
fild dword [ebp - 0x2c]
fdiv dword [0x1008fdbc]
faddp st(1)
fstp qword [ebx + 0x38]
wait
jmp 0x1008fca3
xor eax, eax
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], eax
jmp 0x1008fca3
mov eax, dword [ebp - 4]
call fcn.100870dc
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x1008fdc8
mov eax, esi
call fcn.1008d9c4
mov edx, dword [ebp - 0x30]
lea eax, [ebx + 0x48]
call fcn.10004cd4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1008fce7
lea eax, [ebp - 0x30]
call fcn.10004c80
lea eax, [ebp - 0x28]
mov edx, 0xa
call fcn.10004ca4
ret

Function at 0x10096f30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x10096f8a
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.10096f20
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.10085b90
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.10085790
mov edx, dword [esi + 0xc]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x10096f91
lea eax, [ebp - 4]
call fcn.10004c80
ret
Function at 0x1009d4cc
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x1009d63d
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x1009d618
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x111], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x111]
push eax
lea eax, [ebp - 0x118]
mov edx, ebx
call fcn.10004e68
lea eax, [ebp - 0x118]
mov edx, 0x1009d654
call fcn.10004f48
mov eax, dword [ebp - 0x118]
call fcn.10005140
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x1009d58a
lea eax, [ebp - 0x111]
call fcn.1000a540
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.10004d70
jmp 0x1009d591
mov eax, esi
call fcn.10004c80
cmp bl, 0x61
jae 0x1009d5b2
lea edx, [ebp - 0x11c]
mov eax, dword [esi]
call fcn.1000e5c8
mov edx, dword [ebp - 0x11c]
mov eax, esi
call fcn.10004cd4
jmp 0x1009d5cc
lea edx, [ebp - 0x120]
mov eax, dword [esi]
call fcn.1000e53c
mov edx, dword [ebp - 0x120]
mov eax, esi
call fcn.10004cd4
lea eax, [ebp - 0x124]
push eax
mov eax, dword [esi]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x128], 0xb
lea edx, [ebp - 0x12c]
xor ecx, ecx
mov eax, 0x1009d660
call fcn.1000ac60
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.10004cd4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1009d61f
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x100a29c0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.10005130
xor eax, eax
push ebp
push 0x100a2a24
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0xe
lea eax, [ebp - 0x1a]
push eax
lea eax, [ebp - 4]
call fcn.100a2a30
push eax
call sub.kernel32.dll_GetVolumeInformationA
mov edx, ebx
lea eax, [ebp - 0x1a]
call fcn.1000a748
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x100a2a2b
lea eax, [ebp - 4]
call fcn.10004c80
ret
Function at 0x100a2f74
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.10005130
xor eax, eax
push ebp
push 0x100a3064
push dword fs:[eax]
mov dword fs:[eax], esp
mov ax, word [esi + 4]
mov word [ebx + 4], ax
mov ax, word [esi + 6]
mov word [ebx + 6], ax
mov ax, word [esi + 8]
mov word [ebx + 8], ax
mov ax, word [esi + 0xa]
mov word [ebx + 0xa], ax
mov eax, dword [esi + 0xc]
call fcn.100a275c
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x18], eax
mov ax, word [esi + 0x1c]
mov word [ebx + 0x1c], ax
mov ax, word [esi + 0x1e]
mov word [ebx + 0x1e], ax
mov ax, word [esi + 0x20]
mov word [ebx + 0x22], ax
mov ax, word [esi + 0x22]
mov word [ebx + 0x24], ax
mov ax, word [esi + 0x24]
mov word [ebx + 0x26], ax
mov eax, dword [esi + 0x26]
mov dword [ebx + 0x28], eax
mov eax, dword [esi + 0x2a]
mov dword [ebx + 0x2c], eax
xor eax, eax
mov dword [ebx + 0x30], eax
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.1000a37c
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.100a34dc
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.1000a260
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.100a3550
xor eax, eax
mov dword [ebx + 0x3c], eax
mov byte [ebx + 0x40], 0
mov byte [ebx + 0x42], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x100a306b
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.10004ca4
ret