joyce8/EMBER2024-capa huggingface dataset:
Function at 0x481e30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f7d00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0x14]
push eax
push 0x2001f
xor esi, esi
push esi
push ebx
push edi
mov dword [ebp - 4], esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, esi
jne 0x481ef0
mov edi, dword [ebp - 0x14]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
push 4
lea ecx, [ebp + 8]
push ecx
push 4
push esi
push edx
push edi
mov dword [ebp + 8], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
neg esi
sbb esi, esi
inc esi
test edi, edi
je 0x481ea4
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x481ebe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x481edb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp + 8]
push edx
push esi
push 0x2001f
push esi
push esi
push esi
push ebx
push edi
mov dword [ebp + 8], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, esi
jne 0x481f18
mov edi, dword [ebp + 8]
jmp 0x481e78
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x481f32
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x481f4f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x481f90
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f7d10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0x14]
push eax
push 0x2001f
xor esi, esi
push esi
push ebx
push edi
mov dword [ebp - 4], esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, esi
jne 0x482073
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
mov eax, dword [ebp + 0x10]
push esi
push 1
push 0
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
neg esi
sbb esi, esi
inc esi
test edi, edi
je 0x48200a
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x482024
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x482041
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48205e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp + 8]
push edx
push esi
push 0x2001f
push esi
push esi
push esi
push ebx
push edi
mov dword [ebp + 8], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, esi
jne 0x48209b
mov edi, dword [ebp + 8]
jmp 0x481fdc
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4820b5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4820d2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4820ef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x482377
Capabilities:
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4f7d78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
lea edi, [esi + 4]
mov ecx, edi
mov dword [esp + 0xc], edi
call fcn.00401300
mov ebp, dword [esp + 0x20]
lea eax, [esp + 0x20]
push ebp
push eax
mov dword [esp + 0x20], 0
call fcn.00486070
mov eax, dword [eax]
push eax
mov byte [esp + 0x24], 1
call fcn.00485ff0
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
add esp, 0xc
mov byte [esp + 0x18], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4823d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push ebp
lea ecx, [esp + 0x24]
call fcn.00401fd0
lea eax, [esp + 0x20]
add esi, 0x24
push eax
mov ecx, esi
mov byte [esp + 0x1c], 2
call fcn.004040e0
mov esi, dword [esi]
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x18], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x482422
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [edi]
mov ecx, edi
mov dword [esp + 0x18], 0xffffffff
call dword [eax + 0x14]
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x482ba0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4f7d2b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
lea ecx, [esi + 4]
mov dword [esp + 8], esi
mov dword [esi], 0x50b854
call fcn.00401270
xor edi, edi
push 0x4fca4e
lea ecx, [esi + 0x24]
mov dword [esp + 0x18], edi
call fcn.00401fd0
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x2c], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x30], 0x53
mov dword [esi + 0x28], 0x50b80c
mov dword [esi + 0x3c], 0x3c
mov dword [esi + 0x44], 0xc8
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x483440
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f7f48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x48]
mov ecx, ebx
mov dword [esp + 0xc], ebx
call fcn.00401300
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0
call fcn.004e4494
mov dword [esp + 0x10], 0x4fccc8
mov eax, dword [esp + 0x30]
push 0
push 0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 1
call fcn.00485560
test eax, eax
je 0x48353c
push ebp
push edi
lea ecx, [esp + 0x18]
call fcn.00485770
mov ebp, eax
push ebp
call fcn.004df1be
mov edi, eax
mov ecx, ebp
mov edx, ecx
shr ecx, 2
mov dword [esp + 0x3c], edi
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
add esp, 4
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x38]
push ebp
push edi
lea ecx, [esp + 0x20]
call fcn.004856b0
cmp ebp, eax
jne 0x483524
call fcn.004df219
push eax
push ebp
push edi
lea ecx, [esp + 0x1c]
call fcn.00407c70
mov edi, dword [esp + 0x10]
push edi
mov ecx, esi
mov byte [esp + 0x34], 2
call fcn.004830c0
lea eax, [edi - 0x10]
mov byte [esp + 0x30], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x483524
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x38]
push eax
call fcn.004df1b9
add esp, 4
lea ecx, [esp + 0x18]
call fcn.004e4432
pop edi
pop ebp
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
mov dword [esp + 0x10], 0x4fccc8
call fcn.004e44d3
mov edx, dword [ebx]
mov ecx, ebx
mov dword [esp + 0x28], 0xffffffff
call dword [edx + 0x14]
mov ecx, dword [esp + 0x20]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x483580
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f7f97
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esp + 8], esi
mov dword [esi], 0x50bacc
mov dword [esi + 4], edi
mov dword [esi + 8], edi
call fcn.004df219
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0xc], eax
mov dword [esp + 0x14], edi
call fcn.004df219
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x10], eax
mov byte [esp + 0x14], 1
call fcn.004df219
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x14], eax
mov byte [esp + 0x14], 2
call fcn.004df219
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x18], eax
lea ecx, [esi + 0x48]
mov byte [esp + 0x14], 3
mov dword [esi + 0x1c], 1
mov dword [esi + 0x20], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], 0x12c
mov dword [esi + 0x44], edi
call fcn.00401270
mov ecx, esi
mov byte [esp + 0x14], 4
call fcn.00483050
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x483a20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f8008
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x48]
mov ecx, edi
mov dword [esp + 8], edi
call fcn.00401300
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0
call fcn.004e4494
mov dword [esp + 0xc], 0x4fccc8
mov eax, dword [esp + 0x2c]
push 0
push 0x1001
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 1
call fcn.00485560
test eax, eax
je 0x483ad0
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
call fcn.00483660
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 2
call fcn.00485710
lea ecx, [esp + 0xc]
call fcn.004e4432
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x24], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x483ad0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 0
mov dword [esp + 0xc], 0x4fccc8
call fcn.004e44d3
mov eax, dword [edi]
mov ecx, edi
mov dword [esp + 0x24], 0xffffffff
call dword [eax + 0x14]
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 4

