joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ce8b0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4ce952
cmp dword [ebx + 0x94], 0
jne 0x4ce94c
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4ce7fc
call fcn.0040b9c4
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4ce94c
push 3
mov eax, dword [esp + 4]
push eax
call fcn.0040bb4c
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call fcn.0040bb5c
test al, 8
je 0x4ce912
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4ce94c
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.0042fd64
push eax
call fcn.0040bdc8
dec esi
cmp esi, 0xffffffff
jne 0x4ce921
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4ceb70
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4f42bc]
cmp dword [eax + 0x170], 0
je 0x4cecd5
test bl, bl
jne 0x4cec23
cmp dword [esi + 0x9c], 0
jne 0x4cec18
mov eax, esi
call fcn.004d1908
push eax
push 0x4cea7c
call fcn.0040b9c4
cmp dword [esi + 0x44], 0
je 0x4cebe9
mov eax, dword [0x4f42bc]
cmp byte [eax + 0xd3], 0
je 0x4cebe9
mov eax, dword [esi + 0xd8]
call fcn.00408074
mov edi, eax
cmp edi, 0
jl 0x4cebe9
push 0
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call fcn.0040bdf0
dec edi
cmp edi, 0xffffffff
jne 0x4cebd2
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4cec18
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0042fd64
push eax
call fcn.0040bde0
dec edi
cmp edi, 0xffffffff
jne 0x4cebf8
inc dword [esi + 0x9c]
jmp 0x4cecd5
cmp dword [esi + 0x9c], 0
jle 0x4cecd5
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4cecd5
cmp dword [esi + 0x44], 0
je 0x4cec80
mov eax, dword [0x4f42bc]
cmp byte [eax + 0xd3], 0
je 0x4cec80
mov eax, dword [esi + 0xd8]
call fcn.00408074
mov edi, eax
cmp edi, 0
jl 0x4cec80
push 5
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call fcn.0040bdf0
dec edi
cmp edi, 0xffffffff
jne 0x4cec69
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4cecaf
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0042fd64
push eax
call fcn.0040bde0
dec edi
cmp edi, 0xffffffff
jne 0x4cec8f
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd8]
mov ecx, 1
mov edx, dword [0x4c239c]
call fcn.00408234
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4cf8f0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4cf95b
cmp byte [ebx + 0xd3], 0
jne 0x4cf95b
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call fcn.0040bb84
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004069b0
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4cf948
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4cf968
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406874
jmp 0x4cf968
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406874
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4d106c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4d10da
mov eax, esi
call fcn.004ab6ac
test al, al
je 0x4d10da
mov eax, dword [ebx + 0x84]
call fcn.004ab300
push eax
call fcn.0040bc04
test eax, eax
je 0x4d10da
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4d10ce
push 0
mov eax, dword [ebx + 0x84]
call fcn.004ab300
push eax
call fcn.0040bdf0
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.004a26f4
jmp 0x4d10da
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004d0ea4
pop esi
pop ebx
ret

Function at 0x4d341c
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00411e78
test al, al
je 0x4d343f
push 0
mov eax, ebx
call fcn.00406900
push eax
call fcn.0040b4fc
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x4d3456
mov eax, ebx
call fcn.00406900
push eax
call fcn.0040b210
cmp eax, 1
sbb eax, eax
inc eax
pop ebx
ret
Function at 0x4d3458
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd78
push ebx
xor edx, edx
mov dword [ebp - 0x288], edx
mov dword [ebp - 0x284], edx
mov dword [ebp - 0x280], edx
mov dword [ebp - 0x27c], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040685c
lea eax, [ebp - 0x278]
mov edx, dword [0x40d248]
call fcn.00407514
xor eax, eax
push ebp
push 0x4d360c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00411ec0
test al, al
je 0x4d35d3
lea eax, [ebp - 0x27c]
mov ecx, 0x4d3628
mov edx, dword [ebp - 4]
call fcn.00406d58
mov eax, dword [ebp - 0x27c]
lea ecx, [ebp - 0x278]
mov edx, 0x1ff
call fcn.00411f68
xor eax, eax
push ebp
push 0x4d35c0
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 0x280]
mov ecx, dword [ebp - 0x264]
mov edx, dword [ebp - 4]
call fcn.00406d58
mov eax, dword [ebp - 0x280]
call fcn.00406900
push eax
call fcn.0040b4fc
test dword [ebp - 0x268], 0x10
jle 0x4d355b
mov eax, dword [ebp - 0x264]
cmp word [eax], 0x2e
je 0x4d3594
push dword [ebp - 4]
push 0x4d363c
push dword [ebp - 0x264]
lea eax, [ebp - 0x284]
mov edx, 3
call fcn.00406e3c
mov eax, dword [ebp - 0x284]
call fcn.004d3458
test al, al
je 0x4d35a7
jmp 0x4d3594
push dword [ebp - 4]
push 0x4d363c
push dword [ebp - 0x264]
lea eax, [ebp - 0x288]
mov edx, 3
call fcn.00406e3c
mov eax, dword [ebp - 0x288]
call fcn.00406900
push eax
call fcn.0040b210
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x4d35a7
lea eax, [ebp - 0x278]
call fcn.00411fb8
test eax, eax
je 0x4d34ed
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d35c7
lea eax, [ebp - 0x278]
call fcn.00411fdc
ret
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d3613
lea eax, [ebp - 0x288]
mov edx, 4
call fcn.0040686c
lea eax, [ebp - 0x278]
mov edx, dword [0x40d248]
call fcn.004075ec
lea eax, [ebp - 4]
call fcn.00406864
ret

