joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1192a
Capabilities:
Create device object
Delete registry key
Unload driver

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push edi
mov edi, dword [fcn.000134c6]
push 0x1f288
lea eax, [ebp - 0x20]
xor ebx, ebx
push eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], 4
call edi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x80
lea eax, [ebp - 0x20]
push eax
call dword [0x1d4f8]
test eax, eax
jl 0x11aea
mov eax, dword [ebp - 4]
push esi
mov esi, dword [eax + 8]
cmp esi, ebx
je 0x11ada
mov dword [0x20348], esi
mov eax, dword [esi + 0x18]
cmp eax, ebx
je 0x11a94
cmp dword [eax + 0x10], ebx
je 0x11a94
xor eax, eax
mov word [ebp - 0x18], ax
mov eax, 0x400
mov ecx, eax
push eax
mov word [ebp - 0x16], cx
call fcn.00015ab0
mov dword [ebp - 0x14], eax
cmp eax, ebx
je 0x11a94
movzx ecx, word [ebp - 0x16]
push ecx
push ebx
push eax
call fcn.0001b954
add esp, 0xc
push 0x1f308
lea eax, [ebp - 0x18]
push eax
call dword [0x1d514]
mov eax, dword [esi + 0x18]
add eax, 0xc
push eax
lea eax, [ebp - 0x18]
push eax
call dword [0x1d510]
push 0x1ce3a
lea eax, [ebp - 0x20]
push eax
call edi
push 4
lea eax, [ebp - 0xc]
push eax
push 4
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00011648
test eax, eax
jge 0x11a8c
mov edi, dword [0x1d48c]
push 0x1e
call edi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x40]
push eax
push 0xf003f
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x40], 0x18
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x34], 0x240
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
call dword [0x1d4e8]
cmp eax, ebx
jl 0x11a69
push dword [ebp - 8]
call dword [0x1d50c]
push dword [ebp - 8]
mov dword [ebp + 8], eax
call dword [0x1d610]
cmp dword [ebp + 8], ebx
jge 0x11a8c
lea eax, [ebp - 0x18]
push eax
call dword [0x1d508]
push 0x1e
call edi
push 4
lea eax, [ebp - 0xc]
push eax
push 4
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00011648
push dword [ebp - 0x14]
call fcn.00015aca
mov eax, dword [esi + 4]
mov dword [0x20350], eax
cmp eax, ebx
je 0x11ada
cmp dword [eax + 0x2c], 0x12
je 0x11ab2
mov eax, dword [eax + 0xc]
mov dword [0x20350], eax
cmp eax, ebx
jne 0x11aa0
cmp eax, ebx
je 0x11ada
cmp dword [eax + 0x2c], 0x12
jne 0x11ada
push eax
call fcn.0001b984
mov dword [0x20354], eax
cmp eax, ebx
je 0x11ada
mov eax, dword [esi + 0x74]
mov dword [0x2034c], eax
mov dword [esi + 0x74], 0x118cc
mov ecx, dword [ebp - 0x10]
pop esi
cmp ecx, ebx
je 0x11b1e
call dword [0x1d608]
jmp 0x11b1e
push 0x20334
push ebx
push ebx
push 0x22
lea eax, [ebp - 0x20]
push eax
push ebx
push dword [ebp + 8]
call dword [0x1d500]
test eax, eax
jl 0x11b1e
push 0x1f488
lea eax, [ebp - 0x28]
push eax
call edi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
call dword [0x1d4fc]
pop edi
pop ebx
leave
ret 4
Function at 0x12426
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0x18]
push eax
call dword [0x1d528]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [0x1d524]
lea eax, [ebp - 8]
push eax
call fcn.00012208
movzx ecx, byte [ebp - 4]
movzx eax, byte [ebp - 3]
add eax, ecx
movzx ecx, byte [ebp - 5]
add eax, ecx
movzx ecx, byte [ebp - 6]
add ecx, dword [ebp - 0x10]
push 0x23120
add ecx, eax
mov dword [ebp - 0x10], ecx
call dword [0x1d534]
test eax, eax
jne 0x12495
cmp dword [0x23124], 6
jb 0x12495
push dword [ebp - 0x10]
call dword [0x1d520]
pop ecx
call dword [0x1d51c]
leave
ret
mov ecx, dword [ebp - 0x10]
mov eax, 0x3039
test ecx, ecx
jne 0x124af
mov ecx, dword [0x20338]
imul ecx, ecx, 0x41c64e6d
add ecx, eax
imul ecx, ecx, 0x3e39b193
sub eax, ecx
shr eax, 0x10
and eax, 0x7fff
leave
ret

