Function at 0x424060
Capabilities:
Get disk information
Get disk size
Get file size
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d75a0
mov eax, dword fs:[0]
push eax
sub esp, 0x910
mov eax, dword [0x63a800]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, ecx
mov dword [ebp - 0x7e0], edi
mov dword [ebp - 0x7f0], eax
call sub.KERNEL32.dll_GetLogicalDrives
nop
xor ebx, ebx
mov dword [ebp - 0x80c], eax
mov eax, dword [edi + 0x19f4]
push 0x60adb0
mov byte [edi + 0x1924], bl
mov dword [edi + 0x197c], ebx
mov dword [edi + 0x1980], ebx
mov dword [edi + 0x1984], ebx
mov dword [0x642a1c], eax
mov dword [0x642a20], 0xa
call sub.KERNEL32.dll_OutputDebugStringA
nop
call fcn.00423930
lea esi, [edi + 0x1830]
mov byte [ebp - 0x7cd], bl
mov dword [ebp - 0x7e4], 1
mov dword [ebp - 0x7ec], esi
add edi, 0x1ac
lea esp, [esp]
cmp dword [edi], 0xffffffff
je 0x424255
mov eax, dword [ebp - 0x7e4]
mov dword [ebp - 0x7dc], eax
cmp eax, 0x36
jge 0x4241d3
lea esi, [edi + 0x68]
mov ecx, dword [edi]
cmp ecx, dword [esi]
jne 0x4241b4
or eax, 0xffffffff
push ebx
push 0x60b980
lea ecx, [esi + 0x14]
mov dword [esi], eax
mov dword [esi - 0x44], ebx
mov dword [esi - 0x40], ebx
mov dword [esi - 0x1c], 0x800
mov dword [esi - 0x18], ebx
mov dword [esi - 8], eax
mov dword [esi - 0xc], eax
mov dword [esi - 4], eax
mov dword [esi - 0x14], ebx
mov dword [esi - 0x10], ebx
call fcn.00432a60
push ebx
push 0x60b980
lea ecx, [esi + 0x18]
call fcn.00432a60
push ebx
push 0x60b980
lea ecx, [esi + 0x1c]
call fcn.00432a60
movzx eax, word [ebp - 0x7dc]
push ebx
push 0x60b980
lea ecx, [esi + 0x10]
mov word [esi + 8], ax
mov word [esi + 0xa], ax
call fcn.00432a60
mov dword [esi + 4], 1
mov dword [esi + 0xc], 8
mov eax, dword [ebp - 0x7dc]
inc eax
add esi, 0x68
mov dword [ebp - 0x7dc], eax
cmp eax, 0x36
jl 0x424131
mov esi, dword [ebp - 0x7ec]
mov edx, dword [edi]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
push ebx
push 0x60b980
lea ecx, [edi + 0x14]
mov dword [edi], eax
mov dword [edi - 0x1c], 0x800
mov dword [edi - 0x18], ebx
mov dword [edi - 0x44], ebx
mov dword [edi - 0x40], ebx
mov dword [edi - 8], eax
mov dword [edi - 0xc], eax
mov dword [edi - 4], eax
mov dword [edi - 0x14], ebx
mov dword [edi - 0x10], ebx
call fcn.00432a60
push ebx
push 0x60b980
lea ecx, [edi + 0x18]
call fcn.00432a60
push ebx
push 0x60b980
lea ecx, [edi + 0x1c]
call fcn.00432a60
movzx eax, byte [ebp - 0x7cd]
push ebx
push 0x60b980
lea ecx, [edi + 0x10]
mov word [edi + 8], ax
mov word [edi + 0xa], ax
call fcn.00432a60
mov dword [edi + 4], 1
mov dword [edi + 0xc], 8
mov eax, dword [esi - 0xd8]
cmp eax, ebx
je 0x42426e
push eax
call fcn.0048989b
add esp, 4
mov dword [esi - 0xd8], ebx
mov eax, dword [esi]
cmp eax, ebx
je 0x42427f
push eax
call fcn.0048989b
add esp, 4
mov dword [esi], ebx
mov al, byte [ebp - 0x7cd]
inc dword [ebp - 0x7e4]
inc al
add esi, 4
add edi, 0x68
mov byte [ebp - 0x7cd], al
mov dword [ebp - 0x7ec], esi
cmp al, 0x36
jb 0x424110
mov edi, dword [ebp - 0x7e0]
mov al, byte [edi + 0x1926]
mov esi, edi
mov byte [ebp - 0x7cd], al
call fcn.00419370
mov cl, byte [ebp - 0x7cd]
push 0x1008
mov byte [edi + 0x1926], cl
call fcn.004898a6
add esp, 4
mov dword [ebp - 0x7e8], eax
cmp eax, ebx
jne 0x424301
mov edi, dword [edi + 0x19f4]
mov dword [0x642a1c], edi
mov dword [0x642a20], 0xb
or eax, 0xffffffff
jmp 0x425390
push 0xc08
call fcn.004898a6
add esp, 4
mov dword [ebp - 0x7ec], eax
cmp eax, ebx
jne 0x42432f
mov edx, dword [ebp - 0x7e8]
push edx
call fcn.0048989b
add esp, 4
or eax, 0xffffffff
jmp 0x425390
push 0x4253e0
push 0x4253b0
push 0x36
push 0x20
lea eax, [ebp - 0x7b4]
push eax
call fcn.005ac94a
mov dword [ebp - 4], 2
lea esi, [ebp - 0x79c]
mov dword [ebp - 0x7d8], 0x36
push ebx
push 0x60b980
lea ecx, [esi + 4]
mov dword [esi], 0xff00
call fcn.00432a60
mov dword [esi - 0x18], ebx
mov dword [esi - 8], ebx
mov dword [esi - 4], ebx
mov dword [esi - 0x10], ebx
mov dword [esi - 0xc], ebx
add esi, 0x20
dec dword [ebp - 0x7d8]
jne 0x424360
xor esi, esi
mov dword [ebp - 0x7dc], esi
jmp 0x4243a6
mov edi, dword [ebp - 0x7e0]
call fcn.0048990d
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x424bb9
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x7d4], eax
mov byte [ebp - 4], 3
cmp byte [edi + 0x1926], 4
jne 0x424c37
cmp byte [edi + 0x1927], 7
je 0x424c37
lea ecx, [ebp - 0x87c]
call fcn.004012e0
push 0x31
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x53]
push ebx
push ecx
mov dword [ebp - 0x83c], ebx
mov dword [ebp - 0x838], 0xffffffff
mov dword [ebp - 0x844], esi
mov byte [ebp - 0x54], 0
call fcn.005afd80
add esp, 0xc
push esi
lea edx, [ebp - 0x54]
push 0x60adbc
push edx
call fcn.005acd60
lea eax, [ebp - 0x54]
add esp, 0xc
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x424440
sub eax, edx
push eax
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x824]
call fcn.00432a60
lea eax, [ebp - 0x54]
lea esi, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x424460
sub eax, esi
push eax
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x828]
call fcn.00432a60
push ebx
push ebx
push 3
push ebx
push 3
push SysReAllocStringLen
lea edx, [ebp - 0x54]
push edx
mov dword [ebp - 0x840], 0xffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
mov eax, dword [edi + 0x19f4]
mov dword [ebp - 0x838], esi
mov dword [0x642a1c], eax
mov dword [0x642a20], 0x37
cmp esi, 0xffffffff
jne 0x4244f4
mov dword [0x642a1c], eax
mov dword [0x642a20], 0xd
lea ecx, [ebp - 0x87c]
call fcn.004016a0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x7d4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x424b92
mov ecx, dword [ebp - 0x7e8]
push 0x1008
push ebx
push ecx
call fcn.005afd80
mov eax, dword [ebp - 0x7e8]
add esp, 0xc
push ebx
lea edx, [ebp - 0x800]
push edx
push 0x1008
push eax
push ebx
push ebx
push 0x2d0c04
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov ecx, dword [edi + 0x19f4]
mov dword [0x642a1c], ecx
mov dword [0x642a20], 0x38
cmp eax, ebx
jne 0x424637
mov eax, dword [ebp - 0x838]
push ebx
lea ecx, [ebp - 0x810]
push ecx
push 0x18
lea edx, [ebp - 0x7cc]
push edx
push ebx
push ebx
push 0x700a0
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
cmp eax, ebx
jne 0x4245aa
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x838]
mov edi, dword [edi + 0x19f4]
push ecx
mov dword [0x642a1c], edi
mov dword [0x642a20], 0xe
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x838], 0xffffffff
jmp 0x424b6d
cmp dword [ebp - 0x7b8], ebx
je 0x42460f
cmp dword [ebp - 0x7c0], ebx
je 0x42460f
mov eax, dword [ebp - 0x7bc]
cmp eax, ebx
je 0x42460f
mov esi, dword [ebp - 0x7cc]
mov edx, dword [ebp - 0x7c8]
mov ecx, esi
or ecx, edx
je 0x42460f
mov ecx, dword [ebp - 0x7b8]
mov dword [ebp - 0x870], edx
mov edx, dword [ebp - 0x7c0]
mov dword [ebp - 0x838], 0xffffffff
mov dword [ebp - 0x860], ecx
mov dword [ebp - 0x874], esi
mov dword [ebp - 0x868], edx
mov dword [ebp - 0x864], eax
jmp 0x4246b1
mov eax, dword [ebp - 0x838]
mov edx, dword [edi + 0x19f4]
push eax
mov dword [0x642a1c], edx
mov dword [0x642a20], 0xf
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4244ca
mov esi, dword [ebp - 0x7e8]
add esi, 8
mov ecx, 8
lea edi, [ebp - 0x874]
mov dword [ebp - 0x87c], ebx
mov dword [ebp - 0x878], ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x860]
mov dword [0x642a1c], 0x1000
mov dword [0x642a20], 0x96
cmp ecx, ebx
je 0x424b60
mov edx, dword [ebp - 0x868]
cmp edx, ebx
je 0x424b60
mov eax, dword [ebp - 0x864]
cmp eax, ebx
je 0x424b60
mov esi, dword [ebp - 0x874]
mov edi, esi
or edi, dword [ebp - 0x870]
je 0x424b60
mov edi, dword [ebp - 0x7e0]
mul edx
push ebx
push ecx
push edx
push eax
call fcn.005af0e0
mov ecx, dword [ebp - 0x870]
push ecx
push esi
push edx
push eax
call fcn.005af0e0
mov ecx, dword [ebp - 0x838]
push ebx
mov dword [ebp - 0x87c], eax
mov eax, dword [edi + 0x19f4]
mov dword [ebp - 0x878], edx
lea edx, [ebp - 0x808]
push edx
push 8
mov dword [0x642a1c], eax
lea eax, [ebp - 0x7fc]
push eax
push ebx
push ebx
push 0x7405c
push ecx
mov dword [ebp - 0x7fc], ebx
mov dword [ebp - 0x7f8], ebx
mov dword [0x642a20], 0x3d
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
cmp eax, ebx
je 0x42474f
cmp dword [ebp - 0x878], 0x10000
ja 0x42474f
jb 0x424737
cmp dword [ebp - 0x87c], ebx
jae 0x42474f
mov edx, dword [ebp - 0x7fc]
mov eax, dword [ebp - 0x7f8]
mov dword [ebp - 0x87c], edx
mov dword [ebp - 0x878], eax
cmp byte [edi + 0x1926], 4
mov eax, dword [edi + 0x19f4]
mov dword [0x642a1c], eax
mov dword [0x642a20], 0x3e
jne 0x424b42
mov esi, 0x1a
lea eax, [ebp - 0x45a]
lea esp, [esp]
cmp byte [eax + 1], 0
jne 0x42479a
cmp byte [eax], 0
jne 0x42479a
mov ecx, dword [eax + 2]
cmp dword [ecx - 0xc], 0
jne 0x42479a
cmp byte [eax - 2], 0
je 0x4247a8
inc esi
add eax, 0x20
cmp esi, 0x36
jl 0x424780
jmp 0x424b42
mov edi, esi
imul edi, edi, 0x68
add edi, dword [ebp - 0x7e0]
lea eax, [ebp - 0x87c]
lea ebx, [edi + 0x168]
mov dword [ebp - 0x7e4], edi
call fcn.004010b0
mov ebx, esi
lea ecx, [ebp - 0x54]
mov eax, edi
shl ebx, 5
push ecx
lea ecx, [ebp + ebx - 0x798]
mov word [eax + 0x1b4], si
mov word [eax + 0x1b6], si
mov byte [ebp + ebx - 0x799], 1
call fcn.00432b40
mov dl, byte [ebp - 0x7dc]
mov byte [ebp + ebx - 0x79c], 0
mov byte [ebp + ebx - 0x79b], dl
cmp esi, 0x36
jge 0x424b42
lea esi, [ebp - 0x8bc]
call fcn.00425400
mov eax, esi
mov byte [ebp - 4], 0x14
call fcn.00445a90
xor ebx, ebx
push 0x31
lea eax, [ebp - 0xbb]
push ebx
push eax
mov byte [ebp - 0xbc], bl
call fcn.005afd80
add esp, 0xc
push 0x31
lea ecx, [ebp - 0xef]
push ebx
push ecx
mov byte [ebp - 0xf0], bl
call fcn.005afd80
add esp, 0xc
push 0x43
lea edx, [ebp - 0xf0]
push 0x60addc
push edx
call fcn.005acd60
mov eax, dword [ebp - 0x7dc]
add esp, 0xc
push eax
lea ecx, [ebp - 0xbc]
push 0x60ade4
push ecx
call fcn.005acd60
add esp, 0xc
lea edx, [ebp - 0xbc]
push edx
lea ecx, [ebp - 0x888]
call fcn.00432b40
mov eax, dword [edi + 0x168]
mov ecx, dword [edi + 0x16c]
push 0x3c
lea edx, [ebp - 0x8f8]
push ebx
push edx
mov dword [ebp - 0x8a4], ebx
mov dword [ebp - 0x8a0], ebx
mov word [ebp - 0x88b], 0xff00
mov dword [ebp - 0x89c], eax
mov dword [ebp - 0x898], ecx
call fcn.005afd80
mov ecx, dword [ebp - 0x7f0]
or dword [ebp - 0x8f8], 7
add esp, 0xc
call fcn.00431cc0
mov edx, dword [ebp - 0x888]
mov dword [ebp - 0x8f4], eax
mov eax, dword [ebp - 0x7e0]
mov ecx, dword [eax + 0x1998]
mov dword [ebp - 0x8dc], ecx
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x424930
push ebx
lea ecx, [ebp - 0x888]
call fcn.00432990
mov edx, dword [ebp - 0x888]
push 0xe0
mov dword [ebp - 0x8e4], edx
call fcn.0048986c
add esp, 4
mov dword [ebp - 0x7d8], eax
mov byte [ebp - 4], 0x15
cmp eax, ebx
je 0x424962
mov ecx, eax
call fcn.004015d0
mov esi, eax
mov dword [ebp - 0x7d8], esi
jmp 0x42496a
mov dword [ebp - 0x7d8], ebx
mov esi, ebx
mov byte [ebp - 4], 0x14
cmp esi, ebx
je 0x424bc3
lea ebx, [esi + 0x70]
lea eax, [edi + 0x168]
call fcn.004010b0
mov ebx, dword [ebp - 0x7e4]
xor eax, eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
push eax
mov byte [esi + 0xc], 0xff
mov edx, dword [ebx + 0x184]
mov eax, dword [edi + 0x16c]
mov ecx, dword [edi + 0x168]
push edx
push eax
push ecx
call fcn.005af120
mov edi, dword [ebp - 0x7f0]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edx
mov dl, byte [ebx + 0x184]
mov byte [esi + 0x20], dl
mov eax, dword [ebx + 0x184]
lea ecx, [ebp - 0x8f8]
push ecx
shr eax, 8
push 0
mov byte [esi + 0x21], al
mov edx, dword [edi + 0x20]
push 0x1007
push edx
mov dword [ebp - 0x8d8], esi
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x31
mov ebx, eax
lea eax, [ebp - 0x87]
push 0
push eax
mov byte [ebp - 0x88], 0
call fcn.005afd80
mov ecx, dword [ebp - 0x898]
mov edx, dword [ebp - 0x89c]
add esp, 0xc
push 0x10000
push 0
push ecx
push edx
lea esi, [ebp - 0x88]
call fcn.004469c0
add esp, 0x10
mov eax, esi
push eax
push 1
push ebx
mov ecx, edi
call fcn.004b216d
lea ecx, [ebp - 0xbc]
push ecx
push 2
push ebx
mov ecx, edi
call fcn.004b216d
mov edi, dword [ebp - 0x838]
call fcn.00444ba0
mov edi, dword [ebp - 0x7e4]
mov esi, dword [ebp - 0x7d8]
mov dword [edi + 0x1b8], eax
mov dword [ebp - 0x82c], eax
mov dword [esi + 0xc0], eax
mov ecx, dword [ebp - 0x838]
lea edx, [ebp - 0x7d4]
call fcn.00468820
test eax, eax
je 0x424b22
mov eax, dword [ebp - 0x7d4]
mov edx, dword [eax - 8]
mov ecx, 1
sub ecx, dword [eax - 4]
or edx, ecx
jge 0x424ab7
push 0
lea ecx, [ebp - 0x7d4]
call fcn.00432990
mov eax, dword [ebp - 0x7d4]
mov ecx, dword [ebp - 0x7f0]
push eax
push 0
push ebx
call fcn.004b216d
lea edx, [ebp - 0x7d4]
lea ecx, [esi + 0xcc]
push edx
call fcn.004327f0
lea eax, [ebp - 0x7d4]
lea ecx, [esi + 0xd0]
push eax
call fcn.004327f0
lea edx, [ebp - 0x7d4]
lea ecx, [esi + 0xdc]
push edx
call fcn.004327f0
lea eax, [ebp - 0x7d4]
lea ecx, [edi + 0x1c4]
push eax
call fcn.004327f0
lea edx, [ebp - 0x7d4]
lea ecx, [edi + 0x1c8]
push edx
call fcn.004327f0
jmp 0x424b37
mov ecx, dword [ebp - 0x7f0]
lea eax, [ebp - 0xbc]
push eax
push 0
push ebx
call fcn.004b216d
lea eax, [ebp - 0x8bc]
call fcn.004017f0
lea ecx, [ebp - 0x87c]
call fcn.004016a0
lea ecx, [ebp - 0x7d4]
mov byte [ebp - 4], 2
call fcn.00432bf0
xor ebx, ebx
jmp 0x424b9e
mov ecx, dword [ebp - 0x838]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x87c]
call fcn.004016a0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x7d4]
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x424b9e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x7dc]
inc esi
mov dword [ebp - 0x7dc], esi
cmp esi, 0x36
jl 0x4243a0
jmp 0x424c57
push 0x80004005
call fcn.00432b80
mov ecx, dword [ebp - 0x838]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x7e8]
or esi, 0xffffffff
push edx
mov dword [ebp - 0x838], esi
call fcn.0048989b
mov eax, dword [ebp - 0x7ec]
add esp, 4
push eax
call fcn.0048989b
add esp, 4
lea eax, [ebp - 0x8bc]
call fcn.004017f0
lea ecx, [ebp - 0x87c]
call fcn.004016a0
lea ecx, [ebp - 0x7d4]
call fcn.00432bf0
push 0x4253e0
push 0x36
push 0x20
lea ecx, [ebp - 0x7b4]
push ecx
mov dword [ebp - 4], esi
call fcn.005aca0d
mov eax, esi
jmp 0x425390
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x424c57
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp - 0x7e0]
mov eax, dword [ebx + 0x19f4]
mov edi, 2
lea ecx, [ebp - 0x758]
mov dword [0x642a1c], eax
mov dword [0x642a20], 0x13
mov dword [ebp - 0x7e4], edi
mov dword [ebp - 0x7dc], ecx
add ebx, 0x284
nop
mov ecx, edi
mov eax, 1
shl eax, cl
mov ecx, dword [ebp - 0x7e0]
cmp byte [ecx + 0x1926], 4
jne 0x424cb5
cmp byte [ecx + 0x1927], 6
je 0x42530e
mov edx, dword [ebp - 0x7dc]
cmp byte [edx - 1], 1
je 0x4252ee
test dword [ebp - 0x80c], eax
je 0x4252ee
xor eax, eax
add edi, 0x41
push edi
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov byte [ebp - 0x17], al
lea eax, [ebp - 0x20]
push 0x60add0
push eax
mov byte [ebp - 0x20], 0
call fcn.005acd60
add esp, 0xc
lea ecx, [ebp - 0x20]
push ecx
call sub.KERNEL32.dll_GetDriveTypeA
nop
push 0x31
lea edx, [ebp - 0x53]
push 0
push edx
mov dword [ebp - 0x7d4], eax
mov byte [ebp - 0x54], 0
call fcn.005afd80
add esp, 0xc
push edi
lea eax, [ebp - 0x54]
push 0x60add4
push eax
call fcn.005acd60
mov eax, dword [ebp - 0x7d4]
add esp, 0xc
test eax, eax
je 0x4252ee
cmp eax, 1
je 0x4252ee
push 0x31
lea ecx, [ebp - 0x87]
push 0
push ecx
mov byte [ebp - 0x88], 0
call fcn.005afd80
add esp, 0xc
cmp dword [ebp - 0x7d4], 4
jne 0x424dd4
mov edx, dword [ebp - 0x7e0]
mov eax, dword [edx + 0x19f4]
lea ecx, [ebp - 0x904]
mov dword [0x642a1c], eax
lea esi, [edi + 0x1c75]
lea eax, [esi - 0xfa]
push ecx
lea ecx, [ebp - 0x918]
mov dword [0x642a20], eax
mov dword [ebp - 0x7d8], 1
call fcn.00401dd0
mov edx, dword [ebp - 0x7e0]
mov eax, dword [edx + 0x19f4]
push edi
mov dword [0x642a1c], eax
lea eax, [ebp - 0x88]
push 0x60add4
push eax
mov dword [0x642a20], esi
call fcn.005acd60
mov esi, dword [ebp - 0x7d8]
jmp 0x424deb
push edi
lea ecx, [ebp - 0x88]
push 0x60add4
push ecx
mov esi, 3
call fcn.005acd60
mov eax, dword [ebp - 0x7d4]
mov edx, dword [0x6444d4]
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add esp, 0xc
add eax, 0x1d2f
push 0x60adf4
mov dword [0x642a1c], edx
mov dword [0x642a20], eax
call edi
lea eax, [ebp - 0x54]
push eax
call edi
lea eax, [ebp - 0x54]
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x424e23
sub eax, edi
mov edi, dword [ebp - 0x7dc]
push eax
lea ecx, [ebp - 0x54]
push ecx
mov ecx, edi
call fcn.00432a60
push 0
push 0
push 3
push 0
push esi
push SysReAllocStringLen
lea edx, [ebp - 0x54]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
mov dword [ebp - 0x7d8], esi
cmp esi, 0xffffffff
jne 0x424e73
push 0x60adfc
call sub.KERNEL32.dll_OutputDebugStringA
nop
jmp 0x4252ee
mov eax, dword [ebp - 0x7d4]
mov edx, dword [ebp - 0x7e8]
mov ecx, dword [0x6444d4]
push 0x1008
add eax, 0x1d36
push 0
push edx
mov dword [0x642a1c], ecx
mov dword [0x642a20], eax
call fcn.005afd80
mov ecx, dword [ebp - 0x7e8]
add esp, 0xc
push 0
lea eax, [ebp - 0x800]
push eax
push 0x1008
push ecx
push 0
push 0
push 0x2d0c04
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov edx, dword [ebp - 0x7d4]
mov byte [edi - 2], dl
test eax, eax
jne 0x424fb4
push 0
lea eax, [edx + 0x1d3d]
mov edx, dword [0x6444d4]
mov dword [0x642a20], eax
lea eax, [ebp - 0x808]
push eax
push 0x18
lea ecx, [ebp - 0x7cc]
push ecx
push 0
push 0
push 0x70000
push esi
mov dword [0x642a1c], edx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x424f33
mov edx, 1
mov dword [ebp - 0x7b8], 0x200
mov dword [ebp - 0x7c0], edx
mov eax, edx
xor ecx, ecx
jmp 0x424f61
cmp dword [ebp - 0x7b8], 0
je 0x424f93
cmp dword [ebp - 0x7c0], 0
je 0x424f93
mov edx, dword [ebp - 0x7bc]
test edx, edx
je 0x424f93
mov eax, dword [ebp - 0x7cc]
mov ecx, dword [ebp - 0x7c8]
mov edi, eax
or edi, ecx
je 0x424f93
xor edi, edi
mov dword [ebx - 0x4c], edi
mov dword [ebx - 0x48], edi
mov edi, dword [ebp - 0x7b8]
mov dword [ebx - 0x44], eax
mov eax, dword [ebp - 0x7c0]
mov dword [ebx - 0x34], edx
mov edx, dword [ebp - 0x7d4]
mov dword [ebx - 8], 0xffffffff
mov dword [ebx - 0x30], edi
mov dword [ebx - 0x40], ecx
mov dword [ebx - 0x38], eax
jmp 0x425003
mov ecx, dword [ebp - 0x7e0]
mov eax, dword [ecx + 0x19f4]
mov dword [0x642a1c], eax
mov dword [0x642a20], 0x15
push esi
jmp 0x4252e8
mov esi, dword [ebp - 0x7e8]
xor eax, eax
add esi, 8
mov ecx, 8
lea edi, [ebx - 0x44]
mov dword [ebx - 8], 0xffffffff
mov dword [ebx - 0x4c], eax
mov dword [ebx - 0x48], eax
rep movsd dword es:[edi], dword [esi]
cmp dword [ebx - 0x30], eax
je 0x4252d2
cmp dword [ebx - 0x38], eax
je 0x4252d2
cmp dword [ebx - 0x34], eax
je 0x4252d2
mov ecx, dword [ebx - 0x44]
or ecx, dword [ebx - 0x40]
je 0x4252d2
mov esi, dword [ebp - 0x7d8]
mov ecx, dword [ebx - 0x34]
lea eax, [edx + 0x1d44]
mov edx, dword [0x6444d4]
mov dword [0x642a20], eax
mov eax, dword [ebx - 0x30]
mov dword [0x642a1c], edx
mul dword [ebx - 0x38]
push 0
push ecx
push edx
push eax
call fcn.005af0e0
mov ecx, dword [ebx - 0x40]
push ecx
mov ecx, dword [ebx - 0x44]
push ecx
push edx
push eax
call fcn.005af0e0
mov dword [ebx - 0x4c], eax
mov eax, dword [ebp - 0x7e4]
mov dword [ebx - 0x10], eax
movzx eax, ax
mov dword [ebx - 0x48], edx
lea edx, [ebp - 0x54]
push edx
lea ecx, [ebx + 8]
mov word [ebx], ax
mov word [ebx + 2], ax
call fcn.00432b40
mov edi, dword [ebx - 8]
call fcn.00444ba0
mov dword [ebx + 4], eax
call fcn.0048990d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x424bb9
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x7d8], eax
mov byte [ebp - 4], 0x24
mov ecx, dword [ebx - 8]
lea edx, [ebp - 0x7d8]
call fcn.00468820
test eax, eax
je 0x4250b7
lea ecx, [ebp - 0x7d8]
push ecx
lea ecx, [ebx + 0x14]
call fcn.004327f0
xor eax, eax
push eax
lea edx, [ebp - 0x804]
push edx
push 8
mov dword [ebp - 0x7fc], eax
mov dword [ebp - 0x7f8], eax
lea eax, [ebp - 0x7fc]
push eax
push 0
push 0
push 0x7405c
push esi
mov dword [0x642a1c], 0x7c
mov dword [0x642a20], 0x21
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x42515d
lea ecx, [ebp - 0x884]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x425140
mov edx, dword [ebp - 0x884]
mov edi, dword [ebp - 0x880]
mov ecx, edx
add ecx, 0xfff00000
mov eax, edi
adc eax, 0xffffffff
cmp eax, 0xffff
ja 0x425140
jb 0x42513a
cmp ecx, 0xffefffff
ja 0x425140
mov dword [ebx - 0x4c], edx
mov dword [ebx - 0x48], edi
mov edx, dword [ebp - 0x7e0]
mov eax, dword [edx + 0x19f4]
mov dword [0x642a1c], eax
mov dword [0x642a20], 0x16
jmp 0x42518d
mov edx, dword [ebp - 0x7fc]
mov edi, dword [ebp - 0x7f8]
mov ecx, edx
add ecx, 0xfff00000
mov eax, edi
adc eax, 0xffffffff
cmp eax, 0xffff
ja 0x42518d
jb 0x425187
cmp ecx, 0xffefffff
ja 0x42518d
mov dword [ebx - 0x4c], edx
mov dword [ebx - 0x48], edi
cmp dword [ebx - 0x44], 1
jne 0x4251da
cmp dword [ebx - 0x40], 0
jne 0x4251da
mov eax, dword [ebx - 0x38]
cmp eax, 1
jne 0x4251da
cmp dword [ebx - 0x30], 0x200
jne 0x4251da
mov edi, dword [ebx - 0x34]
cmp edi, eax
jne 0x4251da
mov ecx, dword [ebx - 0x48]
mov edx, dword [ebx - 0x4c]
test ecx, ecx
jne 0x4251c3
cmp edx, 0x100000
jb 0x4251da
imul eax, edi
imul eax, dword [ebx - 0x30]
push 0
push eax
push ecx
push edx
call fcn.005af120
mov dword [ebx - 0x44], eax
mov dword [ebx - 0x40], edx
mov al, byte [ebp - 0x7e4]
mov ecx, dword [ebp - 0x7dc]
lea edx, [ebp - 0x54]
push edx
mov byte [ecx - 4], al
call fcn.00432b40
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebx + 0xc]
mov dword [ebx - 8], esi
call fcn.00432b40
mov edi, dword [ebp - 0x7ec]
push 0xc08
push 0
push edi
mov dword [ebx - 0xc], 1
mov dword [0x642a1c], 0x7c
mov dword [0x642a20], 0x22
call fcn.005afd80
add esp, 0xc
push 0
lea ecx, [ebp - 0x800]
push ecx
push 0xc08
push edi
push 0
push 0
push 0x560000
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x425267
mov edx, dword [ebp - 0x7e4]
mov dword [ebx - 0x14], edx
mov dword [ebx - 0xc], 3
jmp 0x425274
mov dword [ebx - 0xc], 1
mov eax, dword [edi + 8]
mov dword [ebx - 0x14], eax
mov ecx, dword [ebp - 0x7f0]
mov dl, byte [ebp - 0x7e4]
push ecx
mov ecx, dword [ebp - 0x7e0]
call fcn.00425430
mov edx, dword [ebp - 0x7dc]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x7d8]
add eax, 0xfffffff0
mov byte [edx - 1], 1
mov dword [0x642a1c], 0x7c
mov dword [0x642a20], 0x23
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4252ee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4252ee
mov dword [0x642a1c], 0x40
mov dword [0x642a20], 0x88
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x7e4]
add dword [ebp - 0x7dc], 0x20
inc edi
add ebx, 0x68
mov dword [ebp - 0x7e4], edi
cmp edi, 0x1a
jl 0x424c90
mov ecx, dword [ebp - 0x7e0]
mov edx, dword [ebp - 0x7e8]
mov eax, dword [ecx + 0x19f4]
push edx
mov dword [0x642a1c], eax
mov dword [0x642a20], 0x17
call fcn.0048989b
mov eax, dword [ebp - 0x7ec]
add esp, 4
mov esi, 0x40
push eax
mov dword [0x642a1c], esi
mov dword [0x642a20], 0x85
call fcn.0048989b
add esp, 4
push 0x4253e0
push 0x36
mov eax, 0x86
push 0x20
lea ecx, [ebp - 0x7b4]
push ecx
mov dword [ebp - 0x804], eax
mov dword [0x642a1c], esi
mov dword [0x642a20], eax
mov dword [ebp - 4], 0xffffffff
call fcn.005aca0d
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005ac396
mov esp, ebp
pop ebp
ret 4