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

Disassembly:
push 0xffffffffffffffff
push 0x48bfbf
mov eax, dword fs:[0]
push eax
sub esp, 0x670
mov eax, dword [0x4b81f4]
xor eax, esp
mov dword [esp + 0x668], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b81f4]
xor eax, esp
push eax
lea eax, [esp + 0x684]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x694]
mov ecx, dword [ebp + 4]
lea eax, [esp + 0xa4]
push eax
push ecx
mov dword [esp + 0x24], 5
mov dword [esp + 0x2c], 0x16
call dword [sym.imp.USER32.dll_GetClientRect]
xor esi, esi
cmp dword [ebp + 0x2090], esi
je 0x486235
mov edx, dword [ebp + 0x2090]
push edx
call dword [sym.imp.USER32.dll_DestroyIcon]
cmp eax, esi
je 0x486235
mov dword [ebp + 0x2090], esi
mov ecx, dword [ebp + 0x2608]
mov eax, dword [ecx]
mov edx, dword [eax + 0x18]
call edx
push esi
push eax
mov eax, dword [0x4bc610]
push eax
call dword [sym.imp.SHELL32.dll_ExtractIconW]
mov dword [ebp + 0x2090], eax
mov ecx, dword [ebp + 0x2608]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
mov dword [esp + 0x18], 0x28
call eax
push eax
lea edi, [esp + 0x558]
call fcn.0040f860
lea ecx, [ebp + 0x2c]
push ecx
lea edx, [ebp + 0x38]
mov dword [esp + 0x690], esi
push edx
lea ecx, [esp + 0x20]
mov ebx, edi
mov dword [esp + 0x28], 0xf0
call fcn.00485860
mov eax, dword [esp + 0x28]
mov ecx, dword [ebp + 0x2608]
add eax, 2
mov dword [esp + 0x20], eax
add eax, 0x50
mov dword [esp + 0x28], eax
mov eax, dword [ecx]
mov edx, dword [eax + 8]
add esp, 8
call edx
push eax
lea edi, [esp + 0x430]
call fcn.0040f860
lea eax, [ebp + 0x24]
push eax
lea eax, [ebp + 0x3c]
push eax
lea ecx, [esp + 0x20]
mov ebx, edi
call fcn.00485860
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0xb4]
add ecx, 4
mov dword [esp + 0x20], ecx
add edx, 0xffffff9a
add esp, 8
lea ecx, [esp + 0xb4]
mov dword [esp + 0x20], edx
call fcn.0040f730
lea eax, [esp + 0xb4]
push eax
push ebp
mov byte [esp + 0x694], 2
call fcn.00485a00
test al, al
jne 0x486383
mov ebx, 0x4ab5b0
xor ecx, ecx
cmp ecx, ebx
jne 0x48632e
mov ebx, 0x4ac1f8
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x486333
sub eax, edx
sar eax, 1
lea edi, [eax + 1]
mov ecx, edi
lea esi, [esp + 0xbc]
mov dword [esp + 0xb8], eax
call fcn.00410400
cmp byte [esp + 0x1d0], 0
lea eax, [esp + 0xc0]
jne 0x486372
mov eax, dword [esp + 0xbc]
lea edx, [edi + edi]
push edx
add eax, 4
push ebx
push eax
call fcn.0046fa70
add esp, 0xc
cmp byte [esp + 0x1d0], 0
lea eax, [esp + 0xc0]
jne 0x48639b
mov eax, dword [esp + 0xbc]
add eax, 4
push eax
mov eax, dword [ebp + 0x48]
lea esi, [ebp + 0x48]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0x7f89
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov ecx, dword [esi]
push eax
push 0xfffffffffffffff4
push ecx
call dword [sym.imp.USER32.dll_SetClassLongW]
lea eax, [ebp + 0x44]
neg eax
sbb eax, eax
and eax, esi
cmp byte [esp + 0x1d0], 0
lea ecx, [esp + 0xc0]
jne 0x4863e6
mov ecx, dword [esp + 0xbc]
add ecx, 4
push ecx
lea ecx, [ebp + 0x24]
push ecx
push eax
lea esi, [esp + 0x24]
call fcn.004054f0
mov eax, dword [esp + 0x30]
mov ecx, dword [ebp + 0x2608]
mov edx, dword [ecx]
lea esi, [eax + 2]
add eax, 0x11
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], eax
mov eax, dword [edx + 0x14]
add esp, 0xc
mov dword [esp + 0x28], 0x28
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0x118
call eax
push eax
lea edi, [esp + 0x308]
call fcn.0040f860
lea edi, [ebp + 0x24]
lea ecx, [ebp + 0x40]
push edi
push ecx
lea ecx, [esp + 0x30]
lea ebx, [esp + 0x30c]
call fcn.00485860
mov eax, dword [esp + 0x38]
lea edx, [eax + 0xa]
add eax, 0x28
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x40]
lea ecx, [ebp + 0x1068]
add esp, 8
xor ebx, ebx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x34], eax
test ecx, ecx
je 0x486488
lea eax, [ebp + 0x106c]
jmp 0x48648a
xor eax, eax
push 0x4ab5b8
push edi
push eax
lea esi, [esp + 0x34]
call fcn.004054f0
mov eax, dword [ebp + 0x2488]
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
add esp, 0xc
lea edx, [esp + 0x84]
push edx
push eax
call esi
mov edx, dword [ebp + 4]
lea ecx, [esp + 0x94]
push ecx
push edx
call esi
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
neg eax
push eax
neg ecx
push ecx
lea edx, [esp + 0x8c]
push edx
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x2c]
mov edx, dword [ebp + 0x208c]
push 0x11
push ebx
push ebx
push ecx
add eax, 0xffffffe2
push eax
push ebx
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edi, fcn.0046bdd0
mov esi, fcn.0046b865
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], 0xa
mov dword [esp + 0x78], fcn.0046b942
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], esi
mov byte [esp + 0x68c], 4
mov ecx, dword [ebp + 0x2608]
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
lea edx, [esp + 0x60]
push edx
call eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], 0xa
mov dword [esp + 0x54], fcn.0046b942
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], esi
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x64]
mov byte [esp + 0x690], 5
call fcn.00405a40
add esp, 4
push 0x4ab5c0
lea edi, [esp + 0x1e0]
call fcn.0040f860
mov byte [esp + 0x68c], 6
cmp dword [esp + 0x44], ebx
je 0x486609
mov esi, dword [esp + 0x3c]
cmp esi, ebx
je 0x486622
lea eax, [esi + 0x14]
cmp byte [esi + 0x124], bl
jne 0x4865d3
mov eax, dword [esi + 0x10]
add eax, 4
push eax
push 0x4ad42c
lea edx, [esp + 0x1e4]
call fcn.0040fd10
push 0x4ab5d4
push 0x4ad42c
lea edx, [esp + 0x1ec]
call fcn.0040fd10
mov esi, dword [esi]
add esp, 0x10
cmp esi, ebx
jne 0x4865c5
jmp 0x486622
push 0x4ab5dc
push 0x4ad42c
lea edx, [esp + 0x1e4]
call fcn.0040fd10
add esp, 8
test byte [ebp + 0x260c], 8
je 0x486639
mov edx, dword [ebp + 0x2290]
push 0x4ab5e0
push edx
jmp 0x486645
mov eax, dword [ebp + 0x2290]
push str._T_u
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [ebp + 0x260c]
push ecx
lea ebx, [ebp + 0x2484]
call fcn.00487750
cmp byte [esp + 0x2f8], 0
mov esi, vtable.t_str.0
mov dword [esp + 0x1dc], esi
jne 0x48668e
mov eax, dword [esp + 0x1e4]
lea edx, [esp + 0x1e8]
cmp eax, edx
je 0x48668e
push eax
call fcn.0046b865
add esp, 4
lea ecx, [esp + 0x3c]
mov byte [esp + 0x68c], 4
call fcn.00406cf0
lea ecx, [esp + 0x60]
mov byte [esp + 0x68c], 3
call fcn.00406cf0
cmp byte [esp + 0x420], 0
mov dword [esp + 0x304], esi
jne 0x4866dc
mov eax, dword [esp + 0x30c]
lea ecx, [esp + 0x310]
cmp eax, ecx
je 0x4866dc
push eax
call fcn.0046b865
add esp, 4
cmp byte [esp + 0x1d0], 0
mov dword [esp + 0xb4], esi
jne 0x486708
mov eax, dword [esp + 0xbc]
lea edx, [esp + 0xc0]
cmp eax, edx
je 0x486708
push eax
call fcn.0046b865
add esp, 4
cmp byte [esp + 0x548], 0
mov dword [esp + 0x42c], esi
jne 0x486734
mov eax, dword [esp + 0x434]
lea ecx, [esp + 0x438]
cmp eax, ecx
je 0x486734
push eax
call fcn.0046b865
add esp, 4
cmp byte [esp + 0x670], 0
mov dword [esp + 0x554], esi
jne 0x486760
mov eax, dword [esp + 0x55c]
lea edx, [esp + 0x560]
cmp eax, edx
je 0x486760
push eax
call fcn.0046b865
add esp, 4
mov ecx, dword [esp + 0x684]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x668]
xor ecx, esp
call fcn.0046b4eb
add esp, 0x67c
ret 4