Function at 0x131e0
Capabilities:
Create device object

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
xor edi, edi
push 0x1cde6
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 4], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
call dword [0x1d614]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0x80
lea eax, [ebp - 0x14]
push eax
call dword [0x1d4f8]
mov esi, eax
cmp esi, edi
jge 0x13235
mov ecx, dword [ebp - 8]
cmp ecx, edi
je 0x1322e
call dword [0x1d608]
mov eax, esi
jmp 0x132c2
push ebx
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0xc]
push edi
push dword [eax + 0x20]
push dword [eax + 0x2c]
push edi
push 0x14
pop esi
push esi
push dword [ebp + 8]
call dword [0x1d500]
mov ebx, eax
cmp ebx, edi
jge 0x13263
mov ecx, dword [ebp - 8]
call dword [0x1d608]
jmp 0x132bf
push dword [ebp - 0xc]
push dword [ebp - 4]
call dword [0x1d55c]
mov edx, eax
cmp edx, edi
jne 0x13283
push dword [ebp - 4]
call dword [0x1d4f0]
mov dword [ebp - 4], edi
jmp 0x13258
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x28]
xor eax, eax
mov edi, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ecx], esi
mov eax, dword [ebp - 4]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 8]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx + 0x1c]
mov eax, dword [ebp - 4]
and ecx, esi
or dword [eax + 0x1c], ecx
mov eax, dword [ebp - 4]
mov dword [0x20360], eax
mov eax, ebx
pop ebx
pop edi
pop esi
leave
ret 4
Function at 0x13964
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [0x1e410]
and dword [ebp - 4], 0
push esi
mov esi, dword [0x1e40c]
push edi
mov edi, dword [0x1e414]
add eax, edi
add eax, dword [0x1e408]
xor ecx, esi
xor edx, esi
add eax, esi
mov esi, dword [ebp + 0xc]
mov edi, dword [esi + 4]
mov dword [ebp - 0xc], edi
mov edi, dword [esi]
mov dword [ebp + 0xc], edi
mov edi, dword [esi + 0xc]
mov esi, dword [esi + 8]
mov dword [ebp - 8], 0x20
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], esi
add dword [ebp - 4], eax
dec dword [ebp - 8]
mov esi, edx
shl esi, 4
add esi, dword [ebp + 0xc]
mov edi, edx
shr edi, 5
add edi, dword [ebp - 0xc]
xor esi, edi
mov edi, dword [ebp - 4]
add edi, edx
xor esi, edi
add ecx, esi
mov esi, ecx
shl esi, 4
add esi, dword [ebp - 0x10]
mov edi, ecx
shr edi, 5
add edi, dword [ebp - 0x14]
xor esi, edi
mov edi, dword [ebp - 4]
add edi, ecx
xor esi, edi
add edx, esi
cmp dword [ebp - 8], 0
ja 0x139ba
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], ecx
mov dword [eax + 4], edx
pop esi
leave
ret 8

