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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d486c
push eax
mov dword fs:[0], esp
sub esp, 0x1a0
push esi
mov esi, ecx
mov eax, dword [esi + 0x160]
test eax, eax
je 0x4648c0
jmp 0x4648b0
mov ecx, dword [eax + 8]
cmp dword [ecx + 0xc], 3
je 0x4648da
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x4648b0
xor al, al
pop esi
mov ecx, dword [esp + 0x1a0]
mov dword fs:[0], ecx
add esp, 0x1ac
ret 8
mov eax, dword [esi]
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x34]
push edx
mov ecx, esi
call dword [eax + 0x21c]
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x48]
push ecx
call fcn.00498f70
add esp, 8
push esi
lea ecx, [esp + 0xa8]
call fcn.00446f40
lea edx, [esp + 0x58]
push edx
mov ecx, esi
mov dword [esp + 0x1b0], 0
call fcn.00422030
push 0x64
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1b4], 1
call fcn.0043c620
push eax
lea ecx, [esp + 0xa8]
mov byte [esp + 0x1b0], 2
call fcn.00441200
lea ecx, [esp + 0x34]
mov byte [esp + 0x1ac], 1
call fcn.004b4600
lea ecx, [esp + 0x58]
mov byte [esp + 0x1ac], 0
call fcn.004b4600
push 0x20
call fcn.00411570
add esp, 4
push eax
lea ecx, [esp + 0xa8]
call fcn.0043f3d0
mov eax, dword [esi + 0x114]
push 0
lea ecx, [esp + 0x70]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
jne 0x4649d2
lea ecx, [esp + 0xa4]
mov dword [esp + 0x1ac], 0xffffffff
call fcn.00446ae0
xor al, al
pop esi
mov ecx, dword [esp + 0x1a0]
mov dword fs:[0], ecx
add esp, 0x1ac
ret 8
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
push edi
mov edi, dword [esp + 0x70]
sub eax, edx
push eax
sub ecx, edi
push ecx
push edx
mov edx, dword [esp + 0xb4]
push edi
lea ecx, [esp + 0xb8]
call dword [edx + 0x130]
mov eax, dword [esp + 0x1bc]
mov ecx, dword [esp + 0x1b8]
push eax
push ecx
push 0xf
mov ecx, esi
call fcn.0041d360
mov eax, dword [esi + 0x160]
test eax, eax
mov dword [esp + 0xc], eax
je 0x464cbd
push ebx
push ebp
lea esp, [esp]
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 8]
cmp dword [eax + 0xc], 3
jne 0x464ca8
mov ebx, dword [eax + 0x18]
mov eax, dword [ebx]
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x58]
push edx
mov ecx, ebx
call dword [eax + 0x210]
mov eax, dword [ebx]
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x50]
push edx
mov ecx, ebx
call dword [eax + 0x218]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x4c]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x5c]
push 0
mov dword [esp + 0x9c], eax
mov eax, dword [esi + 0x114]
push 0x418
push eax
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], edx
call edi
xor ebp, ebp
test eax, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x18], ebp
jle 0x464ca8
jmp 0x464ad0
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
lea ebx, [ebx]
mov eax, dword [esi + 0x114]
lea ecx, [esp + 0x9c]
push ecx
push ebp
push 0x417
push eax
call edi
test eax, eax
je 0x464c97
cmp byte [esp + 0xa5], 1
jne 0x464c97
mov eax, dword [esi + 0x114]
lea edx, [esp + 0x1c]
push edx
push ebp
push 0x41d
push eax
call edi
test eax, eax
je 0x464c97
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
sub eax, edx
sub ecx, edi
mov dword [esp + 0x38], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x34], ecx
push eax
lea ecx, [esp + 0x8c]
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edx
call fcn.00411100
test al, al
je 0x464c97
mov al, byte [esi + 0xc8]
shr al, 4
and al, 1
mov byte [esp + 0x13], 0
jne 0x464b78
mov ecx, dword [esi + 0x2c]
test byte [ecx + 0xc8], 0x10
je 0x464c5b
test al, al
jne 0x464c5b
cmp dword [esp + 0x50], 6
jl 0x464c5b
call fcn.00443da0
mov ebp, eax
test ebp, ebp
je 0x464c57
call dword [ebp + 0x94]
test eax, eax
je 0x464c57
call dword [ebp + 0x90]
test eax, eax
je 0x464c57
call fcn.00443da0
test eax, eax
je 0x464bd1
mov ecx, dword [esi + 0x114]
push str.REBAR
push ecx
call dword [eax]
mov edi, eax
jmp 0x464bd3
xor edi, edi
mov dword [esp + 0x5c], edi
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x24], edx
lea edx, [esp + 0x64]
push edx
mov edx, dword [esp + 0x19c]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x74], eax
xor eax, eax
push eax
push eax
push edx
push edi
mov byte [esp + 0x1d0], 3
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
call dword [ebp + 8]
test eax, eax
jne 0x464c3a
mov byte [esp + 0x13], 1
test edi, edi
mov byte [esp + 0x1b8], 0
je 0x464c4f
call fcn.00443da0
push edi
call dword [eax + 4]
mov al, byte [esp + 0x13]
test al, al
jne 0x464c85
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
push ecx
push edx
mov edx, dword [esp + 0xbc]
push eax
lea ecx, [esp + 0xc0]
call dword [edx + 0xf0]
jmp 0x464c89
mov ebp, dword [esp + 0x18]
mov eax, dword [ebx]
push 0
push 0
mov ecx, ebx
call dword [eax + 0x118]
mov eax, dword [esp + 0x40]
inc ebp
cmp ebp, eax
mov dword [esp + 0x18], ebp
jl 0x464ac4
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0xc]
test eax, eax
mov dword [esp + 0x14], eax
jne 0x464a30
pop ebp
pop ebx
lea ecx, [esp + 0xa8]
mov dword [esp + 0x1b0], 0xffffffff
call fcn.00446ae0
mov ecx, dword [esp + 0x1a8]
pop edi
mov al, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x1ac
ret 8