Function at 0x4d3640
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
mov esi, edx
mov ebx, eax
mov byte [ebp - 1], 0
lea eax, [ebp - 0x4c]
xor ecx, ecx
mov edx, 0x44
call fcn.0040476c
mov dword [ebp - 0x4c], 0x44
mov dword [ebp - 0x20], 1
mov word [ebp - 0x1c], si
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, ebx
call fcn.00406900
push eax
push 0
call fcn.0040b1f0
test eax, eax
je 0x4d36f7
xor eax, eax
push ebp
push 0x4d36f0
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xffffffffffffffff
mov eax, dword [ebp - 0x5c]
push eax
call fcn.0040b574
test eax, eax
jne 0x4d36d0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x5c]
push eax
call fcn.0040b2f8
test eax, eax
je 0x4d36d0
cmp dword [ebp - 8], 0
jne 0x4d36d0
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d36f7
mov eax, dword [ebp - 0x5c]
push eax
call fcn.0040b1b0
mov eax, dword [ebp - 0x58]
push eax
call fcn.0040b1b0
ret
movzx eax, byte [ebp - 1]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d4118
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edx, dword [ebp + 8]
mov esi, ecx
dec esi
test esi, esi
jl 0x4d4158
inc esi
movzx ecx, byte [eax]
movzx ebx, cl
movzx edi, dx
shr edi, 8
xor ebx, edi
mov edi, dword [ebp + 0xc]
movzx edi, word [edi + ebx*2 - 0x200]
mov ebx, edx
shl ebx, 8
xor di, bx
movzx ecx, cl
xor dx, cx
mov byte [eax], dl
mov edx, edi
inc eax
dec esi
jne 0x4d4129
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x4d45e8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff28
push ebx
push esi
xor edx, edx
mov dword [ebp - 0xd8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4d467c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [esi], 0
je 0x4d4663
lea eax, [ebp - 0xd2]
push eax
push 0xd2
call fcn.0040b330
lea ebx, [ebp - 0xd2]
mov eax, dword [esi]
mov edx, dword [eax]
call dword [edx + 0x44]
test ebx, ebx
je 0x4d4663
lea eax, [ebp - 0xd8]
mov edx, ebx
call fcn.00406a30
mov edx, dword [ebp - 0xd8]
mov eax, dword [esi]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, ebx
call fcn.00412944
inc eax
add eax, eax
add ebx, eax
cmp byte [ebx], 0
jne 0x4d465f
xor ebx, ebx
test ebx, ebx
jne 0x4d4632
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d4683
lea eax, [ebp - 0xd8]
call fcn.00406864
ret

Function at 0x4d48a8
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.0040685c
mov eax, dword [ebp - 8]
call fcn.0040685c
xor eax, eax
push ebp
push 0x4d4971
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x26]
xor ecx, ecx
mov edx, 0x1e
call fcn.0040476c
mov dword [ebp - 0x26], ebx
cmp byte [ebp + 8], 0
je 0x4d48fe
mov dword [ebp - 0x22], 2
jmp 0x4d4905
mov dword [ebp - 0x22], 1
lea eax, [ebp - 0x2c]
mov ecx, 0x4d4990
mov edx, dword [ebp - 4]
call fcn.00406d58
mov eax, dword [ebp - 0x2c]
call fcn.00406900
mov dword [ebp - 0x1e], eax
lea eax, [ebp - 0x30]
mov ecx, 0x4d4990
mov edx, dword [ebp - 8]
call fcn.00406d58
mov eax, dword [ebp - 0x30]
call fcn.00406900
mov dword [ebp - 0x1a], eax
lea eax, [ebp - 0x26]
push eax
call fcn.00457e08
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d4978
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.0040686c
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040686c
ret

