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

Disassembly:
push 0xffffffffffffffff
push 0x5587f9
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x660038]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
xor ebp, ebp
mov dword [esp + 0x2c], ebp
push ebp
push 0x66d6e8
push 0x66d704
mov dword [esp + 0x24], ebp
mov eax, dword [esp + 0x48]
push ebp
push eax
call sub.MSVCR90.dll___RTDynamicCast
mov edi, dword [esp + 0x4c]
add esp, 0x14
mov ecx, edi
mov ebx, eax
call fcn.004949f0
mov dword [esp + 0x2c], ebp
lea eax, [ebx + 0x8f8]
mov dword [esp + 0x18], 1
call fcn.00403c40
test al, al
jne 0x405a2b
mov ebp, dword [esp + 0x40]
mov eax, ebp
mov esi, 0x5f7740
call fcn.00495350
test al, al
jne 0x40599f
mov esi, 0x5feb34
mov edx, dword [ebx]
mov eax, dword [edx + 0x54]
mov ecx, ebx
call eax
cmp dword [eax + 0x14], 0
jne 0x4059d0
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
call eax
push eax
call fcn.00460300
mov ebx, eax
mov dword [esp + 0x2c], 1
jmp 0x4059f1
mov edx, dword [ebx]
mov eax, dword [edx + 0x54]
mov ecx, ebx
call eax
mov edx, dword [eax]
mov edx, dword [edx + 0x70]
lea ecx, [esp + 0x40]
push ecx
mov ecx, eax
call edx
mov ebx, eax
mov dword [esp + 0x2c], 2
call sub.CommonUI66U.dll_wchar_t_const____cdecl_VGetAppName_void_
push eax
push esi
mov eax, ebx
call fcn.00407eb0
push eax
mov eax, ebp
call fcn.00407eb0
push eax
push str._1_2_3____4
push edi
call fcn.00495410
add esp, 0x18
mov byte [esp + 0x2c], 0
lea ecx, [esp + 0x40]
call fcn.00494b70
mov eax, edi
jmp 0x405d0c
lea eax, [ebx + 0x90c]
test eax, eax
je 0x405a3d
lea eax, [ebx + 0x918]
jmp 0x405a3f
xor eax, eax
lea esi, [esp + 0x3c]
call fcn.00494a10
mov dword [esp + 0x2c], 3
mov eax, esi
call fcn.00495300
test eax, eax
jle 0x405ccf
nop
mov edi, ebp
lea eax, [esp + 0x3c]
call fcn.00495830
cmp word [eax], 0x25
lea eax, [esp + 0x3c]
je 0x405a8b
call fcn.00495830
mov ax, word [eax]
mov ecx, dword [esp + 0x38]
call fcn.00494d20
jmp 0x405cb9
inc ebp
call fcn.00495300
cmp ebp, eax
je 0x405cb9
mov edi, ebp
lea eax, [esp + 0x3c]
call fcn.00495830
cmp word [eax], 0x73
je 0x405ca6
lea eax, [esp + 0x3c]
call fcn.00495830
cmp word [eax], 0x53
je 0x405ca6
lea eax, [esp + 0x3c]
call fcn.00495830
cmp word [eax], 0x68
je 0x405c70
lea eax, [esp + 0x3c]
call fcn.00495830
cmp word [eax], 0x48
je 0x405c70
lea eax, [esp + 0x3c]
call fcn.00495830
cmp word [eax], 0x70
je 0x405c1c
lea eax, [esp + 0x3c]
call fcn.00495830
cmp word [eax], 0x50
je 0x405c1c
lea eax, [esp + 0x3c]
call fcn.00495830
cmp word [eax], 0x75
je 0x405be3
lea eax, [esp + 0x3c]
call fcn.00495830
cmp word [eax], 0x55
je 0x405be3
lea eax, [esp + 0x3c]
call fcn.00495830
cmp word [eax], 0x78
je 0x405bd9
lea eax, [esp + 0x3c]
call fcn.00495830
cmp word [eax], 0x58
je 0x405bd9
lea eax, [esp + 0x3c]
call fcn.00495830
cmp word [eax], 0x69
je 0x405b9d
lea eax, [esp + 0x3c]
call fcn.00495830
cmp word [eax], 0x49
je 0x405b9d
lea eax, [esp + 0x3c]
call fcn.00495830
cmp word [eax], 0x25
jne 0x405cb9
mov ecx, dword [esp + 0x38]
mov eax, 0x25
call fcn.00494d20
jmp 0x405cb9
push 0
or edi, 0xffffffff
mov eax, 0x5feb60
lea esi, [esp + 0x18]
call fcn.00494ae0
mov byte [esp + 0x2c], 7
mov edi, dword [esp + 0x38]
mov ecx, esi
push ecx
call fcn.00494c90
mov byte [esp + 0x2c], 3
mov ecx, esi
call fcn.00494b70
mov byte [ebx + 0x1335], 1
jmp 0x405cb9
mov edx, dword [esp + 0x44]
push edx
jmp 0x405cb0
mov eax, dword [ebx]
mov edx, dword [eax + 0x54]
mov ecx, ebx
call edx
mov edx, dword [eax]
mov edx, dword [edx + 0x78]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call edx
mov byte [esp + 0x2c], 6
mov edi, dword [esp + 0x38]
push eax
call fcn.00494c90
mov byte [esp + 0x2c], 3
lea ecx, [esp + 0x1c]
call fcn.00494b70
jmp 0x405cb9
lea ecx, [esp + 0x34]
call fcn.004949f0
mov byte [esp + 0x2c], 5
mov eax, dword [ebx]
mov edx, dword [eax + 0x54]
mov ecx, ebx
call edx
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x94]
call eax
push eax
lea ecx, [esp + 0x38]
push str._1_d_
push ecx
call fcn.00495410
mov edi, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x34]
push edx
call fcn.00494c90
mov byte [esp + 0x2c], 3
lea ecx, [esp + 0x34]
call fcn.00494b70
jmp 0x405cb9
mov eax, dword [ebx]
mov edx, dword [eax + 0x54]
mov ecx, ebx
call edx
mov edx, dword [eax]
mov edx, dword [edx + 0x70]
lea ecx, [esp + 0x20]
push ecx
mov ecx, eax
call edx
mov byte [esp + 0x2c], 4
mov edi, dword [esp + 0x38]
push eax
call fcn.00494c90
mov byte [esp + 0x2c], 3
lea ecx, [esp + 0x20]
call fcn.00494b70
jmp 0x405cb9
mov eax, dword [ebx]
mov edx, dword [eax + 0x28]
mov ecx, ebx
call edx
push eax
mov edi, dword [esp + 0x3c]
call fcn.00494c90
lea eax, [esp + 0x3c]
inc ebp
call fcn.00495300
cmp ebp, eax
jl 0x405a60
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x40]
push edi
push eax
lea ecx, [esp + 0x48]
push ecx
call fcn.00495940
add esp, 0xc
mov byte [esp + 0x2c], 8
call fcn.00494c50
mov byte [esp + 0x2c], 3
lea ecx, [esp + 0x40]
call fcn.00494b70
mov byte [esp + 0x2c], 0
lea ecx, [esp + 0x3c]
call fcn.00494b70
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0x14