Function at 0x5aadc0
Capabilities:
Get disk information
Get disk information via ioctl
Get storage device properties
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x61bc16
push eax
mov eax, 0x1ecc
mov dword fs:[0], esp
call fcn.00466c20
push ebx
push ebp
push esi
push edi
xor edx, edx
mov ecx, 0x1d
xor eax, eax
lea edi, [esp + 0x130]
mov dword [esp + 0x12c], edx
mov dword [esp + 0xb4], edx
rep stosd dword es:[edi], eax
mov ecx, 0x1d
lea edi, [esp + 0xb8]
rep stosd dword es:[edi], eax
mov ecx, 0x1d
lea edi, [esp + 0x1a8]
mov dword [esp + 0x1a4], edx
xor ebp, ebp
rep stosd dword es:[edi], eax
mov ecx, dword [0x69d0ec]
mov eax, dword [str..A:]
mov dword [esp + 0x58], ecx
mov cx, word [0x69d0f4]
mov word [esp + 0x60], cx
lea ecx, [esp + 0x1a4]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0xb4]
mov dword [esp + 0x54], eax
mov eax, dword [0x69d0f0]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x12c]
mov dword [esp + 0x5c], eax
mov word [esp + 0x62], dx
mov eax, 1
mov dword [esp + 0x24], edx
xor ebx, ebx
mov dword [esp + 0x1c], ecx
jmp 0x5aae8d
mov eax, dword [esp + 0x28]
xor edx, edx
mov esi, eax
shl eax, 1
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x1eec]
test esi, eax
mov dword [esp + 0x10], esi
je 0x5ab081
cmp ebx, edx
je 0x5aaeb5
cmp ebx, 1
jne 0x5aaf64
cmp ebp, 0x1e
jae 0x5ab08b
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x77a]
mov word [esp + 0x778], dx
mov edx, dword [0x680268]
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ax, word [0x68026c]
mov dword [esp + 0x30], edx
mov word [esp + 0x34], ax
lea edx, [esp + 0x77c]
lea eax, [esp + 0x30]
lea ecx, [ebx + 0x41]
push edx
push eax
mov word [esp + 0x38], cx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
lea ecx, [esp + 0x778]
push ecx
call fcn.00467f24
lea edx, [esp + 0x77c]
push str.floppy
push edx
call fcn.00466c4f
add esp, 0xc
test eax, eax
je 0x5aaf64
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
inc ebp
mov dword [eax], ebx
mov dword [ecx], esi
mov dword [edx], 0x3e8
add eax, 4
add ecx, 4
add edx, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
jmp 0x5ab081
push 0
push 0x80
push 3
push 0
push 7
lea ecx, [esp + 0x68]
lea eax, [ebx + 0x41]
push SysReAllocStringLen
push ecx
mov word [esp + 0x78], ax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x5ab081
xor edx, edx
xor eax, eax
mov dword [esp + 0x3c], edx
lea ecx, [esp + 0x34]
mov dword [esp + 0x40], edx
push eax
push ecx
lea edx, [esp + 0x40]
push 0xc
push edx
push eax
push eax
push 0x2d1080
push esi
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
jne 0x5ab002
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 1
je 0x5aaff8
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x1eec]
shr eax, 1
not eax
and ecx, eax
mov dword [esp + 0x1eec], ecx
jmp 0x5ab081
mov dword [esp + 0x24], 1
jmp 0x5ab081
mov ecx, dword [esp + 0x38]
cmp ecx, 7
je 0x5ab015
cmp ecx, 5
je 0x5ab015
cmp ecx, 2
jne 0x5ab081
mov edx, dword [esp + 0x3c]
xor eax, eax
test ebp, ebp
jbe 0x5ab04c
cmp dword [esp + eax*4 + 0x12c], edx
jne 0x5ab031
cmp dword [esp + eax*4 + 0x1a4], ecx
je 0x5ab038
inc eax
cmp eax, ebp
jb 0x5ab01f
jmp 0x5ab04c
mov esi, dword [esp + 0x10]
mov edi, dword [esp + eax*4 + 0xb4]
or edi, esi
mov dword [esp + eax*4 + 0xb4], edi
cmp eax, ebp
jne 0x5ab081
cmp ebp, 0x1e
jae 0x5ab08b
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x10]
inc ebp
mov dword [eax], edx
mov edx, dword [esp + 0x18]
add eax, 4
mov dword [edx], esi
mov esi, dword [esp + 0x14]
add edx, 4
mov dword [esp + 0x1c], eax
mov dword [esi], ecx
add esi, 4
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], esi
inc ebx
cmp ebx, 0x1a
jl 0x5aae87
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], ebp
test eax, eax
je 0x5ab17f
xor esi, esi
lea ebx, [ebp*4]
mov ecx, 0x13
xor eax, eax
lea edi, [esp + 0x66]
mov word [esp + 0x64], 0
rep stosd dword es:[edi], eax
push esi
lea ecx, [esp + 0x68]
push str..PhysicalDrive_d
push ecx
stosw word es:[edi], ax
call fcn.00466dce
add esp, 0xc
lea edx, [esp + 0x64]
push 0
push 0x80
push 3
push 0
push 7
push SysReAllocStringLen
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x5ab133
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, 0x78
jae 0x5ab13d
xor eax, eax
mov ecx, 7
test ebx, ebx
jbe 0x5ab11d
cmp dword [esp + eax*4 + 0x12c], esi
jne 0x5ab118
cmp dword [esp + eax*4 + 0x1a4], ecx
je 0x5ab11d
inc eax
cmp eax, ebp
jb 0x5ab106
cmp eax, ebp
jne 0x5ab133
mov dword [esp + ebx + 0x12c], esi
mov dword [esp + ebx + 0x1a4], ecx
inc ebp
add ebx, 4
inc esi
cmp esi, 4
jl 0x5ab0a4
mov esi, dword [esp + 0x1eec]
mov dword [esp + 0x14], ebp
test ebp, ebp
jbe 0x5ab17f
lea ecx, [esp + 0xb4]
mov edx, ebp
mov eax, dword [ecx]
test eax, eax
jbe 0x5ab15f
not eax
and esi, eax
add ecx, 4
dec edx
jne 0x5ab155
test ebp, ebp
jbe 0x5ab17f
lea eax, [esp + 0xb4]
mov ecx, ebp
cmp dword [eax], 0
jne 0x5ab179
mov dword [eax], esi
add eax, 4
dec ecx
jne 0x5ab172
xor eax, eax
cmp ebp, eax
mov ebp, dword [esp + 0x1ef0]
mov dword [esp + 0x20], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], eax
jbe 0x5abb45
xor esi, esi
mov ecx, 0x13
xor eax, eax
lea edi, [esp + 0x66]
mov ebx, dword [esp + 0x1c]
mov word [esp + 0x64], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [esp + ebx*4 + 0x1a4]
cmp edi, 7
mov dword [esp + 0x2c], edi
jne 0x5ab1e4
mov eax, dword [esp + ebx*4 + 0x12c]
lea ecx, [esp + 0x64]
push eax
push str..PhysicalDrive_d
push ecx
call fcn.00466dce
add esp, 0xc
cmp edi, 5
je 0x5ab1ee
cmp edi, 2
jne 0x5ab208
mov edx, dword [esp + ebx*4 + 0x12c]
lea eax, [esp + 0x64]
push edx
push str..CdRom_d
push eax
call fcn.00466dce
add esp, 0xc
cmp edi, 0x3e8
jne 0x5ab40d
mov edx, dword [esp + 0x24]
mov ecx, 0x156
xor eax, eax
lea edi, [esp + 0x1184]
mov dword [esp + 0x1180], esi
inc edx
rep stosd dword es:[edi], eax
mov eax, dword [esp + ebx*4 + 0xb4]
mov dword [esp + 0x24], edx
mov dword [esp + 0x1188], eax
lea eax, [edx + edx*4]
mov ecx, 4
lea eax, [eax + eax*4]
mov dword [esp + 0x1184], ecx
lea edx, [edx + eax*4]
mov eax, dword [esp + 0x1ef4]
mov dword [eax + edx*8 - 0x328], ecx
mov ecx, dword [ebp + 8]
mov ebx, ecx
mov dword [esp + 0x2c], ebx
inc ebx
cmp ebx, esi
jne 0x5ab291
mov eax, dword [ebp + 4]
cmp eax, esi
je 0x5ab286
push eax
call fcn.005ed483
add esp, 4
mov dword [ebp + 4], esi
mov dword [ebp + 0xc], esi
mov dword [ebp + 8], esi
jmp 0x5ab3e4
mov edi, dword [ebp + 4]
cmp edi, esi
jne 0x5ab2d2
lea ecx, [ebx + ebx*8]
lea eax, [ebx + ecx*2]
lea edx, [eax + eax*8]
lea esi, [ebx + edx*2]
shl esi, 2
push esi
call fcn.005ed45a
mov ecx, esi
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebp + 4], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov dword [ebp + 0xc], ebx
mov dword [ebp + 8], ebx
jmp 0x5ab3e4
cmp ebx, dword [ebp + 0xc]
jg 0x5ab315
cmp ebx, ecx
jle 0x5ab30d
lea edx, [ecx + ecx*8]
mov eax, ebx
sub eax, ecx
lea edx, [ecx + edx*2]
lea edx, [edx + edx*8]
lea ecx, [ecx + edx*2]
lea edx, [eax + eax*8]
lea edi, [edi + ecx*4]
lea ecx, [eax + edx*2]
lea ecx, [ecx + ecx*8]
lea ecx, [eax + ecx*2]
xor eax, eax
shl ecx, 2
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov dword [ebp + 8], ebx
jmp 0x5ab3e4
mov eax, dword [ebp + 0x10]
cmp eax, esi
jne 0x5ab33f
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x5ab333
mov eax, 4
jmp 0x5ab33f
cmp eax, 0x400
jle 0x5ab33f
mov eax, 0x400
mov ecx, dword [ebp + 0xc]
add eax, ecx
cmp ebx, eax
mov dword [esp + 0x10], eax
jl 0x5ab350
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x10]
lea ecx, [eax + eax*8]
lea ecx, [eax + ecx*2]
lea edx, [ecx + ecx*8]
lea eax, [eax + edx*2]
shl eax, 2
push eax
call fcn.005ed45a
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 4]
mov edi, eax
mov dword [esp + 0x50], eax
lea edx, [ecx + ecx*8]
lea edx, [ecx + edx*2]
lea edx, [edx + edx*8]
lea ecx, [ecx + edx*2]
shl ecx, 2
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebp + 8]
mov ecx, ebx
sub ecx, edx
lea esi, [edx + edx*8]
lea esi, [edx + esi*2]
lea esi, [esi + esi*8]
lea edx, [edx + esi*2]
lea edi, [eax + edx*4]
lea eax, [ecx + ecx*8]
lea eax, [ecx + eax*2]
lea edx, [eax + eax*8]
xor eax, eax
lea ecx, [ecx + edx*2]
shl ecx, 2
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp + 4]
push eax
call fcn.005ed483
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x18]
add esp, 8
mov dword [ebp + 4], ecx
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], edx
mov ecx, dword [esp + 0x2c]
lea esi, [esp + 0x1180]
lea eax, [ecx + ecx*8]
lea eax, [ecx + eax*2]
lea edx, [eax + eax*8]
lea eax, [ecx + edx*2]
mov ecx, dword [ebp + 4]
lea edi, [ecx + eax*4]
mov ecx, 0x157
rep movsd dword es:[edi], dword [esi]
jmp 0x5abb16
push esi
push 0x80
push 3
push esi
push 7
lea edx, [esp + 0x78]
push SysReAllocStringLen
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x5abb16
xor eax, eax
xor esi, esi
mov dword [esp + 0x38], eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x3c], eax
push esi
push ecx
lea edx, [esp + 0x4c]
mov dword [esp + 0x48], eax
push 8
push edx
lea eax, [esp + 0x48]
push 0xc
push eax
push 0x2d1400
push ebx
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x54], esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x5ab487
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x5abb16
mov edx, dword [esp + 0x20]
cmp edx, esi
je 0x5ab4b8
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x48]
cmp ecx, eax
jb 0x5ab4af
mov esi, ecx
xor eax, eax
mov edi, edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x5ab4f1
push edx
call fcn.005ed483
add esp, 4
mov ecx, dword [esp + 0x48]
push ecx
call fcn.005ed45a
mov edx, eax
add esp, 4
cmp edx, esi
mov dword [esp + 0x20], edx
je 0x5abb2d
mov ecx, dword [esp + 0x48]
xor eax, eax
mov esi, ecx
mov edi, edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x48]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x34]
push 0
push ecx
push eax
push edx
lea ecx, [esp + 0x48]
push 0xc
push ecx
push 0x2d1400
push ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x5abb16
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x1c]
cmp eax, 7
je 0x5ab550
cmp eax, 3
je 0x5ab550
cmp eax, 2
je 0x5ab550
cmp eax, 1
je 0x5ab550
cmp eax, 0xb
je 0x5ab550
cmp eax, 0x10
je 0x5ab550
cmp eax, 0x11
jne 0x5abb16
mov ebx, dword [esp + 0x24]
mov ecx, 0x156
xor eax, eax
lea edi, [esp + 0x220]
mov dword [esp + 0x21c], 0
inc ebx
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x2c]
xor ecx, ecx
cmp eax, 7
mov dword [esp + 0x24], ebx
mov dword [esp + 0x10], ecx
jne 0x5ab631
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x1c]
cmp eax, 7
jne 0x5ab59c
mov ecx, 1
mov dword [esp + 0x10], ecx
cmp eax, 3
je 0x5ab5b5
cmp eax, 1
je 0x5ab5b5
cmp eax, 0xb
je 0x5ab5b5
cmp eax, 0x10
je 0x5ab5b5
cmp eax, 0x11
jne 0x5ab5be
mov ecx, 2
mov dword [esp + 0x10], ecx
mov esi, dword [esp + 0x1ef4]
cmp ebx, 0x1e
jae 0x5ab8ac
test esi, esi
je 0x5ab8ac
cmp dword [esp + 0x220], 5
je 0x5ab5fd
lea edx, [ebx + ebx*4]
mov ecx, 0xca
xor eax, eax
lea edx, [edx + edx*4]
lea edx, [ebx + edx*4]
lea edi, [esi + edx*8 - 0x328]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
mov dl, byte [eax + 0xa]
test dl, dl
je 0x5ab66a
mov edx, 1
cmp ecx, edx
jne 0x5ab6c1
lea eax, [ebx + ebx*4]
mov dword [esp + 0x220], edx
lea ecx, [eax + eax*4]
lea eax, [ebx + ecx*4]
mov dword [esi + eax*8 - 0x328], edx
jmp 0x5ab6c1
mov edx, 5
cmp ebx, 0x1e
mov dword [esp + 0x220], edx
jae 0x5ab8ac
mov esi, dword [esp + 0x1ef4]
test esi, esi
je 0x5ab5c5
lea eax, [ebx + ebx*4]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*4]
mov dword [esi + eax*8 - 0x328], edx
jmp 0x5ab5c5
cmp ecx, 1
jne 0x5ab68d
lea eax, [ebx + ebx*4]
mov ecx, 2
mov dword [esp + 0x220], ecx
lea edx, [eax + eax*4]
lea eax, [ebx + edx*4]
mov dword [esi + eax*8 - 0x328], ecx
jmp 0x5ab6c1
cmp ecx, 2
jne 0x5ab6c1
lea eax, [ebx + ebx*4]
mov ecx, 3
mov dword [esp + 0x220], ecx
lea edx, [eax + eax*4]
lea eax, [ebx + edx*4]
lea eax, [esi + eax*8]
mov dword [eax - 0x328], ecx
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + ecx*4 + 0x12c]
mov dword [eax - 0x324], edx
mov eax, dword [esp + 0x1c]
xor edx, edx
xor esi, esi
mov ecx, dword [esp + eax*4 + 0xb4]
mov dword [esp + 0x10], esi
mov dword [esp + 0x224], ecx
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x5ab6e9
lea edx, [eax + ecx]
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x5ab6f3
lea esi, [eax + ecx]
mov eax, dword [ecx + 0x14]
test eax, eax
je 0x5ab700
add eax, ecx
mov dword [esp + 0x10], eax
test edx, edx
jne 0x5ab70c
test esi, esi
je 0x5ab839
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x982]
mov word [esp + 0x980], 0
rep stosd dword es:[edi], eax
test edx, edx
stosw word es:[edi], ax
je 0x5ab7a3
lea eax, [esp + 0x980]
push 0x400
push eax
push 0xffffffffffffffff
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea ecx, [esp + 0x980]
lea edx, [esp + 0x228]
push ecx
push edx
mov edi, eax
call fcn.00466936
lea eax, [esp + 0x230]
push 0x66d62c
push eax
call fcn.0046690c
add esp, 0x10
test edi, edi
jbe 0x5ab7a3
cmp edi, 0x77
ja 0x5ab7a3
lea eax, [ebx + ebx*4]
lea ecx, [esp + 0x980]
push ecx
mov ecx, dword [esp + 0x1ef8]
lea edx, [eax + eax*4]
lea eax, [ebx + edx*4]
lea edx, [ecx + eax*8 - 0x320]
push edx
call fcn.00466936
add esp, 8
test esi, esi
je 0x5ab839
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0x980]
push 0x400
rep stosd dword es:[edi], eax
lea eax, [esp + 0x984]
push eax
push 0xffffffffffffffff
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
test edi, edi
jbe 0x5ab839
lea ecx, [esp + 0x228]
push ecx
call fcn.00465c4f
add eax, edi
add esp, 4
cmp eax, 0xc7
ja 0x5ab80c
lea edx, [esp + 0x980]
lea eax, [esp + 0x228]
push edx
push eax
call fcn.0046690c
add esp, 8
cmp edi, 0x77
ja 0x5ab839
lea eax, [ebx + ebx*4]
lea ecx, [esp + 0x980]
push ecx
mov ecx, dword [esp + 0x1ef8]
lea edx, [eax + eax*4]
lea eax, [ebx + edx*4]
lea edx, [ecx + eax*8 - 0x230]
push edx
call fcn.00466936
add esp, 8
mov eax, dword [esp + 0x10]
test eax, eax
je 0x5ab8ac
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x16de]
mov word [esp + 0x16dc], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
push 0x400
stosw word es:[edi], ax
lea eax, [esp + 0x16e0]
push eax
push 0xffffffffffffffff
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jbe 0x5ab8ac
cmp eax, 0x4f
ja 0x5ab8ac
lea eax, [ebx + ebx*4]
lea edx, [esp + 0x16dc]
push edx
mov edx, dword [esp + 0x1ef8]
lea eax, [eax + eax*4]
lea ecx, [ebx + eax*4]
lea eax, [edx + ecx*8 - 0x140]
push eax
call fcn.00466936
add esp, 8
mov ebx, dword [esp + 0x20]
push 0x69dc58
lea ecx, [esp + 0x1c]
mov edi, dword [ebx + 0x18]
call fcn.00480200
xor esi, esi
cmp edi, esi
mov dword [esp + 0x1ee4], esi
je 0x5ab95e
cmp edi, 0xffffffff
je 0x5ab95e
mov ecx, dword [0x62910c]
add edi, ebx
mov dword [esp + 0x28], ecx
push edi
lea ecx, [esp + 0x2c]
call fcn.00480e20
lea edx, [esp + 0x28]
lea ecx, [esp + 0x18]
push edx
mov byte [esp + 0x1ee8], 1
call fcn.00480c20
lea ecx, [esp + 0x28]
mov byte [esp + 0x1ee4], 0
call fcn.00480a70
push 0x66d62c
lea ecx, [esp + 0x1c]
call fcn.00484730
push 0x66d62c
lea ecx, [esp + 0x1c]
call fcn.00484450
mov ecx, 0x78
xor eax, eax
lea edi, [esp + 0x598]
push 0xef
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x59c]
push eax
push ecx
call fcn.0046634f
add esp, 0xc
mov edx, dword [ebp + 8]
mov ebx, edx
mov dword [esp + 0x4c], ebx
inc ebx
cmp ebx, esi
jne 0x5ab98a
mov eax, dword [ebp + 4]
cmp eax, esi
je 0x5ab97f
push eax
call fcn.005ed483
add esp, 4
mov dword [ebp + 4], esi
mov dword [ebp + 0xc], esi
mov dword [ebp + 8], esi
jmp 0x5abade
mov edi, dword [ebp + 4]
cmp edi, esi
jne 0x5ab9cb
lea edx, [ebx + ebx*8]
lea eax, [ebx + edx*2]
lea eax, [eax + eax*8]
lea esi, [ebx + eax*2]
shl esi, 2
push esi
call fcn.005ed45a
mov ecx, esi
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebp + 4], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov dword [ebp + 0xc], ebx
mov dword [ebp + 8], ebx
jmp 0x5abade
mov ecx, dword [ebp + 0xc]
cmp ebx, ecx
jg 0x5aba10
cmp ebx, edx
jle 0x5aba08
lea eax, [edx + edx*8]
mov ecx, ebx
sub ecx, edx
lea eax, [edx + eax*2]
lea eax, [eax + eax*8]
lea edx, [edx + eax*2]
lea eax, [ecx + ecx*8]
lea eax, [ecx + eax*2]
lea edi, [edi + edx*4]
lea edx, [eax + eax*8]
xor eax, eax
lea ecx, [ecx + edx*2]
shl ecx, 2
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov dword [ebp + 8], ebx
jmp 0x5abade
mov eax, dword [ebp + 0x10]
cmp eax, esi
jne 0x5aba3a
mov eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x5aba2e
mov eax, 4
jmp 0x5aba3a
cmp eax, 0x400
jle 0x5aba3a
mov eax, 0x400
add eax, ecx
cmp ebx, eax
mov dword [esp + 0x10], eax
jl 0x5aba48
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x10]
lea ecx, [eax + eax*8]
lea ecx, [eax + ecx*2]
lea edx, [ecx + ecx*8]
lea eax, [eax + edx*2]
shl eax, 2
push eax
call fcn.005ed45a
mov edx, eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 4]
mov edi, edx
lea ecx, [eax + eax*8]
mov dword [esp + 0x30], edx
lea ecx, [eax + ecx*2]
lea ecx, [ecx + ecx*8]
lea ecx, [eax + ecx*2]
shl ecx, 2
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 8]
sub eax, ecx
lea esi, [ecx + ecx*8]
lea esi, [ecx + esi*2]
lea esi, [esi + esi*8]
lea ecx, [ecx + esi*2]
lea edi, [edx + ecx*4]
lea edx, [eax + eax*8]
lea ecx, [eax + edx*2]
lea ecx, [ecx + ecx*8]
lea ecx, [eax + ecx*2]
xor eax, eax
shl ecx, 2
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp + 4]
push eax
call fcn.005ed483
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
add esp, 8
mov dword [ebp + 4], eax
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ecx
mov ecx, dword [esp + 0x4c]
lea esi, [esp + 0x21c]
mov dword [esp + 0x1ee4], 0xffffffff
lea edx, [ecx + ecx*8]
lea eax, [ecx + edx*2]
mov edx, dword [ebp + 4]
lea eax, [eax + eax*8]
lea ecx, [ecx + eax*2]
lea edi, [edx + ecx*4]
mov ecx, 0x157
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x18]
call fcn.00480a70
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
inc eax
cmp eax, ecx
mov dword [esp + 0x1c], eax
jb 0x5ab1a0
jmp 0x5abb34
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x5abb45
push eax
call fcn.005ed483
add esp, 4
mov ecx, dword [ebp + 8]
xor eax, eax
test ecx, ecx
mov ecx, dword [esp + 0x1edc]
pop edi
pop esi
pop ebp
setne al
pop ebx
mov dword fs:[0], ecx
add esp, 0x1ed8
ret