Function at 0x722560
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 0x891576
push eax
mov eax, 0x1ecc
mov dword fs:[0], esp
call fcn.005fc5a0
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 [0x945a74]
mov eax, dword [str..A:]
mov dword [esp + 0x58], ecx
mov cx, word [0x945a7c]
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 [0x945a78]
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 0x72262d
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 0x722821
cmp ebx, edx
je 0x722655
cmp ebx, 1
jne 0x722704
cmp ebp, 0x1e
jae 0x72282b
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x77a]
mov word [esp + 0x778], dx
mov edx, dword [0x92f1fc]
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ax, word [0x92f200]
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.005fc291
lea edx, [esp + 0x77c]
push str.floppy
push edx
call fcn.005fc250
add esp, 0xc
test eax, eax
je 0x722704
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 0x722821
push 0
push 0x80
push 3
push 0
push 7
lea ecx, [esp + 0x68]
lea eax, [ebx + 0x41]
push SysReAllocString
push ecx
mov word [esp + 0x78], ax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x722821
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 0x7227a2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 1
je 0x722798
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x1eec]
shr eax, 1
not eax
and ecx, eax
mov dword [esp + 0x1eec], ecx
jmp 0x722821
mov dword [esp + 0x24], 1
jmp 0x722821
mov ecx, dword [esp + 0x38]
cmp ecx, 7
je 0x7227b5
cmp ecx, 5
je 0x7227b5
cmp ecx, 2
jne 0x722821
mov edx, dword [esp + 0x3c]
xor eax, eax
test ebp, ebp
jbe 0x7227ec
cmp dword [esp + eax*4 + 0x12c], edx
jne 0x7227d1
cmp dword [esp + eax*4 + 0x1a4], ecx
je 0x7227d8
inc eax
cmp eax, ebp
jb 0x7227bf
jmp 0x7227ec
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 0x722821
cmp ebp, 0x1e
jae 0x72282b
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 0x722627
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], ebp
test eax, eax
je 0x72291f
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.005fe023
add esp, 0xc
lea edx, [esp + 0x64]
push 0
push 0x80
push 3
push 0
push 7
push SysReAllocString
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x7228d3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, 0x78
jae 0x7228dd
xor eax, eax
mov ecx, 7
test ebx, ebx
jbe 0x7228bd
cmp dword [esp + eax*4 + 0x12c], esi
jne 0x7228b8
cmp dword [esp + eax*4 + 0x1a4], ecx
je 0x7228bd
inc eax
cmp eax, ebp
jb 0x7228a6
cmp eax, ebp
jne 0x7228d3
mov dword [esp + ebx + 0x12c], esi
mov dword [esp + ebx + 0x1a4], ecx
inc ebp
add ebx, 4
inc esi
cmp esi, 4
jl 0x722844
mov esi, dword [esp + 0x1eec]
mov dword [esp + 0x14], ebp
test ebp, ebp
jbe 0x72291f
lea ecx, [esp + 0xb4]
mov edx, ebp
mov eax, dword [ecx]
test eax, eax
jbe 0x7228ff
not eax
and esi, eax
add ecx, 4
dec edx
jne 0x7228f5
test ebp, ebp
jbe 0x72291f
lea eax, [esp + 0xb4]
mov ecx, ebp
cmp dword [eax], 0
jne 0x722919
mov dword [eax], esi
add eax, 4
dec ecx
jne 0x722912
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 0x7232e5
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 0x722984
mov eax, dword [esp + ebx*4 + 0x12c]
lea ecx, [esp + 0x64]
push eax
push str..PhysicalDrive_d
push ecx
call fcn.005fe023
add esp, 0xc
cmp edi, 5
je 0x72298e
cmp edi, 2
jne 0x7229a8
mov edx, dword [esp + ebx*4 + 0x12c]
lea eax, [esp + 0x64]
push edx
push str..CdRom_d
push eax
call fcn.005fe023
add esp, 0xc
cmp edi, 0x3e8
jne 0x722bad
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 0x722a31
mov eax, dword [ebp + 4]
cmp eax, esi
je 0x722a26
push eax
call fcn.008325dd
add esp, 4
mov dword [ebp + 4], esi
mov dword [ebp + 0xc], esi
mov dword [ebp + 8], esi
jmp 0x722b84
mov edi, dword [ebp + 4]
cmp edi, esi
jne 0x722a72
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.008325b4
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 0x722b84
cmp ebx, dword [ebp + 0xc]
jg 0x722ab5
cmp ebx, ecx
jle 0x722aad
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 0x722b84
mov eax, dword [ebp + 0x10]
cmp eax, esi
jne 0x722adf
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x722ad3
mov eax, 4
jmp 0x722adf
cmp eax, 0x400
jle 0x722adf
mov eax, 0x400
mov ecx, dword [ebp + 0xc]
add eax, ecx
cmp ebx, eax
mov dword [esp + 0x10], eax
jl 0x722af0
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.008325b4
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.008325dd
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 0x7232b6
push esi
push 0x80
push 3
push esi
push 7
lea edx, [esp + 0x78]
push SysReAllocString
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x7232b6
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 0x722c27
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x7232b6
mov edx, dword [esp + 0x20]
cmp edx, esi
je 0x722c58
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x48]
cmp ecx, eax
jb 0x722c4f
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 0x722c91
push edx
call fcn.008325dd
add esp, 4
mov ecx, dword [esp + 0x48]
push ecx
call fcn.008325b4
mov edx, eax
add esp, 4
cmp edx, esi
mov dword [esp + 0x20], edx
je 0x7232cd
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 0x7232b6
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x1c]
cmp eax, 7
je 0x722cf0
cmp eax, 3
je 0x722cf0
cmp eax, 2
je 0x722cf0
cmp eax, 1
je 0x722cf0
cmp eax, 0xb
je 0x722cf0
cmp eax, 0x10
je 0x722cf0
cmp eax, 0x11
jne 0x7232b6
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 0x722dd1
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x1c]
cmp eax, 7
jne 0x722d3c
mov ecx, 1
mov dword [esp + 0x10], ecx
cmp eax, 3
je 0x722d55
cmp eax, 1
je 0x722d55
cmp eax, 0xb
je 0x722d55
cmp eax, 0x10
je 0x722d55
cmp eax, 0x11
jne 0x722d5e
mov ecx, 2
mov dword [esp + 0x10], ecx
mov esi, dword [esp + 0x1ef4]
cmp ebx, 0x1e
jae 0x72304c
test esi, esi
je 0x72304c
cmp dword [esp + 0x220], 5
je 0x722d9d
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 0x722e0a
mov edx, 1
cmp ecx, edx
jne 0x722e61
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 0x722e61
mov edx, 5
cmp ebx, 0x1e
mov dword [esp + 0x220], edx
jae 0x72304c
mov esi, dword [esp + 0x1ef4]
test esi, esi
je 0x722d65
lea eax, [ebx + ebx*4]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*4]
mov dword [esi + eax*8 - 0x328], edx
jmp 0x722d65
cmp ecx, 1
jne 0x722e2d
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 0x722e61
cmp ecx, 2
jne 0x722e61
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 0x722e89
lea edx, [eax + ecx]
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x722e93
lea esi, [eax + ecx]
mov eax, dword [ecx + 0x14]
test eax, eax
je 0x722ea0
add eax, ecx
mov dword [esp + 0x10], eax
test edx, edx
jne 0x722eac
test esi, esi
je 0x722fd9
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 0x722f43
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.005fc492
lea eax, [esp + 0x230]
push 0x947bb0
push eax
call fcn.005fc468
add esp, 0x10
test edi, edi
jbe 0x722f43
cmp edi, 0x77
ja 0x722f43
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.005fc492
add esp, 8
test esi, esi
je 0x722fd9
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 0x722fd9
lea ecx, [esp + 0x228]
push ecx
call fcn.005fc40b
add eax, edi
add esp, 4
cmp eax, 0xc7
ja 0x722fac
lea edx, [esp + 0x980]
lea eax, [esp + 0x228]
push edx
push eax
call fcn.005fc468
add esp, 8
cmp edi, 0x77
ja 0x722fd9
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.005fc492
add esp, 8
mov eax, dword [esp + 0x10]
test eax, eax
je 0x72304c
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 0x72304c
cmp eax, 0x4f
ja 0x72304c
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.005fc492
add esp, 8
mov ebx, dword [esp + 0x20]
push 0x9b5220
lea ecx, [esp + 0x1c]
mov edi, dword [ebx + 0x18]
call fcn.00617650
xor esi, esi
cmp edi, esi
mov dword [esp + 0x1ee4], esi
je 0x7230fe
cmp edi, 0xffffffff
je 0x7230fe
mov ecx, dword [0x8ab26c]
add edi, ebx
mov dword [esp + 0x28], ecx
push edi
lea ecx, [esp + 0x2c]
call fcn.00618270
lea edx, [esp + 0x28]
lea ecx, [esp + 0x18]
push edx
mov byte [esp + 0x1ee8], 1
call fcn.00618070
lea ecx, [esp + 0x28]
mov byte [esp + 0x1ee4], 0
call fcn.00617ec0
push 0x947bb0
lea ecx, [esp + 0x1c]
call fcn.0061bb80
push 0x947bb0
lea ecx, [esp + 0x1c]
call fcn.0061b8a0
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.005fc3ce
add esp, 0xc
mov edx, dword [ebp + 8]
mov ebx, edx
mov dword [esp + 0x4c], ebx
inc ebx
cmp ebx, esi
jne 0x72312a
mov eax, dword [ebp + 4]
cmp eax, esi
je 0x72311f
push eax
call fcn.008325dd
add esp, 4
mov dword [ebp + 4], esi
mov dword [ebp + 0xc], esi
mov dword [ebp + 8], esi
jmp 0x72327e
mov edi, dword [ebp + 4]
cmp edi, esi
jne 0x72316b
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.008325b4
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 0x72327e
mov ecx, dword [ebp + 0xc]
cmp ebx, ecx
jg 0x7231b0
cmp ebx, edx
jle 0x7231a8
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 0x72327e
mov eax, dword [ebp + 0x10]
cmp eax, esi
jne 0x7231da
mov eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x7231ce
mov eax, 4
jmp 0x7231da
cmp eax, 0x400
jle 0x7231da
mov eax, 0x400
add eax, ecx
cmp ebx, eax
mov dword [esp + 0x10], eax
jl 0x7231e8
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.008325b4
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.008325dd
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.00617ec0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
inc eax
cmp eax, ecx
mov dword [esp + 0x1c], eax
jb 0x722940
jmp 0x7232d4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x7232e5
push eax
call fcn.008325dd
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