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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x49585a
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x4bb028]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor esi, esi
cmp ebx, esi
je 0x47a1b5
cmp dword [ebx + 0x20], esi
je 0x47a1b5
lea ecx, [esp + 0x44]
call dword [0x497e20]
lea ecx, [esp + 0x10]
mov dword [esp + 0x78], esi
call dword [0x497e20]
mov edi, dword [ebp + 0xc]
mov byte [esp + 0x78], 1
mov eax, dword [edi + 4]
cmp eax, 0x104
ja 0x479f97
je case.0x479fac.515
sub eax, 7
cmp eax, 0xf9
ja case.0x479fac.514
movzx eax, byte [eax + 0x47a1e4]
jmp dword [eax*4 + 0x47a1d8]
mov dword [esp + 0x20], esi
jmp case.0x479fac.514
sub eax, 0x200
cmp eax, 0xa
ja case.0x479fac.514
movzx ecx, byte [eax + 0x47a2f0]
jmp dword [ecx*4 + 0x47a2e0]
mov esi, ebx
call fcn.0047b670
test eax, eax
je case.0x479fac.515
mov edx, dword [edi + 0x14]
mov eax, dword [edi + 0x18]
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], edx
mov edx, dword [ebx + 0x20]
push ecx
push edx
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [esp + 0x18]
lea esi, [ebx + 0x54]
push eax
call fcn.0046b4a0
test eax, eax
jl case.0x479fac.515
mov edi, eax
mov eax, esi
call fcn.0046b560
mov esi, ebx
call fcn.0047a790
jmp case.0x479fac.514
mov eax, 1
cmp dword [ebx + 0x3a8], eax
je case.0x479fac.514
cmp dword [ebx + 0x3f4], eax
je case.0x479fac.514
mov ecx, dword [ebx + 0x39c]
add edi, 0x14
cmp ecx, dword [edi]
jne 0x47a03d
mov edx, dword [ebx + 0x3a0]
mov eax, dword [ebp + 0xc]
cmp edx, dword [eax + 0x18]
je case.0x479fac.514
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov eax, dword [edi]
mov ecx, dword [edi + 4]
lea edx, [esp + 0x18]
mov dword [esp + 0x18], eax
mov dword [ebx + 0x39c], eax
mov eax, dword [ebx + 0x38c]
push edx
push eax
mov dword [esp + 0x24], ecx
mov dword [ebx + 0x3a0], ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [ebx + 0x398], 0
je 0x47a0c0
lea edx, [esp + 0x18]
lea esi, [esp + 0x14]
mov ecx, ebx
call fcn.0047b7f0
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x7c], 2
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
mov ecx, esi
mov byte [esp + 0x78], 1
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, dword [ebx + 0x20]
xor ecx, ecx
push ecx
push 1
mov dword [esp + 0x50], ecx
mov dword [ebx + 0x3a4], ecx
push eax
jmp 0x47a198
mov esi, ebx
call fcn.0047b670
test eax, eax
je 0x47a0ef
mov eax, dword [ebx + 0x3d4]
test al, 2
jne 0x47a0ef
test al, 8
jne 0x47a0e3
call fcn.0047a720
jmp case.0x479fac.514
mov ecx, ebx
call fcn.0047a760
jmp case.0x479fac.514
mov ecx, dword [edi + 4]
mov edx, dword [edi]
push ecx
push edx
lea ebx, [esp + 0x38]
mov ecx, esi
call fcn.0047c260
mov ebx, eax
test ebx, ebx
jne 0x47a149
push 1
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x20]
push ecx
mov ebx, esi
call fcn.0047b6d0
mov ebx, eax
test ebx, ebx
jne 0x47a149
lea edx, [esi + 0x3b0]
push edx
mov dword [esi + 0x3a4], eax
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov eax, dword [esi + 0x20]
push pe_nt_image_headers32
push eax
call dword [sym.imp.USER32.dll_KillTimer]
call fcn.0047a720
jmp case.0x479fac.514
cmp ebx, dword [esi + 0x3a4]
jne 0x47a191
lea ecx, [esi + 0x3b0]
push ecx
lea edx, [esp + 0x38]
push edx
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
je 0x47a191
mov eax, dword [esi + 0x3d4]
test al, 2
je 0x47a181
mov ecx, esi
call fcn.0047a760
mov eax, edi
call fcn.0047ad00
jmp case.0x479fac.514
test al, 4
jne 0x47a1cc
cmp ebx, dword [esi + 0x3a4]
jne 0x47a191
test al, 1
je 0x47a142
push 0
push 1
push ebx
mov ebx, esi
lea edi, [esp + 0x3c]
call fcn.0047a300
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x44]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor eax, eax
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, esi
call fcn.0047a760
jmp case.0x479fac.514