Function at 0x4107f0
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x472284
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x20bc
call sub.ntdll.dll__chkstk
mov eax, dword [0x4f8028]
xor eax, esp
mov dword [esp + 0x20b8], eax
push ebx
push esi
push edi
mov eax, dword [0x4f8028]
xor eax, esp
push eax
lea eax, [esp + 0x20d0]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
add esi, 0x24c
call fcn.0041a3c0
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
call fcn.00411dc0
mov edi, eax
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
mov ecx, edi
call edx
test eax, eax
jne 0x4108d2
mov eax, 1
test byte [0x503544], al
jne 0x4108a0
or dword [0x503544], eax
push 0x4732e0
mov dword [0x503520], 0x4e7bc8
mov dword [0x503524], 0xffffffff
call fcn.0046d920
add esp, 4
mov esi, dword [0x503520]
push 0x120
mov ecx, str..SelvolDlg.cpp
add esi, 8
call fcn.0040f810
add esp, 4
push eax
mov eax, dword [esi]
push str._s:_pDiskMgr_is_a_NULL.
push 0x503520
call eax
add esp, 0xc
jmp 0x410eb3
mov edx, dword [edi]
mov eax, dword [edx + 0x28]
mov ecx, edi
call eax
mov edi, eax
test edi, edi
mov dword [esp + 0x58], edi
jne 0x410916
call fcn.004205a0
mov edi, eax
mov esi, dword [edi]
push 0x126
mov ecx, str..SelvolDlg.cpp
add esi, 8
call fcn.0040f810
mov ecx, dword [esi]
add esp, 4
push eax
push str._s:_pDynVol_is_a_NULL.
push edi
call ecx
add esp, 0xc
jmp 0x410eb3
mov ecx, dword [esi + 0xb4]
test ecx, ecx
mov dword [esp + 0x2c], 0xa
mov dword [esp + 0x30], 3
jne 0x410934
xor eax, eax
jmp 0x41093f
mov eax, dword [esi + 0xb8]
sub eax, ecx
sar eax, 2
lea edx, [esp + 0x2c]
push edx
push eax
push esi
call fcn.00419b40
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edi
call edx
xor ebx, ebx
test eax, eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x24], ebx
je 0x410e88
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push ebx
mov ecx, edi
call edx
mov esi, eax
cmp dword [esi + 0x8c], 1
jne 0x4109a5
cmp word [esi + 4], 0x2a
jne 0x4109a5
lea eax, [esi + 0x4a0]
lea edx, [eax + 2]
jmp 0x410990
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x410990
sub eax, edx
sar eax, 1
je 0x410e77
mov eax, dword [esi]
mov edi, dword [esp + 0x10]
mov edx, dword [edi + 0x300]
mov dword [esp + 0x38], eax
lea eax, [edi + 0x24c]
xor ebx, ebx
cmp edx, ebx
mov dword [esp + 0x2c], 0x1a
mov dword [esp + 0x30], ebx
jne 0x4109d3
mov dword [esp + 0x14], ebx
jmp 0x4109e2
mov ecx, dword [eax + 0xb8]
sub ecx, edx
sar ecx, 2
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x2c]
push ecx
push edx
push eax
call fcn.00419b40
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
push 0x100c
lea eax, [esp + 0x78]
push ebx
push eax
mov dword [esp + 0x20e4], ebx
call sub.ntdll.dll_memset
movzx edx, word [esi + 4]
add esp, 0xc
lea ecx, [esi + 6]
push ecx
push edx
lea eax, [esp + 0x20]
push str._c:__s
push eax
call dword [sym.imp.MFC80U.DLL_Ordinal_2311]
add esp, 0x10
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_2461]
lea edx, [esp + 0x78]
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
cmp cx, bx
jne 0x410a40
lea ecx, [esp + 0x74]
lea eax, [edi + 0x24c]
mov edi, dword [esp + 0x14]
push ecx
push eax
xor ebx, ebx
mov eax, edi
call fcn.00419df0
push 0x3e
lea edx, [esp + 0x108a]
push ebx
push edx
mov word [esp + 0x1090], bx
call sub.ntdll.dll_memset
mov eax, dword [esi + 0x88]
add esp, 0xc
cmp eax, 1
jne 0x410abc
xor eax, eax
jmp 0x410aa0
movzx ecx, word [eax + 0x476230]
mov word [esp + eax + 0x1084], cx
add eax, 2
cmp cx, bx
jne 0x410aa0
jmp 0x410b80
cmp eax, ebx
jne 0x410aec
xor eax, eax
jmp 0x410ad0
movzx ecx, word [eax + 0x476218]
mov word [esp + eax + 0x1084], cx
add eax, 2
cmp cx, bx
jne 0x410ad0
jmp 0x410b80
cmp eax, 3
jne 0x410b19
xor eax, eax
jmp 0x410b00
movzx ecx, word [eax + 0x4782a4]
mov word [esp + eax + 0x1084], cx
add eax, 2
cmp cx, bx
jne 0x410b00
jmp 0x410b80
push 0x474c4c
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
mov byte [esp + 0x20d8], 1
call fcn.004206b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx]
push str.0422
call eax
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x1084]
sub edx, eax
lea ebx, [ebx]
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
cmp cx, bx
jne 0x410b60
lea ecx, [esp + 0x1c]
mov byte [esp + 0x20d8], bl
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
push 0x100c
lea ecx, [esp + 0x78]
push ebx
push ecx
call sub.ntdll.dll_memset
add esp, 0xc
xor eax, eax
jmp 0x410ba0
movzx ecx, word [esp + eax + 0x1084]
mov word [esp + eax + 0x78], cx
add eax, 2
cmp cx, bx
jne 0x410ba0
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x74]
add eax, 0x24c
push edx
push eax
mov ebx, 1
mov eax, edi
call fcn.00419df0
test byte [0x50354c], bl
jne 0x410be8
or dword [0x50354c], ebx
mov dword [0x503548], 0x4e7844
lea eax, [esi + 0x90]
push 0x80000000
mov dword [esp + 0x2c], eax
push eax
mov eax, dword [0x503548]
mov edx, dword [eax + 0x64]
mov ecx, 0x503548
call edx
test byte [0x503528], bl
mov edi, eax
jne 0x410c2d
or dword [0x503528], ebx
xor eax, eax
mov dword [0x5032ec], 0x4e8ab4
mov dword [0x5032f0], eax
mov dword [0x5032f4], eax
lea eax, [esp + 0x5c]
push eax
mov eax, dword [0x5032ec]
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x74]
push edx
mov edx, dword [eax]
push edi
mov ecx, 0x5032ec
call edx
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
mov edx, ecx
sub edx, dword [esp + 0x5c]
mov esi, eax
sbb esi, dword [esp + 0x60]
shrd ecx, eax, 9
shrd edx, esi, 9
shr eax, 9
push edi
mov dword [esp + 0x68], edx
shr esi, 9
mov dword [esp + 0x50], ecx
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x474c4c
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
mov byte [esp + 0x20d8], 2
test byte [0x504e60], 1
jne 0x410cb7
or dword [0x504e60], 1
call fcn.0042a470
push 0x473340
call fcn.0046d920
add esp, 4
mov eax, dword [0x50350c]
mov edx, dword [eax]
push str.0422
mov ecx, 0x50350c
call edx
push eax
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x1088]
push ecx
call dword [sym.imp.ntdll.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x410d1f
mov eax, dword [esp + 0x28]
xor esi, esi
mov dword [esp + 0x64], esi
call fcn.00411080
mov ebx, edx
test ebx, ebx
mov edi, eax
jg 0x410d23
jl 0x410d0c
test edi, edi
jae 0x410d23
mov ebx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
shrd eax, ebx, 9
mov dword [esp + 0x4c], eax
shr ebx, 9
mov edi, dword [esp + 0x4c]
push 0x100c
lea edx, [esp + 0x78]
push 0
push edx
call sub.ntdll.dll_memset
add esp, 0xc
push 0xffe
lea eax, [esp + 0x10ca]
push 0
push eax
mov word [esp + 0x10d0], 0
call sub.ntdll.dll_memset
add esp, 0xc
push 0
push 0x200
push ebx
push edi
call sub.ntdll.dll__allmul
push edx
push eax
call fcn.00411e60
add esp, 8
lea edx, [esp + 0x10c4]
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
test cx, cx
jne 0x410d77
xor eax, eax
lea ebx, [ebx]
movzx ecx, word [esp + eax + 0x10c4]
mov word [esp + eax + 0x78], cx
add eax, 2
test cx, cx
jne 0x410d90
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x74]
add eax, 0x24c
push ecx
push eax
mov ebx, 2
mov eax, edi
call fcn.00419df0
push 0x100c
lea edx, [esp + 0x78]
push 0
push edx
call sub.ntdll.dll_memset
mov eax, dword [esp + 0x70]
add esp, 0xc
push 0
push 0x200
push esi
push eax
call sub.ntdll.dll__allmul
push edx
push eax
call fcn.00411e60
add esp, 8
lea edx, [esp + 0x10c4]
jmp 0x410e00
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, ebx
test cx, cx
jne 0x410e00
xor eax, eax
jmp 0x410e20
movzx ecx, word [esp + eax + 0x10c4]
mov word [esp + eax + 0x78], cx
add eax, 2
test cx, cx
jne 0x410e20
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x74]
add eax, 0x24c
push ecx
push eax
mov ebx, 3
mov eax, edi
call fcn.00419df0
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x18]
mov dword [esp + 0x20d8], 0xffffffff
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x58]
add ebx, 1
cmp ebx, dword [esp + 0x48]
mov dword [esp + 0x24], ebx
jne 0x410966
mov ebx, dword [esp + 0x10]
lea edi, [ebx + 0x24c]
mov eax, edi
call fcn.0041a470
mov edx, dword [ebx + 0x26c]
push 1
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
push 0
push 0
call fcn.0041a5a0
mov ecx, dword [esp + 0x20d0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20b8]
xor ecx, esp
call fcn.0046d6fd
mov esp, ebp
pop ebp
ret