Function at 0x411bd0
Capabilities:
Get disk information
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44dd7f
mov eax, dword fs:[0]
push eax
sub esp, 0x3ac
mov eax, dword [0x45c00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x3b4], edi
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3b8], ecx
xor ecx, ecx
mov dword [ebp - 0x3a0], eax
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x3b0], edx
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 4], edx
lea ebx, [ecx + 2]
mov byte [ebp - 0x399], dl
cmp dword [eax + 4], edx
je 0x411feb
mov edx, dword [eax]
mov esi, str.__
mov cl, byte [str.__]
movzx eax, cl
cmp ax, word [edx]
jne 0x411c6b
test cl, cl
je 0x411feb
mov cl, byte [esi + 1]
inc esi
add edx, ebx
movzx eax, cl
cmp ax, word [edx]
je 0x411c55
xor ebx, ebx
cmp dword [edi + 0x6c], ebx
je 0x411d19
push ebx
push ebx
push 0x146
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jle 0x411d19
push ebx
push ebx
push 0x147
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, dword [edi + 0x6c]
jae 0x411d19
mov ecx, dword [edi + 0x68]
mov eax, dword [ecx + eax*4]
mov dword [ebp - 0x398], eax
cmp dword [eax + 4], 1
ja 0x411d13
jne 0x411d19
mov eax, dword [eax]
mov edi, 0x2a
mov esi, 0x452fd0
mov eax, dword [eax]
mov edx, dword [eax]
mov ecx, edx
mov al, 0x2a
cmp di, word [ecx]
mov edi, dword [ebp - 0x3b4]
jne 0x411d13
test al, al
je 0x411d19
mov al, byte [esi + 1]
inc esi
add ecx, 2
mov byte [ebp - 0x3a5], al
movzx eax, al
cmp ax, word [ecx]
mov al, byte [ebp - 0x3a5]
je 0x411cd6
mov esi, 0x452de0
mov cl, 0x2a
lea esp, [esp]
test cl, cl
je 0x411d19
mov cl, byte [esi + 1]
inc esi
add edx, 2
movzx eax, cl
cmp ax, word [edx]
je 0x411d00
mov ebx, dword [ebp - 0x398]
xor eax, eax
mov dword [ebp - 0x60], 0xffffffff
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 5
push 8
mov dword [ebp - 0x5c], eax
call fcn.00449b46
xor ecx, ecx
mov dword [ebp - 0x5c], eax
add esp, 4
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 3
mov word [eax], cx
mov eax, dword [ebp - 0x3a0]
lea ecx, [ebp - 0x60]
push eax
mov byte [ebp - 4], 6
call fcn.00424430
push 8
mov dword [ebp - 0x368], 0
mov dword [ebp - 0x364], 0
mov dword [ebp - 0x360], 0
mov dword [ebp - 0x35c], 0
mov dword [ebp - 0x358], 0
mov dword [ebp - 0x354], 0
mov dword [ebp - 0x350], 0
mov dword [ebp - 0x34c], 0
mov dword [ebp - 0x348], 0
mov word [ebp - 0x344], 0
call fcn.00449b46
add esp, 4
mov dword [ebp - 0x340], eax
xor ecx, ecx
mov dword [ebp - 0x33c], 0
mov dword [ebp - 0x338], 3
mov word [eax], cx
mov byte [ebp - 4], 7
lea eax, [ebp - 0x368]
push eax
lea ecx, [ebp - 0x60]
call fcn.004244c0
test al, al
je 0x411e54
mov eax, dword [ebp - 0x348]
shr eax, 4
and al, 1
je 0x411e70
mov ecx, dword [ebp - 0x33c]
test ecx, ecx
je 0x411e70
mov eax, dword [ebp - 0x340]
cmp word [eax], 0x2e
jne 0x411eb9
cmp ecx, 1
je 0x411e41
cmp ecx, 2
jne 0x411eb9
cmp word [eax + 2], 0x2e
jne 0x411eb9
lea eax, [ebp - 0x368]
push eax
lea ecx, [ebp - 0x60]
call fcn.004244c0
test al, al
jne 0x411e05
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [ebp - 0x60]
cmp esi, 0xffffffff
je 0x411ed5
cmp eax, 0x12
je 0x411fbc
jmp 0x411f3a
test al, al
jne 0x411eb9
cmp byte [edi + 0x61], al
jne 0x411df2
test ebx, ebx
je 0x411eb9
mov edi, dword [ebx + 4]
xor esi, esi
test edi, edi
je 0x411eab
lea ebx, [ebx]
mov eax, dword [ebx]
mov edx, dword [ebp - 0x340]
mov eax, dword [eax + esi*4]
mov ecx, dword [eax]
call fcn.00422e50
test al, al
jne 0x411eab
inc esi
cmp esi, edi
jb 0x411e90
cmp esi, edi
mov edi, dword [ebp - 0x3b4]
je 0x411df2
lea ecx, [ebp - 0x6c]
call fcn.00403240
lea eax, [ebp - 0x368]
push eax
lea ecx, [ebp - 0x6c]
call fcn.00414060
jmp 0x411df2
cmp eax, 2
je 0x411fbc
cmp eax, 5
jne 0x411f3a
mov ecx, dword [ebp - 0x58]
add ecx, 0xffffffe5
je 0x411f05
test ecx, ecx
jle 0x411f3a
mov edx, dword [ebp - 0x5c]
movzx eax, word [edx + ecx*2 - 2]
mov ebx, eax
cmp eax, 0x5c
je 0x411f08
cmp ebx, 0x2f
jne 0x411f3a
jmp 0x411f08
mov edx, dword [ebp - 0x5c]
lea ecx, [edx + ecx*2]
mov eax, 0x53
mov esi, str.System_Volume_Information
mov dl, 0x53
cmp ax, word [ecx]
jne 0x411f37
lea esp, [esp]
test dl, dl
je 0x411fb9
mov dl, byte [esi + 1]
inc esi
add ecx, 2
movzx eax, dl
cmp ax, word [ecx]
je 0x411f20
mov esi, dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jne 0x411f4d
mov ebx, 0x80004005
jmp 0x411f58
jle 0x411f58
movzx ebx, bx
or ebx, 0x80070000
push dword [ebp - 0x340]
call fcn.00449b03
push dword [ebp - 0x5c]
call fcn.00449b03
add esp, 8
cmp esi, 0xffffffff
je 0x411f7a
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [ebp - 0x68]
test esi, esi
je 0x411fa7
mov eax, dword [ebp - 0x6c]
mov edi, dword [eax + esi*4 - 4]
dec esi
test edi, edi
je 0x411fa3
push dword [edi + 0x28]
call fcn.00449b03
push 0x38
push edi
call fcn.00449b38
mov eax, dword [ebp - 0x6c]
add esp, 0xc
test esi, esi
jne 0x411f84
push dword [ebp - 0x6c]
call fcn.00449b03
add esp, 4
mov eax, ebx
jmp 0x41286c
mov esi, dword [ebp - 0x60]
push dword [ebp - 0x340]
call fcn.00449b03
mov byte [ebp - 4], 0
push dword [ebp - 0x5c]
call fcn.00449b03
add esp, 8
cmp esi, 0xffffffff
je 0x412245
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x412245
xor eax, eax
mov byte [ebp - 0x399], 1
xor esi, esi
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x7c], esi
xor edi, edi
mov byte [ebp - 4], 1
push edi
push edi
mov dword [ebp - 0x78], edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov dword [ebp - 0x3a4], eax
test eax, eax
je 0x412807
xor ecx, ecx
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00449b46
mov ebx, eax
add esp, 4
mov dword [ebp - 0x70], ebx
push ebx
push dword [ebp - 0x3a4]
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov dword [ebp - 0x398], eax
test eax, eax
je 0x4127fe
cmp eax, dword [ebp - 0x3a4]
ja 0x4127fe
push 8
call fcn.00449b46
xor ecx, ecx
mov dword [ebp - 0x5c], eax
add esp, 4
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x54], 3
mov word [eax], cx
xor ebx, ebx
mov byte [ebp - 4], 3
mov dword [ebp - 0x3a4], ecx
cmp dword [ebp - 0x398], ebx
jbe 0x4120e1
mov eax, dword [ebp - 0x70]
mov esi, 2
mov edi, dword [ebp - 0x398]
lea ecx, [ecx]
inc ebx
cmp word [eax + esi - 2], 0
jne 0x4120d1
add eax, ecx
lea ecx, [ebp - 0x5c]
push eax
call fcn.004217a0
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x3a4], ebx
push eax
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x3ac], esi
call fcn.00403060
mov eax, dword [ebp - 0x70]
mov ecx, esi
add esi, 2
cmp ebx, edi
jb 0x4120a0
mov edi, dword [ebp - 0x78]
mov eax, dword [ebp - 0x5c]
mov esi, dword [ebp - 0x7c]
push eax
call fcn.00449b03
mov byte [ebp - 4], 1
push dword [ebp - 0x70]
call fcn.00449b03
mov eax, dword [ebp - 0x3a4]
add esp, 8
cmp eax, dword [ebp - 0x398]
jne 0x412807
xor eax, eax
mov dword [ebp - 0x398], eax
test edi, edi
je 0x41220f
jmp 0x412120
mov eax, dword [esi + eax*4]
mov dword [ebp - 0x3a4], eax
mov ecx, dword [eax + 4]
cmp ecx, 2
jb 0x4124a2
mov eax, dword [eax]
cmp word [eax + ecx*2 - 2], 0x5c
jne 0x4124a2
lea ecx, [ebp - 0x6c]
call fcn.00403240
push 0x38
call fcn.00449b08
add esp, 4
mov dword [ebp - 0x70], eax
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00404410
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x68]
lea ebx, [eax + 0x28]
lea edx, [ecx + 1]
mov dword [ebp - 0x3b0], edx
mov dword [ebp - 0x68], edx
mov edx, dword [ebp - 0x6c]
mov dword [edx + ecx*4], eax
mov dword [eax + 0x20], 0x10
mov eax, dword [ebp - 0x3a4]
cmp eax, ebx
je 0x4121ec
mov eax, dword [eax + 4]
mov dword [ebp - 0x3ac], eax
cmp eax, dword [ebx + 8]
jbe 0x4121cf
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00449b46
push dword [ebx]
mov esi, eax
call fcn.00449b03
mov eax, dword [ebp - 0x3ac]
add esp, 8
mov dword [ebx], esi
mov esi, dword [ebp - 0x7c]
mov dword [ebx + 8], eax
mov dword [ebx + 4], eax
lea eax, [eax*2 + 2]
push eax
mov eax, dword [ebp - 0x3a4]
push dword [eax]
push dword [ebx]
call sub.msvcrt.dll_memcpy
add esp, 0xc
dec dword [ebx + 4]
xor edx, edx
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
mov word [ecx + eax*2], dx
mov eax, dword [ebp - 0x398]
inc eax
mov dword [ebp - 0x398], eax
cmp eax, edi
jb 0x412120
mov byte [ebp - 4], 0
test edi, edi
je 0x412236
mov ebx, dword [esi + edi*4 - 4]
dec edi
test ebx, ebx
je 0x412232
push dword [ebx]
call fcn.00449b03
push 0xc
push ebx
call fcn.00449b38
add esp, 0xc
test edi, edi
jne 0x412217
push esi
call fcn.00449b03
mov edi, dword [ebp - 0x3b4]
add esp, 4
mov eax, dword [ebp - 0x3a0]
lea ecx, [edi + 0x54]
mov dword [ebp - 0x70], ecx
cmp eax, ecx
je 0x4122a8
mov ebx, dword [eax + 4]
cmp ebx, dword [ecx + 8]
jbe 0x41228b
xor ecx, ecx
lea eax, [ebx + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00449b46
push dword [edi + 0x54]
mov esi, eax
call fcn.00449b03
lea ecx, [edi + 0x54]
add esp, 8
mov dword [ecx], esi
mov dword [ecx + 8], ebx
lea eax, [ebx*2 + 2]
mov dword [ecx + 4], ebx
push eax
mov eax, dword [ebp - 0x3a0]
push dword [eax]
push dword [ecx]
call sub.msvcrt.dll_memcpy
add esp, 0xc
lea eax, [edi + 0x14]
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x3ac], eax
push ecx
mov ecx, eax
call fcn.00413e80
push dword [edi + 0x54]
push 0x65
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 0
push 0
push 0xb
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x1009
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
xor ebx, ebx
or esi, 0xffffffff
mov dword [ebp - 0x3a0], ebx
mov dword [ebp - 0x398], esi
cmp dword [edi + 0x18], ebx
jbe 0x4126eb
jmp 0x412310
mov eax, dword [ebp - 0x3ac]
xor ecx, ecx
mov dword [ebp - 0x390], ebx
mov edx, 2
mov eax, dword [eax]
mov esi, dword [eax + ebx*4]
mov dword [ebp - 0x3a4], esi
mov edi, dword [esi + 0x2c]
mov dword [ebp - 0x3b0], edi
lea eax, [edi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00449b46
mov ecx, dword [esi + 0x2c]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x74], edi
lea ecx, [ecx*2 + 2]
push ecx
push dword [esi + 0x28]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0x10
mov eax, dword [ebp - 0x3b8]
mov byte [ebp - 4], 8
mov esi, dword [ebp - 0x7c]
cmp dword [eax + 4], 0
je 0x41238f
mov edx, dword [eax]
mov ecx, esi
call fcn.00422cf0
test eax, eax
jne 0x41238f
mov dword [ebp - 0x398], ebx
mov eax, dword [ebp - 0x70]
xor ecx, ecx
mov dword [ebp - 0x380], esi
mov edx, 2
mov esi, dword [ebp - 0x3b0]
mov dword [ebp - 0x374], ebx
mov edi, dword [eax + 4]
add esi, edi
mov ebx, dword [eax]
mov dword [ebp - 0x394], 7
mov dword [ebp - 0x38c], 0
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00449b46
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], esi
lea esi, [edi + edi]
push esi
push ebx
push eax
mov dword [ebp - 0x5c], eax
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0x3b0]
mov ebx, dword [ebp - 0x5c]
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x7c]
lea eax, [esi + ebx]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0x1c
cmp byte [ebp - 0x399], 0
mov byte [ebp - 4], 9
je 0x412518
mov ebx, dword [ebp - 0x3a4]
xor ecx, ecx
mov edx, 2
mov eax, dword [ebx + 0x2c]
add eax, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00449b46
mov ecx, dword [ebx + 0x2c]
mov edi, eax
lea esi, [ecx + ecx]
push esi
push dword [ebx + 0x28]
push edi
call sub.msvcrt.dll_memcpy
add esp, 0x10
mov dword [edi + esi], 0x5c
lea eax, [ebp - 0x330]
push 0x4010
push 0x2b4
push eax
push 0x90
push edi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ecx, dword [ebp - 0x32c]
mov esi, eax
push edi
mov dword [ebp - 0x378], ecx
call fcn.00449b03
add esp, 4
test esi, esi
je 0x41253a
mov eax, dword [ebp - 0x378]
jmp 0x412536
test edi, edi
je 0x4124c5
mov ebx, dword [esi + edi*4 - 4]
dec edi
test ebx, ebx
je 0x4124c1
push dword [ebx]
call fcn.00449b03
push 0xc
push ebx
call fcn.00449b38
add esp, 0xc
test edi, edi
jne 0x4124a6
push esi
call fcn.00449b03
mov esi, dword [ebp - 0x3b0]
add esp, 4
test esi, esi
je 0x412503
mov eax, dword [ebp - 0x6c]
jmp 0x4124e0
mov edi, dword [eax + esi*4 - 4]
dec esi
test edi, edi
je 0x4124ff
push dword [edi + 0x28]
call fcn.00449b03
push 0x38
push edi
call fcn.00449b38
mov eax, dword [ebp - 0x6c]
add esp, 0xc
test esi, esi
jne 0x4124e0
push dword [ebp - 0x6c]
call fcn.00449b03
add esp, 4
mov eax, 0x80004005
jmp 0x41286c
mov ecx, dword [ebp - 0x3b4]
push ebx
mov ebx, dword [ebp - 0x3a4]
add ecx, 0x20
push dword [ebx + 0x20]
call fcn.0041bcd0
mov dword [ebp - 0x378], eax
test eax, eax
jns 0x412544
mov dword [ebp - 0x378], 0
mov edi, dword [ebp - 0x3b4]
lea eax, [ebp - 0x394]
push eax
push 0
push 0x104d
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
lea ecx, [ebx + 0x18]
mov word [ebp - 0x50], ax
lea eax, [ebp - 0x350]
push 0xffffffffffffffff
push eax
call fcn.004251d0
mov cl, byte [ebp - 0x350]
add esp, 8
movzx eax, cl
mov word [ebp - 0x50], ax
test cl, cl
je 0x4125a8
lea edx, [ebp - 0x350]
lea esi, [ebp - 0x50]
mov cl, byte [edx + 1]
lea edx, [edx + 1]
movzx eax, cl
lea esi, [esi + 2]
mov word [esi], ax
test cl, cl
jne 0x412595
mov eax, dword [ebp - 0x3a0]
mov dword [ebp - 0x368], eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x358], eax
lea eax, [ebp - 0x36c]
push eax
push 0
push 0x104c
push dword [edi + 8]
mov dword [ebp - 0x36c], 1
mov dword [ebp - 0x364], 1
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
mov word [ebp - 0x50], ax
mov eax, dword [ebx + 0x20]
shr eax, 4
test al, 1
jne 0x41267e
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
cmp eax, 2
jb 0x41261e
ja 0x412610
cmp ecx, 0x71000000
jb 0x41261e
shrd ecx, eax, 0x1e
mov esi, 0x47
shr eax, 0x1e
jmp 0x41265c
test eax, eax
jne 0x412650
cmp ecx, 0x9c4000
jae 0x412650
test eax, eax
jne 0x412642
cmp ecx, 0x2710
jae 0x412642
push eax
push ecx
lea ecx, [ebp - 0x50]
call fcn.004250d0
jmp 0x41267b
shrd ecx, eax, 0xa
mov esi, 0x4b
shr eax, 0xa
jmp 0x41265c
shrd ecx, eax, 0x14
mov esi, 0x4d
shr eax, 0x14
push eax
lea edx, [ebp - 0x50]
push ecx
mov ecx, edx
call fcn.004250d0
mov ecx, 0x20
mov word [eax], cx
mov word [eax + 2], si
mov dword [eax + 4], 0x42
add esp, 8
mov ebx, dword [ebp - 0x3a0]
lea eax, [ebp - 0x50]
mov dword [ebp - 0x358], eax
lea eax, [ebp - 0x36c]
push eax
push 0
push 0x104c
push dword [edi + 8]
mov dword [ebp - 0x36c], 1
mov dword [ebp - 0x368], ebx
mov dword [ebp - 0x364], 2
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebp - 0x5c]
call fcn.00449b03
mov byte [ebp - 4], 0
push dword [ebp - 0x7c]
call fcn.00449b03
inc ebx
add esp, 8
mov dword [ebp - 0x3a0], ebx
cmp ebx, dword [edi + 0x18]
jb 0x412310
mov esi, dword [ebp - 0x398]
push 0
push 0
push 0x1004
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jle 0x41272f
test esi, esi
js 0x41272f
lea eax, [ebp - 0x358]
mov dword [ebp - 0x348], 3
push eax
push esi
push 0x102b
push dword [edi + 8]
mov dword [ebp - 0x34c], 3
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x411b00
push edi
push 0x1030
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x1004
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jle 0x412788
test esi, esi
jns 0x412788
lea eax, [ebp - 0x358]
mov dword [ebp - 0x348], 1
push eax
push 0
push 0x102b
push dword [edi + 8]
mov dword [ebp - 0x34c], 1
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
push 0xffffffffffffffff
push 0x100c
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push eax
push 0x1013
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 1
push 0xb
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
push 0
push dword [edi + 8]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov esi, dword [ebp - 0x68]
mov ebx, dword [ebp - 0x6c]
test esi, esi
je 0x4127f1
mov edi, dword [ebx + esi*4 - 4]
dec esi
test edi, edi
je 0x4127ed
push dword [edi + 0x28]
call fcn.00449b03
push 0x38
push edi
call fcn.00449b38
add esp, 0xc
test esi, esi
jne 0x4127d1
push ebx
call fcn.00449b03
add esp, 4
xor eax, eax
jmp 0x41286c
push ebx
call fcn.00449b03
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x3a0], eax
test eax, eax
jne 0x412823
mov dword [ebp - 0x3a0], 0x80004005
jmp 0x412833
jle 0x412833
movzx eax, ax
or eax, 0x80070000
mov dword [ebp - 0x3a0], eax
test edi, edi
je 0x412856
mov ebx, dword [esi + edi*4 - 4]
dec edi
test ebx, ebx
je 0x412852
push dword [ebx]
call fcn.00449b03
push 0xc
push ebx
call fcn.00449b38
add esp, 0xc
test edi, edi
jne 0x412837
push esi
call fcn.00449b03
push 0
call fcn.00449b03
mov eax, dword [ebp - 0x3a0]
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00449a40
mov esp, ebp
pop ebp
ret 8