Function at 0x13a10
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
mov ecx, dword [0x1e414]
push esi
mov esi, dword [eax + 4]
mov eax, dword [0x1e410]
add ecx, eax
mov eax, dword [ebp + 0xc]
add ecx, dword [0x1e40c]
push edi
mov edi, dword [eax + 0xc]
add ecx, dword [0x1e408]
mov dword [ebp - 0xc], edi
mov edi, dword [eax + 8]
mov dword [ebp + 0xc], edi
mov edi, dword [eax + 4]
mov eax, dword [eax]
mov edx, ecx
mov dword [ebp - 8], 0x20
shl edx, 5
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov edi, dword [ebp - 4]
shl eax, 4
add eax, dword [ebp + 0xc]
dec dword [ebp - 8]
shr edi, 5
add edi, dword [ebp - 0xc]
xor eax, edi
mov edi, dword [ebp - 4]
add edi, edx
xor eax, edi
sub esi, eax
mov eax, esi
shl eax, 4
add eax, dword [ebp - 0x10]
mov edi, esi
shr edi, 5
add edi, dword [ebp - 0x14]
xor eax, edi
lea edi, [edx + esi]
xor eax, edi
sub dword [ebp - 4], eax
sub edx, ecx
cmp dword [ebp - 8], 0
ja 0x13a64
mov eax, dword [0x1e40c]
xor eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [0x1e40c]
xor eax, esi
pop edi
mov dword [ecx + 4], eax
pop esi
leave
ret 8