Function at 0x4d4994
Capabilities:
Shutdown system

Disassembly:
mov dl, 1
mov eax, 0x4d49c4
call fcn.004d51b8
test al, al
je 0x4d49b6
push 0xffff
push 2
call fcn.0040b9cc
cmp eax, 1
sbb eax, eax
inc eax
ret

Function at 0x4d5018
Capabilities:
Check os version

Disassembly:
add esp, 0xfffffeec
mov dword [esp], 0x114
push esp
call fcn.0040b41c
cmp dword [esp + 4], 5
seta al
add esp, 0x114
ret
Function at 0x4d61dc
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffb98
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4d63fc
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
push 0
call fcn.0040c5dc
xor eax, eax
push ebp
push 0x4d63d0
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4d63b3
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.00409780
push eax
push 0x4d640c
push 1
push 0
mov eax, dword [0x4ee754]
push eax
call fcn.0040c5ec
call fcn.004d264c
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
mov ecx, 0x4d641c
call fcn.004097c4
push 0
mov eax, esi
call fcn.004066d8
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
call fcn.004d264c
push 3
push 0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x4c]
call fcn.004d264c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x10]
call fcn.004d264c
push 2
lea eax, [ebp - 0x25c]
push eax
push 0x104
lea eax, [ebp - 0x466]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
call fcn.004d264c
mov eax, ebx
lea edx, [ebp - 0x466]
mov ecx, 0x105
call fcn.00406a84
push 0x104
lea eax, [ebp - 0x466]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x28]
call fcn.004d264c
lea eax, [ebx + 4]
lea edx, [ebp - 0x466]
mov ecx, 0x105
call fcn.00406a84
push 0x104
lea eax, [ebp - 0x466]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
call fcn.004d264c
lea eax, [ebx + 8]
lea edx, [ebp - 0x466]
mov ecx, 0x105
call fcn.00406a84
push 0x104
lea eax, [ebp - 0x466]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x20]
call fcn.004d264c
lea eax, [ebx + 0xc]
lea edx, [ebp - 0x466]
mov ecx, 0x105
call fcn.00406a84
lea eax, [ebx + 0x14]
push eax
push 0x104
lea eax, [ebp - 0x466]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x40]
call fcn.004d264c
lea eax, [ebx + 0x10]
lea edx, [ebp - 0x466]
mov ecx, 0x105
call fcn.00406a84
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x38]
call fcn.004d264c
lea eax, [ebx + 0x1c]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
call fcn.004d264c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d63bd
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d63d7
call fcn.0040c5e4
ret
Function at 0x4d6b08
Capabilities:
Get storage device properties

Disassembly:
push ebx
push esi
add esp, 0xfffffff0
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 8], eax
push 0
lea eax, [esp + 4]
push eax
push 0x28
push esi
push 0xc
lea eax, [esp + 0x18]
push eax
push 0x2d1400
push ebx
call fcn.0040b218
cmp eax, 1
sbb eax, eax
inc eax
add esp, 0x10
pop esi
pop ebx
ret

Function at 0x4d6d08
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 0x104], ecx
mov dword [ebp - 0x108], ecx
mov dword [ebp - 0x100], ecx
mov dword [ebp - 0xfc], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4d6e68
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
xor edx, edx
call fcn.00406874
lea eax, [ebp - 0xd2]
push eax
push 0xd2
call fcn.0040b330
lea ebx, [ebp - 0xd2]
test ebx, ebx
je 0x4d6e4a
lea eax, [ebp - 0xfc]
mov edx, ebx
call fcn.00406a30
mov eax, dword [ebp - 0xfc]
mov edx, 0x4d6e84
call fcn.00406f5c
je 0x4d6e2f
lea eax, [ebp - 0x100]
mov edx, ebx
call fcn.00406a30
mov eax, dword [ebp - 0x100]
mov edx, 0x4d6e98
call fcn.00406f5c
je 0x4d6e2f
lea eax, [ebp - 0x108]
mov edx, ebx
call fcn.00406a30
mov eax, dword [ebp - 0x108]
lea edx, [ebp - 0x104]
call fcn.004123e0
mov eax, dword [ebp - 0x104]
lea edx, [ebp - 0xf8]
call fcn.004d6c3c
cmp esi, dword [ebp - 0xf0]
jne 0x4d6e2f
mov eax, dword [ebp - 0xe8]
mov edx, dword [ebp - 0xe4]
cmp edx, dword [ebp + 0x14]
jne 0x4d6e2f
cmp eax, dword [ebp + 0x10]
jne 0x4d6e2f
mov eax, dword [ebp - 0xe0]
mov edx, dword [ebp - 0xdc]
cmp edx, dword [ebp + 0xc]
jne 0x4d6e2f
cmp eax, dword [ebp + 8]
jne 0x4d6e2f
lea eax, [ebp - 0x10c]
mov edx, ebx
call fcn.00406a30
mov eax, dword [ebp - 0x10c]
mov edx, edi
call fcn.004123e0
jmp 0x4d6e4a
mov eax, ebx
call fcn.00412944
inc eax
add eax, eax
add ebx, eax
cmp byte [ebx], 0
jne 0x4d6e42
xor ebx, ebx
test ebx, ebx
jne 0x4d6d6e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d6e6f
lea eax, [ebp - 0x10c]
mov edx, 5
call fcn.0040686c
ret