Function at 0x483d60
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4f8070
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea edi, [esi + 4]
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.00401300
xor ebx, ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], ebx
call fcn.004ddd65
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x14]
push eax
push 0x2c
push ecx
mov byte [esp + 0x3c], 1
call fcn.0047c390
mov eax, dword [esi + 0x44]
add esi, 0x40
add esp, 0xc
cmp eax, ebx
je 0x483dca
push eax
call fcn.004df1b9
add esp, 4
mov dword [esi + 4], ebx
mov eax, dword [esp + 0x1c]
xor ebp, ebp
cmp eax, ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ebx
jg 0x483e10
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 0
call fcn.004dddb7
mov edx, dword [edi]
mov ecx, edi
mov dword [esp + 0x30], 0xffffffff
call dword [edx + 0x14]
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4
xor ebx, ebx
mov edi, edi
cmp ebp, ebx
jl 0x483e53
cmp ebp, eax
jge 0x483e53
mov edx, dword [esp + 0x18]
mov eax, dword [edx + ebp*4]
push eax
call fcn.004cef45
mov edi, dword [esi + 8]
add esp, 4
test edi, edi
mov ebx, eax
jl 0x483e53
push 0xffffffffffffffff
lea eax, [edi + 1]
push eax
mov ecx, esi
call fcn.00416c90
mov ecx, dword [esi + 4]
mov dword [ecx + edi*4], ebx
mov eax, dword [esp + 0x1c]
inc ebp
cmp ebp, eax
jl 0x483e0c
mov edi, dword [esp + 0x10]
jmp 0x483dda
call fcn.004dced3
int3
Function at 0x484070
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f80c6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 4]
mov ecx, edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x50bb14
call fcn.00401270
xor ebx, ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x30], 0x1f4
mov dword [esi + 0x34], 0x32
mov dword [esi + 0x38], 4
mov dword [esi + 0x3c], ebx
mov eax, 1
mov dword [esi + 0x2c], eax
mov dword [esp + 0x18], ebx
mov dword [esi + 0x40], 0x502940
mov dword [esi + 0x44], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x48], ebx
mov ecx, edi
mov byte [esp + 0x18], al
call fcn.00401300
mov dword [esi + 0x24], ebx
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x14]
mov ecx, edi
call fcn.00401300
mov dword [esi + 0x28], ebx
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x14]
push 0x4fca4e
mov ecx, esi
call fcn.00483d60
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x3c], ebx
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x485560
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f8280
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], esp
push ebx
push eax
push edi
mov esi, ecx
mov dword [ebp - 4], 0
call fcn.004e472c
test eax, eax
jne 0x4855d1
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, dword [ebp + 0xc]
push ebx
push ecx
push edi
mov ecx, esi
call fcn.004e472c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x485860
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x4f8368
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
push edi
call fcn.004df219
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0x24]
mov esi, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov dword [esp + 0x1c], 0
mov ebx, 0x41
mov ebp, 0x1a
lea esp, [esp]
push ebx
lea eax, [esp + 0x14]
push 0x50073c
push eax
call fcn.00401c40
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push ecx
call esi
cmp eax, 3
je 0x4858e7
mov eax, dword [esp + 0x10]
push eax
call esi
cmp eax, 5
je 0x4858f7
mov ecx, dword [esp + 0x10]
push ecx
call esi
cmp eax, 2
jne 0x4858f7
mov eax, dword [edi + 8]
lea edx, [esp + 0x10]
push edx
mov ecx, edi
push eax
call fcn.004ddf86
inc ebx
dec ebp
jne 0x4858b0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
pop esi
pop ebp
pop ebx
jg 0x485925
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 4]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x485940
Capabilities:
Get disk size

