Function at 0x406ea0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x47186c
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x4f8028]
xor eax, esp
mov dword [esp + 0xe4], eax
push ebp
push esi
push edi
mov eax, dword [0x4f8028]
xor eax, esp
push eax
lea eax, [esp + 0xfc]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x10c]
mov eax, dword [ebp]
mov edx, dword [eax + 0x20]
mov ecx, ebp
mov dword [esp + 0x1c], ebp
call edx
mov esi, dword [sym.imp.USER32.dll_InvalidateRect]
lea edi, [ebx + 0x58]
test edi, edi
je 0x406f12
cmp dword [edi + 0x20], 0
je 0x406f12
push 1
mov dword [ebx + 0xb0], eax
mov eax, dword [ebx + 0x78]
push 0
push eax
call esi
cmp dword [edi + 0x54], 0
je 0x406f29
mov ecx, dword [edi + 0x20]
push 1
push 0
push ecx
mov dword [edi + 0x54], 0
call esi
mov edx, dword [ebp]
mov eax, dword [edx + 0x1c]
mov ecx, ebp
call eax
mov dword [ebx + 0xb8], eax
mov eax, ebx
mov dword [ebx + 0xbc], edx
call fcn.0041d090
mov edx, dword [ebp]
mov eax, dword [edx + 0x28]
mov ecx, ebp
call eax
mov ecx, dword [ebx + 0x20]
push 1
xor ebp, ebp
push ebp
mov edi, eax
push ecx
mov dword [esp + 0x24], edi
mov dword [ebx + 0xf8], ebp
call esi
mov edx, dword [ebx + 0x20]
push 1
push ebp
push edx
mov dword [ebx + 0xf4], ebp
call esi
mov eax, dword [ebx + 0x20]
push 1
push ebp
push eax
mov dword [ebx + 0xfc], ebp
call esi
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
mov dword [esp + 0x14], ebp
call eax
test eax, eax
jbe 0x407174
mov ebp, dword [esp + 0x1c]
jmp 0x406fa4
mov edi, dword [esp + 0x18]
mov edx, dword [edi]
mov eax, dword [esp + 0x14]
mov edx, dword [edx + 0x10]
push eax
mov ecx, edi
call edx
mov ecx, dword [esp + 0x1c]
mov esi, eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
call edx
mov edx, dword [esi]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], eax
mov eax, dword [edx + 0x30]
mov ecx, esi
call eax
mov ecx, eax
lea edi, [ecx + 2]
lea esp, [esp]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x406fe0
sub ecx, edi
sar ecx, 1
je 0x406ffb
mov cx, word [eax]
mov word [esp + 0x30], cx
jmp 0x407002
mov word [esp + 0x30], 0x2a
mov edx, dword [esi]
mov eax, dword [edx + 0x28]
mov ecx, esi
call eax
mov dword [esp + 0xb8], edx
mov edx, dword [esi]
mov dword [esp + 0xb4], eax
mov eax, dword [edx + 0x5c]
xor edi, edi
mov ecx, esi
mov dword [esp + 0xbc], edi
mov dword [esp + 0xc0], edi
call eax
mov dword [esp + 0xc8], edx
mov edx, dword [esi]
mov dword [esp + 0xc4], eax
mov eax, dword [edx + 0x3c]
mov ecx, esi
call eax
lea edx, [esp + 0x32]
lea ecx, [ecx]
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
cmp cx, di
jne 0x407050
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
mov dword [esp + 0x104], edi
mov edx, dword [esi]
mov eax, dword [edx + 0x2c]
mov ecx, esi
call eax
cmp eax, 7
ja case.default.0x407080
jmp dword [eax*4 + 0x4071a4]
mov ebp, 0x9b6cf2
push 0x476200
jmp 0x4070ea
mov ebp, 0x9b6cf2
push 0x47620c
jmp 0x4070ea
mov ebp, 0xa86d00
push 0x476218
jmp 0x4070ea
mov ebp, 0xa86d00
push str.exFAT
jmp 0x4070ea
mov ebp, 0xbb4aaf
push 0x476230
jmp 0x4070ea
mov ebp, 0x3f3f3f
push 0x47623c
jmp 0x4070ea
mov ebp, 0x277a81
push 0x476248
jmp 0x4070ea
mov edi, 1
mov ebp, 0x969696
push 0x476260
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_2461]
lea edx, [esp + 0xcc]
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
test cx, cx
jne 0x407105
sub esp, 0xd0
mov dword [esp + 0xfc], edi
mov edi, esp
mov ecx, 0x34
lea esi, [esp + 0xf4]
mov dword [esp + 0x1bc], ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
call fcn.0041cd80
lea ecx, [esp + 0x10]
mov dword [esp + 0x104], 0xffffffff
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
add esi, 1
mov dword [esp + 0x14], esi
call eax
cmp esi, eax
jb 0x406fa0
mov esi, ebx
call fcn.0041ce90
mov ecx, dword [esp + 0xfc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0xe4]
xor ecx, esp
call fcn.0046d6fd
add esp, 0xf8
ret 4