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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x526ed8
push eax
mov dword fs:[0], esp
sub esp, 0x84
push ebx
push ebp
mov ebp, dword [esp + 0xa0]
push esi
push edi
mov esi, ecx
push ebp
lea ecx, [esp + 0x14]
call fcn.00467200
cmp dword [ebp + 0xf4], 5
jne 0x48c9e6
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0xa4]
push 0x29
push 0x2b
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x34]
mov dword [eax + 8], ecx
push edi
mov ecx, esi
mov dword [eax + 0xc], edx
call fcn.004479e0
push 0x29
mov ecx, esi
call fcn.004477d0
push eax
push ebp
push edi
mov ecx, esi
call fcn.00492350
jmp 0x48d1a5
push ebp
mov ecx, esi
call fcn.004481a0
test eax, eax
je 0x48cb7f
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
sub edi, ebx
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x10
call ebx
cdq
sub eax, edx
sar eax, 1
cmp edi, eax
jle 0x48ca17
mov eax, edi
jmp 0x48ca20
push 0x10
call ebx
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0xf4]
cmp eax, 2
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
je 0x48ca55
test eax, eax
je 0x48ca55
cmp eax, 3
je 0x48ca55
cmp eax, 1
jne 0x48cac6
mov ecx, dword [ebp + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.004fdb8c
test eax, eax
je 0x48cac6
mov eax, dword [eax + 0x1c]
lea edx, [esp + 0x34]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x34]
push ecx
mov ecx, ebp
call fcn.00505843
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x34]
push 0x10
sub edi, eax
call ebx
cdq
sub eax, edx
sar eax, 1
cmp edi, eax
jle 0x48ca9f
mov eax, edi
jmp 0x48caa8
push 0x10
call ebx
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
add eax, ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0xa4]
lea edx, [esp + 0x10]
push edx
push 1
lea eax, [esi + 0x438]
push eax
lea ecx, [esp + 0x2c]
push ecx
push edi
call fcn.00468510
mov ecx, eax
call fcn.00467e50
cmp dword [ebp + 0xf4], 4
jne 0x48d1a5
push 0x3d
mov ecx, esi
call fcn.004477d0
mov esi, eax
push esi
push esi
lea edx, [esp + 0x18]
push edx
mov ecx, edi
call fcn.005133fa
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
push esi
push esi
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
call fcn.005133fa
mov edx, dword [edi + 4]
mov ebx, dword [sym.imp.GDI32.dll_SetPixel]
push esi
push 2
push 2
push edx
call ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [edi + 4]
push esi
push 2
add eax, 0xfffffffe
push eax
push ecx
call ebx
mov edx, dword [esp + 0x1c]
mov eax, dword [edi + 4]
push esi
add edx, 0xfffffffe
push edx
push 2
push eax
call ebx
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, dword [edi + 4]
push esi
add ecx, 0xfffffffe
push ecx
add edx, 0xfffffffe
push edx
push eax
call ebx
jmp 0x48d1a5
mov eax, dword [ebp + 0xf4]
test eax, eax
je 0x48cfa9
cmp eax, 1
je 0x48cfa9
cmp eax, 2
je 0x48cde3
cmp eax, 3
je 0x48cde3
cmp eax, 4
jne 0x48cdce
mov edx, dword [esi]
push ebp
mov ecx, esi
call dword [edx + 0x114]
test eax, eax
je 0x48cdce
push 0x1e
mov ecx, esi
call fcn.004477d0
mov edi, dword [esp + 0xa4]
push eax
lea eax, [esp + 0x14]
push eax
mov ecx, edi
call fcn.00512e11
push 0x3d
mov ecx, esi
call fcn.004477d0
mov ebx, eax
push ebx
push ebx
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
call fcn.005133fa
push 0xffffffffffffffff
push 0xffffffffffffffff
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.USER32.dll_InflateRect]
push ebx
push ebx
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call fcn.005133fa
lea ecx, [esi + 0x90]
push ecx
push edi
lea ecx, [esp + 0x6c]
call fcn.004675a0
push 1
push 0x54a420
lea edx, [esp + 0x28]
push edx
mov ecx, edi
mov dword [esp + 0xa8], 0
call fcn.0042b772
mov ecx, dword [esp + 0x24]
cmp ecx, 0xf
jge 0x48cc54
mov ecx, 0xf
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
add edx, 0xfffffffe
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x14]
lea ecx, [ecx + edx + 2]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x20]
add eax, 0xfffffffe
add edx, 2
mov dword [esp + 0x4c], ecx
mov ecx, ebp
mov dword [esp + 0x44], edx
mov dword [esp + 0x50], eax
mov dword [esp + 0x30], 0
call fcn.0044f6a0
test eax, eax
jle 0x48cd4d
mov edx, dword [esp + 0x30]
push edx
mov ecx, ebp
call fcn.0044f6b0
mov ecx, dword [eax + 0x90]
test ecx, ecx
mov dword [esp + 0x20], eax
je 0x48cd33
mov edx, dword [eax]
push 0
mov ecx, eax
call dword [edx + 0x78]
test eax, eax
je 0x48cd33
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x74]
push eax
call fcn.004476e0
mov ecx, dword [esp + 0x48]
cmp dword [eax + 4], ecx
jle 0x48cd33
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x84]
push edx
call fcn.0044e5f0
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
push 0
mov dword [esp + 0x5c], edx
push 0
lea edx, [esi + 0x458]
mov dword [esp + 0x68], eax
push edx
lea eax, [esp + 0x60]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x58]
push eax
push edi
mov dword [esp + 0x70], ecx
call fcn.00468510
mov ecx, eax
call fcn.00467e50
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x48], ecx
mov edx, dword [esp + 0x30]
inc edx
mov ecx, ebp
mov dword [esp + 0x30], edx
call fcn.0044f6a0
cmp dword [esp + 0x30], eax
jl 0x48cca0
push 0
push 0
add esi, 0x458
push esi
lea edx, [esp + 0x50]
push edx
push edi
call fcn.00468510
mov ecx, eax
call fcn.00467e50
mov eax, dword [edi + 4]
push ebx
push 2
push 2
push eax
call dword [sym.imp.GDI32.dll_SetPixel]
mov ecx, dword [esp + 0x18]
push ebx
add ecx, 0xfffffffe
push 2
push ecx
mov ecx, edi
call fcn.004482e0
mov edx, dword [esp + 0x1c]
push ebx
add edx, 0xfffffffe
push edx
push 2
mov ecx, edi
call fcn.004482e0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push ebx
add eax, 0xfffffffe
add ecx, 0xfffffffe
push eax
push ecx
mov ecx, edi
call fcn.004482e0
lea ecx, [esp + 0x64]
mov dword [esp + 0x9c], 0xffffffff
call fcn.004675f0
jmp 0x48d1a5
mov edx, dword [esp + 0xa4]
push ebp
push edx
mov ecx, esi
call fcn.00492460
jmp 0x48d1a5
push 0xf
mov ecx, esi
call fcn.004477d0
mov edi, dword [esp + 0xa4]
push eax
lea eax, [esp + 0x14]
push eax
mov ecx, edi
call fcn.00512e11
mov ecx, dword [ebp + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.004fdb8c
mov ebx, eax
test ebx, ebx
je 0x48cef9
mov ecx, ebx
call fcn.005001a9
test ah, 0x41
je 0x48ce46
mov eax, dword [esi + 0x450]
cmp eax, 0xffffffff
jne 0x48ce37
mov eax, dword [esi + 0x44c]
push eax
lea edx, [esp + 0x14]
push edx
mov ecx, edi
call fcn.00512e11
jmp 0x48ceb2
push ebx
lea ecx, [esp + 0x24]
call fcn.004671a0
lea eax, [esp + 0x20]
push eax
mov ecx, ebp
call fcn.00505843
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push 0x10
sub ebx, eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
cmp ebx, eax
jle 0x48ce7b
mov eax, ebx
jmp 0x48ce88
push 0x10
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [esp + 0x20]
add eax, ecx
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x2c], eax
push 1
lea eax, [esi + 0x438]
push eax
lea ecx, [esp + 0x2c]
push ecx
push edi
call fcn.00468510
mov ecx, eax
call fcn.00467e50
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
lea edx, [eax + 3]
push edx
mov edx, dword [esp + 0x14]
push ecx
push eax
push edx
mov ecx, edi
call fcn.00505397
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
sub esp, 0x10
inc eax
mov ebx, esp
mov dword [ebx], eax
mov eax, dword [esp + 0x2c]
add ecx, 3
mov dword [ebx + 4], ecx
dec edx
mov dword [ebx + 8], edx
push edi
mov ecx, esi
mov dword [ebx + 0xc], eax
call fcn.0048c090
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
push 1
push 1
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x24]
push 0
push 1
mov dword [esp + 0x50], ecx
mov ecx, dword [ebp + 0xf0]
inc eax
push 0xffffffffffffffff
mov dword [esp + 0x50], edx
mov dword [esp + 0x48], eax
call fcn.004a2590
cmp eax, 0xffffffff
je 0x48cf57
mov ebp, dword [ebp + 0xf0]
lea edx, [esp + 0x64]
push edx
push eax
mov ecx, ebp
call fcn.00448300
mov ecx, eax
call fcn.0044e5f0
mov eax, dword [esp + 0x6c]
inc eax
mov dword [esp + 0x3c], eax
push 0
push 1
lea ecx, [esi + 0x458]
push ecx
lea edx, [esp + 0x40]
push edx
push edi
call fcn.00468510
mov ecx, eax
call fcn.00467e50
mov eax, dword [esi + 0x500]
cmp eax, 0xffffffff
jne 0x48cf87
mov esi, dword [esi + 0x4fc]
jmp 0x48cf89
mov esi, eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
sub ecx, eax
push esi
sub ecx, 7
push ecx
push 1
add eax, 5
push eax
dec edx
push edx
jmp 0x48d195
push 0xf
mov ecx, esi
call fcn.004477d0
mov edi, dword [esp + 0xa4]
push eax
lea eax, [esp + 0x14]
push eax
mov ecx, edi
call fcn.00512e11
mov ecx, dword [ebp + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.004fdb8c
test eax, eax
je 0x48d09f
push eax
lea ecx, [esp + 0x38]
call fcn.004671a0
lea edx, [esp + 0x34]
push edx
mov ecx, ebp
call fcn.00505843
mov ebx, dword [esp + 0x3c]
mov eax, dword [esp + 0x34]
push 0x10
sub ebx, eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
cmp ebx, eax
jle 0x48d013
mov eax, ebx
jmp 0x48d020
push 0x10
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [esp + 0x34]
add eax, ecx
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x40], eax
push 1
lea eax, [esi + 0x438]
push eax
lea ecx, [esp + 0x40]
push ecx
push edi
call fcn.00468510
mov ecx, eax
call fcn.00467e50
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
push edx
mov edx, dword [esp + 0x18]
lea ecx, [eax + 3]
push ecx
push edx
push eax
mov ecx, edi
call fcn.00505397
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
add eax, 3
inc ecx
dec ebx
mov dword [esp + 0x80], ebx
sub esp, 0x10
mov ebx, esp
mov dword [ebx], eax
mov eax, dword [esp + 0x90]
mov dword [ebx + 4], ecx
mov dword [ebx + 8], edx
push edi
mov ecx, esi
mov dword [ebx + 0xc], eax
call fcn.0048c090
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push 1
push 1
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x24]
push 0
push 1
mov dword [esp + 0x3c], ecx
mov ecx, dword [ebp + 0xf0]
inc eax
push 0xffffffffffffffff
mov dword [esp + 0x3c], edx
mov dword [esp + 0x38], eax
call fcn.004a2590
cmp eax, 0xffffffff
je 0x48d109
mov ebp, dword [ebp + 0xf0]
push eax
mov ecx, ebp
call fcn.00448300
add eax, 0xac
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x54], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
inc eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x2c], eax
push 0
push 0
lea eax, [esi + 0x458]
push eax
lea ecx, [esp + 0x2c]
push ecx
push edi
call fcn.00468510
mov ecx, eax
call fcn.00467e50
mov eax, dword [esi + 0x470]
cmp eax, 0xffffffff
jne 0x48d137
mov eax, dword [esi + 0x46c]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x30]
sub edx, eax
sub edx, ecx
mov ecx, dword [esp + 0x20]
lea edx, [edx + ecx - 2]
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x30]
sub edx, ecx
push edx
push eax
push ecx
mov ecx, edi
call fcn.00513293
mov eax, dword [esi + 0x500]
cmp eax, 0xffffffff
jne 0x48d178
mov esi, dword [esi + 0x4fc]
jmp 0x48d17a
mov esi, eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push esi
sub ecx, eax
push 1
sub ecx, 7
push ecx
dec edx
push edx
add eax, 5
push eax
mov ecx, edi
call fcn.00513293
mov ecx, edi
push 0
call fcn.005057b7
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x90
ret 8