Disassembly:
push 0xffffffffffffffff
push 0x4f82e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x34]
call fcn.004ddd65
lea eax, [esp + 0x34]
xor ebp, ebp
push eax
mov dword [esp + 0x54], ebp
call fcn.00485860
mov ecx, dword [esp + 0x40]
add esp, 4
push ecx
mov ecx, dword [esp + 0x60]
push ebp
call fcn.004857b0
mov eax, dword [esp + 0x3c]
cmp eax, ebp
mov dword [esp + 0x10], ebp
jbe 0x485af0
mov dword [esp + 0x14], ebp
jmp 0x4859a1
mov ebp, dword [esp + 0x10]
test ebp, ebp
jl 0x485b1e
cmp ebp, eax
jge 0x485b1e
mov edx, dword [esp + 0x38]
mov esi, dword [edx + ebp*4]
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
sub esi, 0x10
call dword [eax + 0x10]
mov edx, dword [esi + 0xc]
test edx, edx
lea ecx, [esi + 0xc]
jl 0x4859de
cmp eax, dword [esi]
jne 0x4859de
mov eax, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x485a10
mov ecx, dword [esi + 4]
mov edx, dword [eax]
push 1
push ecx
mov ecx, eax
call dword [edx]
test eax, eax
je 0x485b19
mov edx, dword [esi + 4]
mov dword [eax + 4], edx
mov ecx, dword [esi + 4]
inc ecx
mov edx, ecx
shr ecx, 2
add esi, 0x10
lea edi, [eax + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ebx, [eax + 0x10]
mov dword [esp + 0x18], ebx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x34]
push edx
push ebx
mov byte [esp + 0x60], 1
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
mov eax, dword [esp + 0x5c]
cmp ebp, dword [eax]
jae 0x485a43
mov ebp, dword [eax + 4]
add ebp, dword [esp + 0x14]
jmp 0x485a45
xor ebp, ebp
cmp dword [ebx - 4], 1
mov esi, dword [ebx - 0xc]
jle 0x485a5e
mov eax, esi
push eax
lea ecx, [esp + 0x1c]
call fcn.004013d0
mov ebx, dword [esp + 0x18]
mov eax, dword [ebp + 8]
xor edi, edi
inc esi
cmp eax, edi
je 0x485a71
push eax
call fcn.004df1b9
add esp, 4
push esi
mov dword [ebp + 4], esi
call fcn.004df1be
add esp, 4
cmp ebx, edi
mov dword [ebp + 8], eax
je 0x485a9a
mov ecx, esi
mov edx, ecx
shr ecx, 2
mov esi, ebx
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor edi, edi
mov dword [ebp + 0x1c], edi
mov eax, dword [esp + 0x1c]
mov dword [ebp + 0x10], eax
mov ecx, dword [esp + 0x20]
add ebx, 0xfffffff0
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x18], edi
mov dword [ebp + 0x14], edi
mov byte [esp + 0x50], 0
lea edx, [ebx + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x485ad0
mov ecx, dword [ebx]
mov edx, dword [ecx]
push ebx
call dword [edx + 4]
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x3c]
inc ecx
add esi, 0x20
cmp ecx, eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], esi
jb 0x48599d
lea ecx, [esp + 0x34]
mov dword [esp + 0x50], 0xffffffff
call fcn.004dddb7
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x44
ret
jmp fcn.0041aab0
jmp fcn.004dced3
Function at 0x486a00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f8410
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
xor ebx, ebx
mov dword [esp + 8], ebx
mov eax, dword [esp + 0x28]
mov eax, dword [eax]
push esi
sub eax, 0x10
push edi
push eax
mov ebp, ecx
call fcn.00401660
lea esi, [eax + 0x10]
add esp, 4
mov dword [esp + 0x10], esi
mov dword [esp + 0x24], ebx
call fcn.004df219
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x30], edi
mov eax, dword [esi - 0xc]
cmp eax, 2
mov byte [esp + 0x24], 1
jle 0x486a76
cmp eax, 1
jge 0x486a70
push 0x80070057
call fcn.00401110
cmp byte [esi + 1], 0x3a
je 0x486ae0
add esi, 0xfffffff0
push esi
call fcn.00401660
mov ebp, dword [esp + 0x30]
add eax, 0x10
mov dword [ebp], eax
lea eax, [edi - 0x10]
add esp, 4
mov byte [esp + 0x24], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x486aaa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov dword [esp + 0x24], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x486ac9
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 8
cmp eax, ebx
jge 0x486aee
push 0x80070057
call fcn.00401110
mov al, byte [esi]
lea ecx, [esp + 0x30]
mov byte [esp + 0x14], al
mov edx, dword [esp + 0x14]
push ecx
push edx
mov ecx, ebp
call fcn.00486800
test eax, eax
je 0x486b93
mov esi, dword [esi - 0xc]
add esi, 0xfffffffe
push esi
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
call fcn.00477da0
push eax
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0x30], 2
call fcn.00409450
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 3
call fcn.004040e0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x24], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x486b6c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x24], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x486b8f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, dword [esp + 0x10]
add esi, 0xfffffff0
push esi
call fcn.00401660
mov edi, dword [esp + 0x30]
add eax, 0x10
mov dword [edi], eax
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
add esp, 4
mov byte [esp + 0x24], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x486bca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov dword [esp + 0x24], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x486be9
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0x1c]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 8