Function at 0x5e07d8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x44
push 0
push 0
dec ecx
jne 0x5e07e1
xchg dword [ebp - 4], ecx
push ebx
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
call fcn.004090bc
mov eax, dword [ebp + 8]
call fcn.004090bc
xor eax, eax
push ebp
push 0x5e19e8
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x48], 0xffffffff
mov eax, dword [ebp - 4]
mov byte [eax + 0x211c1], 0xff
mov eax, dword [ebp - 4]
mov byte [eax + 0x211c2], 0xff
mov eax, dword [ebp - 4]
mov byte [eax + 0x211c3], 0xff
mov eax, dword [ebp - 4]
mov byte [eax + 0x2118f], 0x3f
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x21200]
mov byte [ebp - 0x4d], al
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x21756]
mov byte [ebp - 0x4e], al
mov eax, dword [ebp - 4]
xor ecx, ecx
mov edx, 0x21bb0
call fcn.00406f00
mov eax, dword [ebp - 4]
mov dl, byte [ebp - 0x4d]
mov byte [eax + 0x21200], dl
mov eax, dword [ebp - 4]
mov dl, byte [ebp - 0x4e]
mov byte [eax + 0x21756], dl
cmp dword [ebp + 8], 0
je 0x5e0922
mov eax, dword [ebp - 4]
cmp dword [eax + 0x21204], 0
je 0x5e08a5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x21204]
call fcn.0040735c
push 0xff00
lea eax, [ebp - 0x180]
mov edx, dword [ebp + 8]
call fcn.00409d9c
mov ecx, dword [ebp - 0x180]
mov dl, 1
mov eax, dword [0x47c848]
call fcn.0049d314
mov edx, dword [ebp - 4]
mov dword [edx + 0x21204], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x21204], 0
je 0x5e0922
lea eax, [ebp - 0x54]
mov edx, 0x5e1a08
call fcn.0040948c
lea eax, [ebp - 0x54]
call fcn.0040957c
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
je 0x5e090e
mov eax, dword [ebp - 0x64]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x21204]
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x68]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov eax, dword [ebp - 4]
call fcn.005df8dc
mov edx, 0x5e1a1c
lea eax, [ebp - 0x147]
call fcn.00423900
mov eax, dword [ebp - 4]
mov byte [eax + 0x2118e], 0
mov dword [ebp - 0x40], 0x19
xor eax, eax
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 4]
mov dl, byte [ebp - 5]
mov byte [eax + 0x21199], dl
mov eax, dword [ebp - 4]
cmp byte [eax + 0x21199], 0
jne 0x5e11de
mov dword [ebp - 0x38], 0x43
mov al, byte [ebp - 0x38]
mov byte [ebp - 0x143], al
lea eax, [ebp - 0x143]
push eax
call sub.kernel32.dll_GetDriveTypeA
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 5
jne 0x5e10b2
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
lea eax, [ebp - 0x147]
push eax
call sub.kernel32.dll_CreateFileA
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
jne 0x5e0aff
push 0x5e1a30
call sub.kernel32.dll_GetLastError
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x188]
call fcn.004229d0
push dword [ebp - 0x188]
push 0x5e1a64
lea eax, [ebp - 0x184]
mov edx, 3
call fcn.00409fb8
mov edx, dword [ebp - 0x184]
lea eax, [ebp - 0x54]
mov ecx, 0
call fcn.00409a10
lea eax, [ebp - 0x54]
call fcn.0040957c
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x5e0a29
mov eax, dword [ebp - 0x6c]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x21204]
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x70]
mov ebx, dword [eax]
call dword [ebx + 0x10]
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
lea eax, [ebp - 0x147]
push eax
call sub.kernel32.dll_CreateFileA
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
jne 0x5e0ae1
push 0x5e1a30
call sub.kernel32.dll_GetLastError
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x190]
call fcn.004229d0
push dword [ebp - 0x190]
push 0x5e1a64
lea eax, [ebp - 0x18c]
mov edx, 3
call fcn.00409fb8
mov edx, dword [ebp - 0x18c]
lea eax, [ebp - 0x54]
mov ecx, 0
call fcn.00409a10
lea eax, [ebp - 0x54]
call fcn.0040957c
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
je 0x5e0acd
mov eax, dword [ebp - 0x74]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x21204]
mov ecx, dword [ebp - 0x74]
mov edx, dword [ebp - 0x78]
mov ebx, dword [eax]
call dword [ebx + 0x10]
push 0
push 0
push 3
push 0
push 1
push 0x80000000
lea eax, [ebp - 0x147]
push eax
call sub.kernel32.dll_CreateFileA
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
je 0x5e101b
lea eax, [ebp - 0x18]
xor ecx, ecx
mov edx, 8
call fcn.00406f00
push 0
lea eax, [ebp - 0x1c]
push eax
push 8
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0x41018
mov eax, dword [ebp - 0x30]
push eax
call sub.kernel32.dll_DeviceIoControl
test eax, eax
je 0x5e0bea
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x2118e]
imul eax, eax, 0x85
mov edx, dword [ebp - 4]
mov cl, byte [ebp - 0x14]
mov byte [edx + eax + 0x2040e], cl
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x2118e]
imul eax, eax, 0x85
mov edx, dword [ebp - 4]
mov cl, byte [ebp - 0x12]
mov byte [edx + eax + 0x2040f], cl
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x2118e]
imul eax, eax, 0x85
mov edx, dword [ebp - 4]
mov cl, byte [ebp - 0x11]
mov byte [edx + eax + 0x20410], cl
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x2118e]
imul eax, eax, 0x85
mov edx, dword [ebp - 4]
mov cl, byte [ebp - 0x38]
mov byte [edx + eax + 0x2040c], cl
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x2118e]
imul eax, eax, 0x85
mov edx, dword [ebp - 4]
mov cl, byte [ebp - 0x4c]
mov byte [edx + eax + 0x2040d], cl
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x2118e]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 4]
inc byte [eax + 0x2118e]
inc dword [ebp - 0x44]
jmp 0x5e0c5f
imul eax, dword [ebp - 0x40], 0x85
mov edx, dword [ebp - 4]
mov cl, byte [ebp - 0x14]
mov byte [edx + eax + 0x2040e], cl
imul eax, dword [ebp - 0x40], 0x85
mov edx, dword [ebp - 4]
mov byte [edx + eax + 0x2040f], 0
imul eax, dword [ebp - 0x40], 0x85
mov edx, dword [ebp - 4]
mov byte [edx + eax + 0x20410], 0
imul eax, dword [ebp - 0x40], 0x85
mov edx, dword [ebp - 4]
mov cl, byte [ebp - 0x38]
mov byte [edx + eax + 0x2040c], cl
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x2118e]
imul eax, eax, 0x85
mov edx, dword [ebp - 4]
mov cl, byte [ebp - 0x4c]
mov byte [edx + eax + 0x2040d], cl
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
dec dword [ebp - 0x40]
inc dword [ebp - 0x44]
mov al, byte [ebp - 0x38]
mov edx, dword [ebp - 4]
mov byte [edx + 0x2118f], al
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x30]
mov dword [eax], edx
lea eax, [ebp - 0x100]
xor ecx, ecx
mov edx, 0x60
call fcn.00406f00
mov byte [ebp - 0xfd], 0x48
mov dword [ebp - 0xf4], 0x40
mov eax, dword [ebp - 4]
add eax, 8
mov dword [ebp - 0xf0], eax
mov byte [ebp - 0xeb], 6
mov byte [ebp - 0xd0], 0x12
mov byte [ebp - 0xcc], 0x40
mov byte [ebp - 0xec], 0x18
mov byte [ebp - 0x100], 2
lea edx, [ebp - 0x100]
mov eax, dword [ebp - 4]
xor ecx, ecx
call fcn.005e0584
mov eax, dword [ebp - 4]
cmp dword [eax + 0x21204], 0
je 0x5e0d80
lea eax, [ebp - 0x198]
mov dl, byte [ebp - 0x143]
call fcn.00409cdc
push dword [ebp - 0x198]
push 0x5e1a78
lea eax, [ebp - 0x143]
push eax
call sub.kernel32.dll_GetDriveTypeA
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x19c]
call fcn.004229d0
push dword [ebp - 0x19c]
push 0x5e1a8c
lea eax, [ebp - 0x194]
mov edx, 4
call fcn.00409fb8
mov edx, dword [ebp - 0x194]
lea eax, [ebp - 0x54]
mov ecx, 0
call fcn.00409a10
lea eax, [ebp - 0x54]
call fcn.0040957c
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0
je 0x5e0d6c
mov eax, dword [ebp - 0x7c]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x21204]
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x80]
mov ebx, dword [eax]
call dword [ebx + 0x10]
cmp byte [ebp - 0xff], 1
jne 0x5e0eed
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 5
jne 0x5e0eed
mov dword [ebp - 0x3c], 8
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x3c]
cmp byte [eax + edx + 8], 0x20
jae 0x5e0db9
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x3c]
mov byte [eax + edx + 8], 0x20
inc dword [ebp - 0x3c]
cmp dword [ebp - 0x3c], 0x30
jne 0x5e0da1
lea edx, [ebp - 0x169]
mov eax, dword [ebp - 4]
add eax, 0x10
mov ecx, 8
call fcn.00406b0c
mov byte [ebp - 0x161], 0
lea edx, [ebp - 0x158]
mov eax, dword [ebp - 4]
add eax, 0x18
mov ecx, 0x10
call fcn.00406b0c
mov byte [ebp - 0x148], 0
lea edx, [ebp - 0x17a]
mov eax, dword [ebp - 4]
add eax, 0x28
mov ecx, 0x10
call fcn.00406b0c
mov byte [ebp - 0x176], 0
lea eax, [ebp - 0x1a0]
push eax
xor eax, eax
mov al, byte [ebp - 0x14]
mov dword [ebp - 0x1d8], eax
mov byte [ebp - 0x1d4], 0
xor eax, eax
mov al, byte [ebp - 0x12]
mov dword [ebp - 0x1d0], eax
mov byte [ebp - 0x1cc], 0
xor eax, eax
mov al, byte [ebp - 0x11]
mov dword [ebp - 0x1c8], eax
mov byte [ebp - 0x1c4], 0
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x2118f]
mov byte [ebp - 0x1c0], al
mov byte [ebp - 0x1bc], 2
lea eax, [ebp - 0x169]
mov dword [ebp - 0x1b8], eax
mov byte [ebp - 0x1b4], 6
lea eax, [ebp - 0x158]
mov dword [ebp - 0x1b0], eax
mov byte [ebp - 0x1ac], 6
lea eax, [ebp - 0x17a]
mov dword [ebp - 0x1a8], eax
mov byte [ebp - 0x1a4], 6
lea edx, [ebp - 0x1d8]
mov ecx, 6
mov eax, 0x5e1aa4
call fcn.00423e44
mov edx, dword [ebp - 0x1a0]
lea eax, [ebp - 0x58]
mov ecx, 0
call fcn.00409a10
mov eax, dword [ebp - 0x58]
call fcn.00409980
mov edx, eax
imul eax, dword [ebp - 0x48], 0x85
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax + 0x20411]
call fcn.00423900
mov eax, dword [ebp - 4]
cmp dword [eax + 0x21204], 0
je 0x5e0f64
lea eax, [ebp - 0x54]
imul edx, dword [ebp - 0x48], 0x85
mov ecx, dword [ebp - 4]
lea edx, [ecx + edx + 0x20411]
mov ecx, 0x80
push 0
call fcn.00409784
lea eax, [ebp - 0x54]
call fcn.0040957c
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0
je 0x5e0f4a
mov eax, dword [ebp - 0x84]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x21204]
mov ecx, dword [ebp - 0x84]
mov edx, dword [ebp - 0x88]
mov ebx, dword [eax]
call dword [ebx + 0x10]
lea eax, [ebp - 0x1dc]
push eax
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x2118f]
mov byte [ebp - 0x1fc], al
mov byte [ebp - 0x1f8], 2
lea eax, [ebp - 0x169]
mov dword [ebp - 0x1f4], eax
mov byte [ebp - 0x1f0], 6
lea eax, [ebp - 0x158]
mov dword [ebp - 0x1ec], eax
mov byte [ebp - 0x1e8], 6
lea eax, [ebp - 0x17a]
mov dword [ebp - 0x1e4], eax
mov byte [ebp - 0x1e0], 6
lea edx, [ebp - 0x1fc]
mov ecx, 3
mov eax, 0x5e1ae0
call fcn.00423e44
mov edx, dword [ebp - 0x1dc]
lea eax, [ebp - 0x58]
mov ecx, 0
call fcn.00409a10
mov eax, dword [ebp - 0x58]
call fcn.00409980
mov edx, eax
imul eax, dword [ebp - 0x48], 0x85
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax + 0x20411]
call fcn.00423900
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 4]
mov dword [eax], 0xffffffff
jmp 0x5e116d
push 0x5e1a30
call sub.kernel32.dll_GetLastError
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x204]
call fcn.004229d0
push dword [ebp - 0x204]
push 0x5e1a64
lea eax, [ebp - 0x200]
mov edx, 3
call fcn.00409fb8
mov edx, dword [ebp - 0x200]
lea eax, [ebp - 0x54]
mov ecx, 0
call fcn.00409a10
lea eax, [ebp - 0x54]
call fcn.0040957c
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
je 0x5e1093
mov eax, dword [ebp - 0x8c]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x21204]
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x90]
mov ebx, dword [eax]
call dword [ebx + 0x10]
jmp 0x5e116d
mov eax, dword [ebp - 4]
cmp dword [eax + 0x21204], 0
je 0x5e116d
lea eax, [ebp - 0x20c]
mov dl, byte [ebp - 0x143]
call fcn.00409cdc
push dword [ebp - 0x20c]
push 0x5e1b08
lea eax, [ebp - 0x143]
push eax
call sub.kernel32.dll_GetDriveTypeA
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x210]
call fcn.004229d0
push dword [ebp - 0x210]
lea eax, [ebp - 0x208]
mov edx, 3
call fcn.00409fb8
mov edx, dword [ebp - 0x208]
lea eax, [ebp - 0x54]
mov ecx, 0
call fcn.00409a10
lea eax, [ebp - 0x54]
call fcn.0040957c
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0
je 0x5e1153
mov eax, dword [ebp - 0x94]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x21204]
mov ecx, dword [ebp - 0x94]
mov edx, dword [ebp - 0x98]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x21204], 0
je 0x5e11d1
lea eax, [ebp - 0x54]
mov edx, 0x5e1b20
call fcn.0040948c
lea eax, [ebp - 0x54]
call fcn.0040957c
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0
je 0x5e11b7
mov eax, dword [ebp - 0x9c]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x21204]
mov ecx, dword [ebp - 0x9c]
mov edx, dword [ebp - 0xa0]
mov ebx, dword [eax]
call dword [ebx + 0x10]
inc dword [ebp - 0x38]
cmp dword [ebp - 0x38], 0x5b
jne 0x5e0973
cmp dword [ebp - 0x44], 0
je 0x5e149b
mov eax, dword [ebp - 4]
mov byte [eax + 0x211a0], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x211a1], 1
mov eax, 0x19
sub eax, dword [ebp - 0x40]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0x19
je 0x5e1486
mov byte [ebp - 0x34], 0
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x2118e]
dec eax
test eax, eax
jl 0x5e1261
inc eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x38], 0
imul eax, dword [ebp - 0x38], 0x85
mov edx, dword [ebp - 4]
mov al, byte [edx + eax + 0x2040e]
cmp al, byte [ebp - 0x34]
jbe 0x5e1259
imul eax, dword [ebp - 0x38], 0x85
mov edx, dword [ebp - 4]
mov al, byte [edx + eax + 0x2040e]
mov byte [ebp - 0x34], al
inc dword [ebp - 0x38]
dec dword [ebp - 0x5c]
jne 0x5e122f
inc byte [ebp - 0x34]
mov eax, 0x19
sub eax, dword [ebp - 0x40]
inc eax
sub eax, 0x19
jg 0x5e1486
dec eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x38], 0x19
imul eax, dword [ebp - 0x38], 0x85
mov edx, dword [ebp - 4]
mov cl, byte [ebp - 0x34]
mov byte [edx + eax + 0x2040e], cl
inc byte [ebp - 0x34]
imul eax, dword [ebp - 0x38], 0x85
mov edx, dword [ebp - 4]
cmp byte [edx + eax + 0x2040e], 0xa
jbe 0x5e1417
imul eax, dword [ebp - 0x38], 0x85
mov edx, dword [ebp - 4]
mov al, byte [edx + eax + 0x2040e]
add al, 0x1e
imul edx, dword [ebp - 0x38], 0x85
mov ecx, dword [ebp - 4]
mov byte [ecx + edx + 0x20412], al
lea eax, [ebp - 0x214]
push eax
imul eax, dword [ebp - 0x38], 0x85
mov edx, dword [ebp - 4]
movzx eax, byte [edx + eax + 0x2040e]
mov dword [ebp - 0x1fc], eax
mov byte [ebp - 0x1f8], 0
imul eax, dword [ebp - 0x38], 0x85
mov edx, dword [ebp - 4]
movzx eax, byte [edx + eax + 0x2040f]
mov dword [ebp - 0x1f4], eax
mov byte [ebp - 0x1f0], 0
imul eax, dword [ebp - 0x38], 0x85
mov edx, dword [ebp - 4]
movzx eax, byte [edx + eax + 0x20410]
mov dword [ebp - 0x1ec], eax
mov byte [ebp - 0x1e8], 0
imul eax, dword [ebp - 0x38], 0x85
mov edx, dword [ebp - 4]
mov al, byte [edx + eax + 0x2040c]
mov byte [ebp - 0x1e4], al
mov byte [ebp - 0x1e0], 2
lea edx, [ebp - 0x1fc]
mov ecx, 3
mov eax, 0x5e1b30
call fcn.00423e44
mov edx, dword [ebp - 0x214]
lea eax, [ebp - 0x58]
mov ecx, 0
call fcn.00409a10
mov dword [ebp - 0x3c], 9
lea eax, [ebp - 0x218]
imul edx, dword [ebp - 0x38], 0x85
mov ecx, dword [ebp - 4]
lea edx, [ecx + edx]
mov ecx, dword [ebp - 0x3c]
mov dl, byte [edx + ecx + 0x20411]
mov ecx, 0
call fcn.004096ec
mov edx, dword [ebp - 0x218]
lea eax, [ebp - 0x58]
call fcn.004097e0
inc dword [ebp - 0x3c]
cmp dword [ebp - 0x3c], 0x7f
jne 0x5e1385
lea eax, [ebp - 0x220]
mov edx, dword [ebp - 0x58]
call fcn.00409d9c
mov eax, dword [ebp - 0x220]
lea edx, [ebp - 0x21c]
call fcn.00422138
mov edx, dword [ebp - 0x21c]
lea eax, [ebp - 0x58]
mov ecx, 0
call fcn.00409a10
mov eax, dword [ebp - 0x58]
call fcn.00409980
mov edx, eax
imul eax, dword [ebp - 0x48], 0x85
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax + 0x20411]
call fcn.00423900
jmp 0x5e143b
imul eax, dword [ebp - 0x38], 0x85
mov edx, dword [ebp - 4]
mov al, byte [edx + eax + 0x2040e]
add al, 0x1e
imul edx, dword [ebp - 0x38], 0x85
mov ecx, dword [ebp - 4]
mov byte [ecx + edx + 0x20412], al
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x2118e]
mov edx, 0x19
sub edx, dword [ebp - 0x38]
add eax, edx
imul eax, eax, 0x85
mov edx, dword [ebp - 4]
lea edx, [edx + eax + 0x2040c]
imul eax, dword [ebp - 0x38], 0x85
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax + 0x2040c]
mov ecx, 0x85
call fcn.00406b0c
dec dword [ebp - 0x38]
inc dword [ebp - 0x5c]
jne 0x5e1281
mov al, byte [ebp - 0x40]
mov edx, dword [ebp - 4]
add byte [edx + 0x2118e], al
mov byte [ebp - 0xd], 1
jmp 0x5e1977
mov eax, dword [ebp - 4]
mov byte [eax + 0x2118e], 0
cmp dword [ebp - 0xc], 0
jne 0x5e14ba
push 0x5e1b4c
call sub.kernel32.dll_LoadLibraryW
mov dword [ebp - 0x24], eax
jmp 0x5e14cb
lea eax, [ebp - 0xc]
call fcn.0040957c
push eax
call sub.kernel32.dll_LoadLibraryW
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x5e14da
mov byte [ebp - 0xd], 0
jmp 0x5e1977
push 0x5e1b68
mov eax, dword [ebp - 0x24]
push eax
call fcn.0040fefc
mov dword [0x763bf8], eax
push 0x5e1b94
mov eax, dword [ebp - 0x24]
push eax
call fcn.0040fefc
mov dword [0x763bf4], eax
mov eax, dword [ebp - 4]
mov edx, dword [0x763bf4]
mov dword [eax + 0x211a4], edx
cmp dword [0x763bf8], 0
je 0x5e1521
cmp dword [0x763bf4], 0
jne 0x5e152a
mov byte [ebp - 0xd], 0
jmp 0x5e1977
call dword [0x763bf8]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x5e1542
mov byte [ebp - 0xd], 0
jmp 0x5e1977
mov eax, dword [ebp - 4]
mov byte [eax + 0x211a0], 1
lea eax, [ebp - 0x13c]
xor ecx, ecx
mov edx, 0x3c
call fcn.00406f00
mov byte [ebp - 0x13c], 0
lea eax, [ebp - 0x13c]
push eax
call dword [0x763bf4]
pop ecx
mov dword [ebp - 0x1c], eax
cmp byte [ebp - 0x134], 0
jne 0x5e1586
mov byte [ebp - 0x134], 7
mov al, byte [ebp - 0x134]
dec eax
test al, al
jb 0x5e1973
inc eax
mov byte [ebp - 0x5d], al
mov byte [ebp - 0x31], 0
mov byte [ebp - 0x32], 0
mov byte [ebp - 0x33], 0
push 0
push 0
push 0xffffffffffffffff
push 0
call sub.kernel32.dll_CreateEventW
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x100]
mov ecx, 0x60
xor edx, edx
call fcn.00406f00
mov byte [ebp - 0xfd], 0x48
mov dword [ebp - 0xf4], 0x40
mov eax, dword [ebp - 4]
add eax, 8
mov dword [ebp - 0xf0], eax
mov byte [ebp - 0xeb], 6
mov byte [ebp - 0xd0], 0x12
mov byte [ebp - 0xcc], 0x40
mov al, byte [ebp - 0x31]
mov byte [ebp - 0xfe], al
mov al, byte [ebp - 0x32]
mov byte [ebp - 0xf8], al
mov al, byte [ebp - 0x33]
mov byte [ebp - 0xf7], al
mov byte [ebp - 0xec], 0x18
mov byte [ebp - 0x100], 2
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xe8], eax
lea eax, [ebp - 0x100]
push eax
call dword [0x763bf4]
pop ecx
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x5e1661
push 0xffffffffffffffff
mov eax, dword [ebp - 0x28]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov eax, dword [ebp - 0x28]
push eax
call sub.kernel32.dll_ResetEvent
mov eax, dword [ebp - 0x28]
push eax
call sub.kernel32.dll_CloseHandle
jmp 0x5e1673
mov eax, dword [ebp - 0x28]
push eax
call sub.kernel32.dll_ResetEvent
mov eax, dword [ebp - 0x28]
push eax
call sub.kernel32.dll_CloseHandle
cmp byte [ebp - 0xff], 1
jne 0x5e194d
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 5
jne 0x5e194d
mov dword [ebp - 0x38], 8
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x38]
cmp byte [eax + edx + 8], 0x20
jae 0x5e16ac
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x38]
mov byte [eax + edx + 8], 0x20
inc dword [ebp - 0x38]
cmp dword [ebp - 0x38], 0x30
jne 0x5e1694
lea edx, [ebp - 0x169]
mov eax, dword [ebp - 4]
add eax, 0x10
mov ecx, 8
call fcn.00406b0c
mov byte [ebp - 0x161], 0
lea edx, [ebp - 0x158]
mov eax, dword [ebp - 4]
add eax, 0x18
mov ecx, 0x10
call fcn.00406b0c
mov byte [ebp - 0x148], 0
lea edx, [ebp - 0x17a]
mov eax, dword [ebp - 4]
add eax, 0x28
mov ecx, 0x10
call fcn.00406b0c
mov byte [ebp - 0x176], 0
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x2118e]
imul eax, eax, 0x85
mov edx, dword [ebp - 4]
mov cl, byte [ebp - 0x31]
mov byte [edx + eax + 0x2040e], cl
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x2118e]
imul eax, eax, 0x85
mov edx, dword [ebp - 4]
mov cl, byte [ebp - 0x32]
mov byte [edx + eax + 0x2040f], cl
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x2118e]
imul eax, eax, 0x85
mov edx, dword [ebp - 4]
mov cl, byte [ebp - 0x33]
mov byte [edx + eax + 0x20410], cl
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x2118e]
imul eax, eax, 0x85
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov cl, byte [ecx + 8]
mov byte [edx + eax + 0x2040d], cl
mov eax, dword [ebp - 4]
call fcn.005e03b4
mov edx, dword [ebp - 4]
mov byte [edx + 0x2118f], al
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2118f], 0x80
je 0x5e17ac
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2118f], 0x81
jne 0x5e17b6
mov eax, dword [ebp - 4]
mov byte [eax + 0x2118f], 0x3f
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x2118e]
imul eax, eax, 0x85
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov cl, byte [ecx + 0x2118f]
mov byte [edx + eax + 0x2040c], cl
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2118f], 0
je 0x5e194d
mov eax, dword [ebp - 4]
mov byte [eax + 0x211a8], 6
mov eax, dword [ebp - 4]
mov dl, byte [ebp - 0x31]
mov byte [eax + 0x211aa], dl
mov eax, dword [ebp - 4]
mov dl, byte [ebp - 0x32]
mov byte [eax + 0x211b0], dl
mov eax, dword [ebp - 4]
mov dl, byte [ebp - 0x33]
mov byte [eax + 0x211b1], dl
mov eax, dword [ebp - 4]
add eax, 0x211a8
push eax
call dword [0x763bf4]
pop ecx
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 1
jne 0x5e1867
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x211b3]
add al, 0x41
mov edx, dword [ebp - 4]
mov byte [edx + 0x2118f], al
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x2118e]
imul eax, eax, 0x85
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov cl, byte [ecx + 0x2118f]
mov byte [edx + eax + 0x2040c], cl
lea eax, [ebp - 0x224]
push eax
xor eax, eax
mov al, byte [ebp - 0x31]
mov dword [ebp - 0x1d8], eax
mov byte [ebp - 0x1d4], 0
xor eax, eax
mov al, byte [ebp - 0x32]
mov dword [ebp - 0x1d0], eax
mov byte [ebp - 0x1cc], 0
xor eax, eax
mov al, byte [ebp - 0x33]
mov dword [ebp - 0x1c8], eax
mov byte [ebp - 0x1c4], 0
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x2118f]
mov byte [ebp - 0x1c0], al
mov byte [ebp - 0x1bc], 2
lea eax, [ebp - 0x169]
mov dword [ebp - 0x1b8], eax
mov byte [ebp - 0x1b4], 6
lea eax, [ebp - 0x158]
mov dword [ebp - 0x1b0], eax
mov byte [ebp - 0x1ac], 6
lea eax, [ebp - 0x17a]
mov dword [ebp - 0x1a8], eax
mov byte [ebp - 0x1a4], 6
lea edx, [ebp - 0x1d8]
mov ecx, 6
mov eax, 0x5e1aa4
call fcn.00423e44
mov edx, dword [ebp - 0x224]
lea eax, [ebp - 0x58]
mov ecx, 0
call fcn.00409a10
mov eax, dword [ebp - 0x58]
call fcn.00409980
mov edx, eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x2118e]
imul eax, eax, 0x85
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax + 0x20411]
call fcn.00423900
mov eax, dword [ebp - 4]
inc byte [eax + 0x2118e]
inc byte [ebp - 0x33]
cmp byte [ebp - 0x33], 7
jne 0x5e15a5
inc byte [ebp - 0x32]
cmp byte [ebp - 0x32], 8
jne 0x5e15a1
inc byte [ebp - 0x31]
dec byte [ebp - 0x5d]
jne 0x5e159d
mov byte [ebp - 0xd], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e19ef
lea eax, [ebp - 0x224]
mov edx, 3
call fcn.00409028
lea eax, [ebp - 0x218]
call fcn.00408fec
lea eax, [ebp - 0x214]
mov edx, 6
call fcn.00409028
lea eax, [ebp - 0x1dc]
call fcn.00408fc8
lea eax, [ebp - 0x1a0]
mov edx, 9
call fcn.00409028
lea eax, [ebp - 0x58]
mov edx, 2
call fcn.00409058
lea eax, [ebp - 0xc]
call fcn.00408fec
lea eax, [ebp + 8]
call fcn.00408fec
ret