Function at 0x4d6ea0
Capabilities:
Get disk information

Disassembly:
push ebx
push esi
add esp, 0xfffffbec
mov ebx, edx
mov esi, eax
mov eax, ebx
xor edx, edx
call fcn.00406874
lea eax, [esp + 4]
mov edx, esi
call fcn.00412a04
push esp
push 0x104
lea eax, [esp + 0x214]
push eax
lea eax, [esp + 0x10]
push eax
call fcn.004d6a84
test eax, eax
je 0x4d6eea
mov edx, ebx
lea eax, [esp + 0x20c]
call fcn.00412c94
add esp, 0x414
pop esi
pop ebx
ret
Function at 0x4d6ef4
Capabilities:
Enumerate disk volumes
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd24
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2d8], ecx
mov dword [ebp - 0x2dc], ecx
mov dword [ebp - 0x2d4], ecx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4d70d3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
xor edx, edx
call fcn.00406874
push 0x104
lea eax, [ebp - 0x23a]
push eax
call fcn.004d6a6c
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x4d70ad
xor eax, eax
push ebp
push 0x4d70a6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x2d4]
lea edx, [ebp - 0x23a]
mov ecx, 0x105
call fcn.00406a84
mov eax, dword [ebp - 0x2d4]
lea edx, [ebp - 4]
call fcn.004d6ea0
cmp dword [ebp - 4], 0
je 0x4d6f9f
mov eax, dword [ebp - 4]
call fcn.00406900
push eax
call fcn.0040b2f0
cmp eax, 2
je 0x4d7072
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
lea eax, [ebp - 0x2dc]
lea edx, [ebp - 0x23a]
mov ecx, 0x105
call fcn.00406a84
mov eax, dword [ebp - 0x2dc]
lea edx, [ebp - 0x2d8]
call fcn.00417df8
mov eax, dword [ebp - 0x2d8]
call fcn.00406900
push eax
call fcn.0040b1e8
mov ebx, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x90
lea eax, [ebp - 0x2d0]
push eax
push 0
push 0
push 0x70048
push ebx
call fcn.0040b218
push 0
lea eax, [ebp - 0xc]
push eax
push 0x20
lea eax, [ebp - 0x30]
push eax
push 0
push 0
push 0x560000
push ebx
call fcn.0040b218
push ebx
call fcn.0040b1b0
cmp esi, dword [ebp - 0x28]
jne 0x4d7072
mov eax, dword [ebp - 0x2c8]
mov edx, dword [ebp - 0x2c4]
cmp edx, dword [ebp + 0x14]
jne 0x4d7072
cmp eax, dword [ebp + 0x10]
jne 0x4d7072
mov eax, dword [ebp - 0x2c0]
mov edx, dword [ebp - 0x2bc]
cmp edx, dword [ebp + 0xc]
jne 0x4d7072
cmp eax, dword [ebp + 8]
jne 0x4d7072
mov eax, edi
lea edx, [ebp - 0x23a]
mov ecx, 0x105
call fcn.00406a84
jmp 0x4d708f
push 0x104
lea eax, [ebp - 0x23a]
push eax
mov eax, dword [ebp - 8]
push eax
call fcn.004d6a74
test eax, eax
jne 0x4d6f5e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d70ad
mov eax, dword [ebp - 8]
push eax
call fcn.004d6a7c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d70da
lea eax, [ebp - 0x2dc]
mov edx, 3
call fcn.0040686c
lea eax, [ebp - 4]
call fcn.00406864
ret
Function at 0x4d70e4
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 8], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040685c
xor eax, eax
push ebp
push 0x4d71f2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
xor edx, edx
call fcn.00406874
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.004123e0
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x4d7147
sub eax, 4
mov eax, dword [eax]
cmp eax, 2
jne 0x4d7159
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004123e0
jmp 0x4d7197
mov eax, dword [ebp - 4]
test eax, eax
je 0x4d7176
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x4d7176
lea eax, [ebp - 4]
mov edx, dword [ebp - 4]
call fcn.004061e8
mov ebx, eax
test ebx, ebx
je 0x4d7181
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 8]
push eax
mov ecx, ebx
sub ecx, 5
mov edx, 5
mov eax, dword [ebp - 4]
call fcn.00406fc4
push 0x104
lea eax, [ebp - 0x212]
push eax
mov eax, dword [ebp - 8]
call fcn.00406900
push eax
call fcn.0040b4b4
test eax, eax
setne al
test al, al
je 0x4d71cc
mov eax, esi
lea edx, [ebp - 0x212]
mov ecx, 0x105
call fcn.00406a84
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d71f9
lea eax, [ebp - 0x218]
call fcn.00406864
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040686c
ret
Function at 0x4d77cc
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbdc
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x424], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040685c
xor eax, eax
push ebp
push 0x4d78c7
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call fcn.0040b4ec
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4d789f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x104
lea eax, [ebp - 0x218]
push eax
lea edx, [ebp - 0x424]
mov eax, dword [ebp - 4]
call fcn.00417da8
mov eax, dword [ebp - 0x424]
call fcn.00406900
push eax
call fcn.0040b42c
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
cmp byte [ebp - 5], 0
je 0x4d7888
mov eax, ebx
lea edx, [ebp - 0x218]
mov ecx, 0x104
call fcn.00406a84
mov eax, esi
lea edx, [ebp - 0x420]
mov ecx, 0x104
call fcn.00406a84
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d78a6
mov eax, dword [ebp - 0x10]
push eax
call fcn.0040b4ec
ret
Function at 0x4d9e58
Capabilities:
Get file version info