Function at 0x13b7e
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
xor ecx, ecx
or eax, 0xffffffff
cmp dword [ebp + 0xc], ecx
jbe 0x13b9a
mov edx, dword [ebp + 8]
movzx edx, byte [ecx + edx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x226c0]
inc ecx
cmp ecx, dword [ebp + 0xc]
jb 0x13b7b
not eax
pop ebp
ret 8
Function at 0x16f8e
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
push edi
mov esi, 0x200
push esi
xor edi, edi
mov dword [ebp - 0x10], 1
call fcn.00015ab0
mov dword [ebp - 4], eax
xor eax, eax
mov ebx, 0x400
mov word [ebp - 0x20], ax
mov eax, ebx
push ebx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 8], edi
mov word [ebp - 0x1e], ax
call fcn.00015ab0
mov dword [ebp - 0x1c], eax
cmp eax, edi
jne 0x16fe4
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
cmp dword [ebp - 4], edi
jne 0x16ff1
push eax
call fcn.00015aca
jmp 0x16fdd
push esi
push edi
push dword [ebp - 4]
call fcn.0001b954
add esp, 0xc
push 0x1d076
lea eax, [ebp - 0x30]
push eax
call dword [0x1d614]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x60]
push eax
push 0x20019
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x60], 0x18
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x54], 0x240
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x4c], edi
call dword [0x1d4e8]
test eax, eax
jge 0x17057
xor esi, esi
push dword [ebp - 4]
call fcn.00015aca
push dword [ebp - 0x1c]
call fcn.00015aca
mov eax, esi
jmp 0x16fdf
push esi
push edi
push dword [ebp - 4]
call fcn.0001b954
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push dword [ebp - 0x18]
call dword [0x1d588]
test eax, eax
jl 0x17162
xor eax, eax
push ebx
mov word [ebp - 0x20], ax
push edi
push dword [ebp - 0x1c]
mov eax, ebx
mov word [ebp - 0x1e], ax
call fcn.0001b954
add esp, 0xc
push 0x1cfd4
lea eax, [ebp - 0x20]
push eax
call dword [0x1d514]
test eax, eax
jl 0x17152
mov eax, dword [ebp - 4]
add eax, 0x10
push eax
lea eax, [ebp - 0x20]
push eax
call dword [0x1d514]
test eax, eax
jl 0x17152
push esi
push edi
push dword [ebp - 4]
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], 1
call fcn.0001b954
add esp, 0xc
push 0x1cfbe
lea eax, [ebp - 0x28]
push eax
call dword [0x1d614]
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.000116c8
test eax, eax
jne 0x17152
push dword [ebp - 4]
lea eax, [ebp - 0x28]
push eax
call dword [0x1d614]
push 1
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [0x1d548]
test eax, eax
jne 0x17152
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
push eax
push 0x1cfb2
push dword [ebp - 0x34]
call fcn.0001b9d7
add esp, 0x18
cmp eax, 4
je 0x17172
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x80
jl 0x17057
mov esi, edi
push dword [ebp - 0x18]
call dword [0x1d610]
jmp 0x17043
mov esi, dword [ebp - 0x3c]
shl esi, 8
or esi, dword [ebp - 0x40]
shl esi, 8
or esi, dword [ebp - 0x44]
shl esi, 8
or esi, dword [ebp - 0x48]
jmp 0x17164
Function at 0x173e6
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x202c8]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x18], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, 0x4000
push esi
call fcn.00015ab0
mov edi, eax
test edi, edi
jne 0x17427
mov eax, dword [0x20394]
test eax, eax
je 0x1741f
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
jmp 0x17570
push 0x11
push 2
push 2
call fcn.000109a4
add esp, 0xc
mov dword [ebp - 0x1c], eax
cmp eax, 0xffffffff
jne 0x17459
push edi
call fcn.00015aca
mov eax, dword [0x20394]
test eax, eax
jne 0x1741c
push 0x1d1fe
call fcn.0001b9cc
pop ecx
jmp 0x1741f
push esi
push 0
push edi
call fcn.0001b954
add esp, 0xc
push ebx
push edi
call fcn.00017278
push 2
mov dword [ebp - 0x24], eax
pop eax
push 0x35
mov word [ebp - 0x14], ax
call fcn.000109fe
pop ecx
mov word [ebp - 0x12], ax
call fcn.0001718e
push 0x10
pop ebx
push ebx
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
push 0
push dword [ebp - 0x24]
push edi
push dword [ebp - 0x1c]
call fcn.00010904
add esp, 0x18
mov dword [ebp - 0x20], eax
test eax, eax
jge 0x17500
push edi
call fcn.00015aca
push dword [ebp - 0x1c]
call fcn.00010542
cmp dword [ebp - 0x20], 0xc0000022
mov eax, dword [0x20394]
pop ecx
jne 0x174e5
test eax, eax
jne 0x174da
mov eax, dword [0x20390]
and eax, 3
mov eax, dword [eax*4 + 0x1e424]
inc dword [0x20390]
jmp 0x1741c
test eax, eax
jne 0x1741c
push dword [ebp - 0x20]
push 0x1d1e0
call fcn.0001b9cc
pop ecx
jmp 0x17456
push esi
push 0
push edi
mov dword [ebp - 0x20], ebx
call fcn.0001b954
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push esi
push edi
push dword [ebp - 0x1c]
call fcn.0001082a
mov esi, eax
add esp, 0x24
test esi, esi
jge 0x1754d
push edi
call fcn.00015aca
push dword [ebp - 0x1c]
call fcn.00010542
mov eax, dword [0x20394]
pop ecx
test eax, eax
jne 0x1741c
push esi
push 0x1d1be
jmp 0x174f5
push esi
push edi
call fcn.0001734e
mov esi, eax
test esi, esi
jne 0x17565
mov eax, dword [0x20394]
test eax, eax
je 0x17565
mov esi, eax
push dword [ebp - 0x1c]
call fcn.00010542
pop ecx
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0001b913
leave
ret 4
Function at 0x18de6
Capabilities:
Get file attributes
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
push esi
push edi
mov edi, 0x40000
push edi
call fcn.00015ab0
xor esi, esi
mov dword [0x2039c], eax
cmp eax, esi
je 0x18ef2
push edi
push esi
push eax
call fcn.0001b954
mov eax, dword [0x203a4]
add esp, 0xc
mov dword [ebp - 0x2c], 0x18
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], 0x40
mov dword [ebp - 0x24], 0x22458
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov edi, dword [eax + 0x28]
push eax
call dword [0x1d5b8]
mov dword [edi + 8], eax
cmp eax, esi
jne 0x18e4f
mov eax, dword [edi + 4]
mov dword [edi + 8], eax
push dword [edi + 8]
lea eax, [ebp - 0x14]
push 0x800
push esi
push esi
push esi
push esi
push 0x60
push 1
push 1
push 0x80
push esi
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x80000000
lea eax, [ebp - 4]
push eax
call dword [0x1d5b4]
test eax, eax
jge 0x18e95
push dword [0x2039c]
call fcn.00015aca
mov dword [0x2039c], esi
jmp 0x18ef2
push 5
push 0x18
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 4]
call dword [0x1d5b0]
test eax, eax
jl 0x18e82
mov edi, dword [0x1d5ac]
push esi
push 1
push dword [ebp - 4]
call edi
mov eax, dword [ebp - 0x3c]
push esi
lea ecx, [ebp - 0xc]
push ecx
push eax
push dword [0x2039c]
mov dword [0x203a0], eax
lea eax, [ebp - 0x14]
push eax
push esi
push esi
push esi
push dword [ebp - 4]
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
call dword [0x1d5a8]
test eax, eax
jl 0x18e82
push esi
push 1
push dword [ebp - 4]
call edi
pop edi
pop esi
leave
ret
Function at 0x18efc
Capabilities:
Get file attributes
Set file attributes
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x203a4]
push esi
xor esi, esi
mov dword [ebp - 4], esi
cmp eax, esi
je 0x19015
mov ecx, dword [ebp + 8]
push edi
mov edi, dword [eax + 0x28]
push eax
mov dword [ebp - 0x24], 0x18
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x18], 0x40
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
call dword [0x1d5b8]
mov dword [edi + 8], eax
cmp eax, esi
jne 0x18f4c
mov eax, dword [edi + 4]
mov dword [edi + 8], eax
push dword [edi + 8]
lea eax, [ebp - 0xc]
push 0x800
push esi
push esi
push esi
push esi
push 0x60
push 5
push 3
push 6
push esi
push eax
lea eax, [ebp - 0x24]
push eax
push 0xc0000000
lea eax, [ebp - 4]
push eax
call dword [0x1d5b4]
mov edi, eax
cmp edi, esi
jl 0x19010
push esi
push dword [ebp + 0xc]
lea eax, [ebp - 0xc]
push dword [ebp + 0x10]
push dword [ebp + 0x14]
push eax
push esi
push esi
push esi
push dword [ebp - 4]
call dword [0x1d5a4]
push esi
push 1
push dword [ebp - 4]
mov edi, eax
call dword [0x1d5ac]
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
call fcn.000183f6
push 4
push 0x28
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
call dword [0x1d5b0]
cmp dword [ebp - 0xc], esi
jl 0x19007
mov eax, 0xfa2b0929
push 4
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x44], eax
push 0x28
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0xc]
mov ecx, 0x1c95a06
push eax
push dword [ebp - 4]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x40], ecx
call dword [0x1d5a0]
push dword [ebp - 4]
call dword [0x1d610]
mov eax, edi
pop edi
jmp 0x1901a
mov eax, 0xc000000e
pop esi
leave
ret 0x10
Function at 0x19024
Capabilities:
Get file attributes
Set file attributes
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x203a4]
push esi
xor esi, esi
mov dword [ebp - 4], esi
cmp eax, esi
je 0x19140
mov ecx, dword [ebp + 8]
push edi
mov edi, dword [eax + 0x28]
push eax
mov dword [ebp - 0x24], 0x18
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x18], 0x40
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
call dword [0x1d5b8]
mov dword [edi + 8], eax
cmp eax, esi
jne 0x19074
mov eax, dword [edi + 4]
mov dword [edi + 8], eax
push dword [edi + 8]
lea eax, [ebp - 0xc]
push 0x800
push esi
push esi
push esi
push esi
push 0x60
push 5
push 3
push 0x80
push esi
push eax
lea eax, [ebp - 0x24]
push eax
push 0xc0000000
lea eax, [ebp - 4]
push eax
call dword [0x1d5b4]
mov edi, eax
cmp edi, esi
jl 0x1913b
push esi
push dword [ebp + 0xc]
lea eax, [ebp - 0xc]
push dword [ebp + 0x10]
push dword [ebp + 0x14]
push eax
push esi
push esi
push esi
push dword [ebp - 4]
call dword [0x1d5a4]
push esi
push 1
push dword [ebp - 4]
mov edi, eax
call dword [0x1d5ac]
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
call fcn.000183f6
push 4
push 0x28
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
call dword [0x1d5b0]
cmp dword [ebp - 0xc], esi
jl 0x19132
mov eax, 0xfa2b0929
push 4
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x44], eax
push 0x28
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0xc]
mov ecx, 0x1c95a06
push eax
push dword [ebp - 4]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x40], ecx
call dword [0x1d5a0]
push dword [ebp - 4]
call dword [0x1d610]
mov eax, edi
pop edi
jmp 0x19145
mov eax, 0xc000000e
pop esi
leave
ret 0x10
Function at 0x19c18
Capabilities:
Get file attributes
Read file on windows
Set file attributes
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x203a4]
push ebx
xor ebx, ebx
push esi
mov dword [ebp - 4], ebx
mov esi, dword [eax + 0x28]
push edi
mov dword [ebp - 0x34], 0x18
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x28], 0x40
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x2c], 0x22680
cmp byte [0x203b8], bl
jne 0x19c5d
mov dword [ebp - 0x2c], 0x22458
push eax
call dword [0x1d5b8]
mov dword [esi + 8], eax
cmp eax, ebx
jne 0x19c71
mov eax, dword [esi + 4]
mov dword [esi + 8], eax
push dword [esi + 8]
mov edi, dword [0x1d5b4]
push 0x800
push ebx
push ebx
push ebx
push ebx
push 0x68
push 1
push 3
push 0x80
push ebx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x34]
push eax
push 0xc0100000
lea eax, [ebp - 4]
push eax
call edi
test eax, eax
jl 0x19de2
push dword [0x22448]
call fcn.00015ab0
mov dword [ebp - 8], eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
cmp eax, ebx
je 0x19dd4
push ebx
lea ecx, [ebp - 0x1c]
push ecx
push dword [0x22448]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 4]
call dword [0x1d5a8]
cmp eax, ebx
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
jl 0x19dcc
push ebx
push ebx
push dword [ebp - 4]
call dword [0x1d5ac]
push dword [ebp - 4]
call dword [0x1d610]
push dword [0x203a4]
mov dword [ebp - 4], ebx
call dword [0x1d5b8]
mov dword [esi + 8], eax
cmp eax, ebx
jne 0x19d20
mov eax, dword [esi + 4]
mov dword [esi + 8], eax
push dword [esi + 8]
lea eax, [ebp - 0x14]
push 0x800
push ebx
push ebx
push ebx
push ebx
push 0x60
push 1
push 3
push 0x80
push ebx
push eax
lea eax, [ebp - 0x34]
push eax
push 0xc0000000
lea eax, [ebp - 4]
push eax
call edi
test eax, eax
jl 0x19dcc
push ebx
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0xc]
lea eax, [ebp - 0x14]
push dword [ebp - 8]
mov dword [ebp - 0x1c], ebx
push eax
push ebx
push ebx
push ebx
push dword [ebp - 4]
mov dword [ebp - 0x18], ebx
call dword [0x1d5a4]
push ebx
push ebx
push dword [ebp - 4]
call dword [0x1d5ac]
push 4
push 0x28
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 4]
call dword [0x1d5b0]
cmp dword [ebp - 0x14], ebx
jl 0x19dcc
mov eax, 0xcfddc800
push 4
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x54], eax
push 0x28
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x14]
mov ecx, 0x1c126e1
push eax
push dword [ebp - 4]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x50], ecx
call dword [0x1d5a0]
push dword [ebp - 8]
call fcn.00015aca
cmp dword [ebp - 4], ebx
je 0x19de2
push dword [ebp - 4]
call dword [0x1d610]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x19f0c
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x20330], 0
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [eax + 0x28]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, dword [edi + 0x60]
mov dword [ebp - 4], ebx
je 0x19f3a
add esi, 0x24
mov dword [edi + 0x60], esi
jmp 0x1a0a7
cmp byte [esi], 0
jne 0x1a0a3
push dword [esi + 0x18]
call fcn.00019402
test al, al
jne 0x1a0a3
and dword [ebp - 8], 0
xor eax, eax
mov word [ebp - 0xc], ax
mov word [ebp - 0xa], ax
lea eax, [ebp - 0xc]
push eax
push dword [esi + 0x18]
call fcn.000194b2
test eax, eax
jne 0x1a0a3
push 1
push 0x22690
lea eax, [ebp - 0xc]
push eax
call dword [0x1d59c]
mov ebx, 0x400
test eax, eax
jne 0x1a01d
push 0x48524452
push ebx
push eax
call dword [0x1d5dc]
mov dword [ebp + 8], eax
test eax, eax
je 0x1a01d
mov eax, dword [esi + 0x18]
mov eax, dword [eax + 0x34]
test eax, eax
je 0x19fba
push 0
push eax
call dword [0x1d558]
mov eax, dword [esi + 0x18]
xor ecx, ecx
mov word [eax + 0x30], cx
mov eax, dword [esi + 0x18]
mov ecx, ebx
mov word [eax + 0x32], cx
mov eax, dword [esi + 0x18]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x34], ecx
mov eax, dword [esi + 0x18]
push ebx
push 0
push dword [eax + 0x34]
call fcn.0001b954
add esp, 0xc
push 0x22450
mov eax, dword [esi + 0x18]
add eax, 0x30
push eax
call dword [0x1d5d8]
push dword [ebp - 8]
call fcn.00015aca
and dword [edi + 0x1c], 0
mov esi, 0x104
xor dl, dl
mov ecx, edi
mov dword [edi + 0x18], esi
call dword [0x1d4c0]
mov eax, esi
jmp 0x1a0b5
cmp byte [0x203b8], 0
je 0x1a098
push 1
push 0x22698
lea eax, [ebp - 0xc]
push eax
call dword [0x1d59c]
test eax, eax
jne 0x1a098
push 0x48524452
push ebx
push eax
call dword [0x1d5dc]
mov dword [ebp + 8], eax
test eax, eax
je 0x1a098
mov eax, dword [esi + 0x18]
mov eax, dword [eax + 0x34]
test eax, eax
je 0x1a062
push 0
push eax
call dword [0x1d558]
mov eax, dword [esi + 0x18]
xor ecx, ecx
mov word [eax + 0x30], cx
mov eax, dword [esi + 0x18]
mov ecx, ebx
mov word [eax + 0x32], cx
mov eax, dword [esi + 0x18]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x34], ecx
mov eax, dword [esi + 0x18]
push ebx
push 0
push dword [eax + 0x34]
call fcn.0001b954
add esp, 0xc
push 0x226a0
jmp 0x19feb
push dword [ebp - 8]
call fcn.00015aca
mov ebx, dword [ebp - 4]
add dword [edi + 0x60], 0x24
inc byte [edi + 0x23]
mov ecx, dword [ebx + 4]
mov edx, edi
call dword [0x1d4a0]
pop edi
pop esi
pop ebx
leave
ret 8