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

Disassembly:
push 0xffffffffffffffff
push 0x467be7
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x49001c]
xor eax, esp
mov dword [esp + 0xe0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49001c]
xor eax, esp
push eax
lea eax, [esp + 0xfc]
mov dword fs:[0], eax
lea eax, [esp + 0x44]
mov ebx, ecx
mov edi, edx
xor ebp, ebp
push eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], edi
mov byte [esp + 0x1b], 0
mov dword [esp + 0x1c], ebp
call fcn.00401000
mov dword [esp + 0x104], ebp
mov dword [esp + 0x24], ebp
jmp 0x445b10
mov esi, dword [ebx + 0x210]
mov eax, dword [esi + 4]
test eax, eax
je 0x445c11
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jae 0x445c11
mov eax, dword [esi + 4]
test eax, eax
je 0x445b60
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x445b66
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edi, dword [esi + 4]
mov esi, dword [esp + 0x1c]
add edi, dword [esp + 0x24]
push esi
push edi
call dword [sym.imp.MSVCP80.dll_bool___cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
add esp, 8
test al, al
je 0x445b95
lea ecx, [esi + 0x78]
push ecx
lea edx, [edi + 0x78]
push edx
call dword [sym.imp.MSVCP80.dll_bool___cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
add esp, 8
test al, al
jne 0x445ba7
add ebp, 1
add dword [esp + 0x24], 0xb0
mov edi, esi
jmp 0x445b10
lea eax, [esi + 0x1c]
push eax
lea ecx, [edi + 0x1c]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov ecx, dword [esi + 0x3c]
lea edx, [esi + 0x40]
mov dword [edi + 0x3c], ecx
push edx
lea ecx, [edi + 0x40]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov eax, dword [esi + 0xa0]
mov ecx, dword [esi + 0xa4]
mov edx, eax
or edx, ecx
je 0x445be5
mov dword [edi + 0xa0], eax
mov dword [edi + 0xa4], ecx
mov esi, dword [esi + 0xa8]
cmp dword [edi + 0xa8], esi
jae 0x445bf9
mov dword [edi + 0xa8], esi
lea esi, [esp + 0x44]
mov dword [esp + 0x18], ebp
mov byte [esp + 0x17], 1
call fcn.00401b80
mov edi, dword [esp + 0x1c]
jmp 0x445c31
push edi
call fcn.00444260
call fcn.00428720
mov edx, dword [edi + 0x3c]
lea ecx, [eax + 4]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc0]
push edx
push 1
push 0x49
call eax
mov esi, ebx
call fcn.00445980
cmp byte [esp + 0x10c], 0
je 0x445e39
cmp byte [ebx + 0x22d], 0
jne 0x445c59
lea edx, [esp + 0x44]
push edx
jmp 0x445e3e
mov eax, dword [ebx + 0x218]
test eax, eax
je 0x445c7c
mov ecx, dword [ebx + 0x21c]
sub ecx, eax
mov eax, 0x6bca1af3
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov esi, dword [ebx + 0x224]
cmp esi, eax
jae 0x445ce3
mov eax, dword [ebx + 0x218]
test eax, eax
je 0x445cad
mov ecx, dword [ebx + 0x21c]
sub ecx, eax
mov eax, 0x6bca1af3
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x445cb3
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
imul esi, esi, 0x4c
add esi, dword [ebx + 0x218]
lea ebp, [edi + 0x78]
push ebp
push esi
call dword [0x469eec]
add esp, 8
test al, al
je 0x445ce3
mov edx, dword [edi + 0x3c]
mov cl, byte [ebx + 0x22d]
push ebp
push ebx
call fcn.004464d0
jmp 0x445e13
lea esi, [ebx + 0x24]
push 0x68
mov ecx, esi
call dword [sym.imp.K8UIRender.dll_public:_class_GameMgr::GMControl____thiscall_GameMgr::GMPaintManager::FindControl_unsigned_int_const]
mov edi, eax
test edi, edi
jne 0x445d00
lea eax, [esp + 0x44]
push eax
jmp 0x445e3e
cmp dword [esp + 0x18], 0
jne 0x445d6c
push 0x618
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
mov byte [esp + 0x104], 1
je 0x445d3a
movzx ecx, byte [ebx + 0x22d]
push 0
push ecx
push esi
mov ecx, eax
call fcn.00441d90
mov esi, eax
jmp 0x445d3c
xor esi, esi
mov byte [esp + 0x104], 0
mov edx, dword [edi]
mov eax, dword [edx + 0x23c]
push esi
mov ecx, edi
call eax
mov ecx, dword [esp + 0x1c]
push esi
call fcn.00442710
mov edx, dword [edi]
mov eax, dword [edx + 0x11c]
mov ecx, edi
call eax
jmp 0x445e13
mov edx, dword [edi]
mov eax, dword [edx + 0x238]
xor esi, esi
mov ecx, edi
mov dword [esp + 0x18], esi
call eax
test eax, eax
jbe 0x445e13
mov edx, dword [edi]
mov eax, dword [edx + 0x228]
push 0
push 0x490df8
push 0x4902b4
push 0
push esi
mov ecx, edi
call eax
push eax
call sub.MSVCR80.dll___RTDynamicCast
mov ebp, eax
add esp, 0x14
test ebp, ebp
je 0x445df4
lea esi, [esp + 0x28]
call fcn.00442af0
push eax
lea ecx, [esp + 0x48]
push ecx
mov byte [esp + 0x10c], 2
call dword [sym.imp.MSVCP80.dll_bool___cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
add esp, 8
mov ecx, esi
mov bl, al
mov byte [esp + 0x104], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
test bl, bl
je 0x445df0
push ebp
lea ecx, [esp + 0x48]
call fcn.00442710
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
mov edx, dword [edi]
mov eax, dword [edx + 0x238]
add esi, 1
mov ecx, edi
mov dword [esp + 0x18], esi
call eax
cmp esi, eax
jb 0x445d86
push 1
mov ecx, ebx
call dword [sym.imp.K8UIRender.dll_public:_struct_HWND______thiscall_GameMgr::GMWindowWnd::GetHWND_void_const]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
cmp eax, 1
push ecx
sete bl
call fcn.00428720
add esp, 4
push eax
call fcn.0042c330
lea ecx, [esp + 0x44]
push ecx
cmp byte [esp + 0x1b], 0
mov dword [esp + 0x108], 0xffffffff
sete bl
call fcn.00401340
mov al, bl
mov ecx, dword [esp + 0xfc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xe0]
xor ecx, esp
call fcn.0045d098
add esp, 0xf4
ret 4