Disassembly:
push ebx
push esi
push ecx
mov ebx, eax
lea eax, [ebx + 4]
push eax
mov eax, dword [ebx + 0x1c]
call fcn.00406900
push eax
call fcn.0040b5ac
mov esi, eax
mov dword [ebx + 8], esi
test esi, esi
jg 0x4d9e8e
mov ecx, 0x4d9f18
mov dl, 1
mov eax, dword [0x4d9b80]
call fcn.004165fc
call fcn.00405870
lea eax, [ebx + 0xc]
mov edx, dword [ebx + 8]
call fcn.00406c00
mov eax, dword [ebx + 0xc]
call fcn.00406900
push eax
mov eax, dword [ebx + 8]
push eax
mov eax, dword [ebx + 4]
push eax
mov eax, dword [ebx + 0x1c]
call fcn.00406900
push eax
call fcn.0040b5a4
test eax, eax
jne 0x4d9ed2
mov ecx, 0x4d9f5c
mov dl, 1
mov eax, dword [0x4d9ae4]
call fcn.004165fc
call fcn.00405870
push esp
lea eax, [ebx + 0x10]
push eax
mov eax, dword [0x4ee4a0]
push eax
mov eax, dword [ebx + 0xc]
call fcn.00406900
push eax
call fcn.0040b5b4
test eax, eax
jne 0x4d9f05
mov ecx, 0x4d9fa0
mov dl, 1
mov eax, dword [0x4d9ae4]
call fcn.004165fc
call fcn.00405870
pop edx
pop esi
pop ebx
ret

Function at 0x4da274
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040685c
xor eax, eax
push ebp
push 0x4da2f5
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
push 1
push 0
push 0
call fcn.004da25c
mov ebx, eax
test ebx, ebx
jbe 0x4da2dd
push 4
mov eax, dword [ebp - 4]
call fcn.00406900
push eax
push ebx
call fcn.004da264
mov edi, eax
test edi, edi
jbe 0x4da2d7
lea eax, [ebp - 0x20]
push eax
push edi
call fcn.004da26c
test eax, eax
je 0x4da2d1
mov esi, dword [ebp - 0x1c]
push edi
call fcn.004da254
push ebx
call fcn.004da254
mov ebx, esi
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4da2fc
lea eax, [ebp - 4]
call fcn.00406864
ret