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

Disassembly:
push 0xffffffffffffffff
push 0x4b7a48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0x44
call fcn.004aa6ea
mov ebx, dword [esp + 0x90]
sub esp, 0xc
mov ebp, esp
xor edx, edx
xor edi, edi
mov dword [eax + 0x2c], ebx
mov ecx, dword [esi + 0x13f]
mov dword [ebp], edx
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x143]
mov dword [ebp + 4], edi
mov dword [ebp + 8], ecx
mov dword [ebp + 0xc], eax
mov eax, dword [esp + 0x20]
push eax
call fcn.00460330
add esp, 4
mov ecx, dword [esi + 0x13f]
mov ebp, esp
xor edx, edx
mov eax, dword [esi + 0x143]
mov dword [ebp], edx
mov dword [ebp + 4], edi
mov dword [ebp + 8], ecx
lea ecx, [esp + 0x4c]
mov dword [ebp + 0xc], eax
call fcn.00467aa0
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x5c]
push ecx
push edx
mov dword [esp + 0x8c], edi
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x74]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x78]
mov dword [eax + 8], ecx
lea ecx, [esp + 0x44]
mov dword [eax + 0xc], edx
call fcn.00467aa0
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x34]
push eax
mov byte [esp + 0x88], 1
call fcn.00467b00
lea ecx, [esp + 0x34]
push ecx
mov ecx, ebx
call fcn.004adb9c
mov eax, dword [0x4d6884]
test eax, eax
jne 0x4511a4
xor ecx, ecx
jmp 0x4511a7
mov ecx, dword [eax + 4]
mov edi, dword [esp + 0x38]
mov edx, dword [ebx + 4]
lea eax, [esp + 0x34]
push ecx
neg eax
sbb eax, eax
and eax, edi
push eax
push edx
call dword [sym.imp.GDI32.dll_FillRgn]
lea eax, [esp + 0x3c]
mov ecx, ebx
push eax
call fcn.004adb9c
mov eax, dword [esi + 0x49]
mov edi, dword [esp + 0x94]
test eax, eax
je 0x451260
mov ecx, dword [esi + 0x147]
test ecx, ecx
je 0x4511ec
mov ecx, dword [ecx + 4]
push ecx
mov ecx, dword [eax + 4]
push ecx
call fcn.004ad796
sub esp, 0x10
mov edx, edi
mov dword [esp + 0x28], eax
mov eax, esp
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
lea ecx, [esp + 0x54]
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
call fcn.00467aa0
mov ecx, dword [esi + 0x49]
lea eax, [esp + 0x44]
push eax
mov byte [esp + 0x88], 2
call fcn.004adb9c
mov edx, dword [esp + 0x10]
mov ecx, dword [esi + 0x49]
mov dword [esp + 0x44], vtable.CGdiObject.0
mov dword [edx + 0x2c], ecx
lea ecx, [esp + 0x44]
mov byte [esp + 0x84], 3
call fcn.004ae09f
mov byte [esp + 0x84], 1
mov eax, dword [0x4d5a20]
test eax, eax
jne 0x451288
mov eax, dword [0x4d5a24]
test eax, eax
jne 0x451288
mov eax, dword [0x4d5a28]
test eax, eax
jne 0x451288
mov eax, dword [0x4d5a2c]
test eax, eax
je 0x451321
mov eax, dword [esi + 0x258]
lea ecx, [esp + 0x2c]
push eax
push 1
push 0
call fcn.004ae0b5
mov ecx, dword [0x4d6884]
mov ebp, dword [esp + 0x10]
push ecx
mov byte [esp + 0x88], 4
mov ecx, dword [ebp + 0x2c]
call fcn.004ad7e9
mov ecx, dword [ebp + 0x2c]
lea edx, [esp + 0x2c]
push edx
call fcn.004ad7e9
mov ecx, dword [0x4d5a2c]
mov edx, dword [0x4d5a28]
mov ebp, eax
mov eax, dword [esp + 0x10]
push ecx
mov ecx, dword [0x4d5a24]
mov eax, dword [eax + 0x2c]
push edx
mov edx, dword [0x4d5a20]
push ecx
mov eax, dword [eax + 4]
push edx
push eax
call dword [sym.imp.GDI32.dll_Rectangle]
mov ecx, dword [esp + 0x10]
push ebp
mov ecx, dword [ecx + 0x2c]
call fcn.004ad7e9
mov dword [esp + 0x2c], vtable.CGdiObject.0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x84], 5
call fcn.004ae09f
mov byte [esp + 0x84], 1
mov edx, dword [esp + 0x10]
push edi
push edx
mov ecx, esi
call fcn.0044ff50
mov eax, dword [esi + 0x80c]
test eax, eax
je 0x4513a7
test byte [eax + 0x2a], 8
je 0x4513a7
lea eax, [esi + 0x848]
sub esp, 0x10
mov ecx, esp
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0x3c]
call fcn.00467aa0
mov ecx, dword [eax + 4]
push edi
push ecx
call dword [sym.imp.GDI32.dll_RectInRegion]
mov ebp, eax
mov dword [esp + 0x2c], vtable.CGdiObject.0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x84], 6
call fcn.004ae09f
test ebp, ebp
mov byte [esp + 0x84], 1
je 0x4513a7
mov edx, dword [esp + 0x10]
push edi
push edx
mov ecx, esi
call fcn.00450f90
mov ecx, dword [esi + 0x49]
test ecx, ecx
je 0x451445
mov eax, dword [esi + 0x79]
test eax, eax
jne 0x451445
lea eax, [esp + 0x3c]
push eax
call fcn.004adb9c
cmp dword [esp + 0x90], 0x58
jne 0x4513fe
mov ecx, dword [edi + 4]
mov edx, dword [edi]
mov eax, dword [edi + 0xc]
mov edi, dword [edi + 8]
mov ebp, dword [esi + 0x49]
sub eax, ecx
sub edi, edx
test ebp, ebp
je 0x4513ea
mov ebp, dword [ebp + 4]
push 0xcc0020
push ecx
mov ecx, dword [ebx + 4]
push edx
push ebp
push eax
push edi
push 0
push 0
push ecx
jmp 0x451427
mov eax, dword [edi + 4]
mov ecx, dword [edi]
mov edx, dword [edi + 0xc]
mov edi, dword [edi + 8]
mov ebp, dword [esi + 0x49]
sub edx, eax
sub edi, ecx
test ebp, ebp
je 0x451417
mov ebp, dword [ebp + 4]
push 0xcc0020
push eax
push ecx
push ebp
push edx
mov edx, dword [ebx + 4]
push edi
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x49]
test eax, eax
je 0x45143b
mov eax, dword [eax + 4]
push eax
mov eax, dword [ecx + 4]
push eax
call fcn.004ad796
cmp dword [esi + 0x89], 1
jne 0x451598
mov eax, dword [esi + 0x49]
test eax, eax
je 0x451a25
mov eax, dword [esi + 0x79]
test eax, eax
jne 0x451598
mov eax, dword [esi + 0xe2]
dec eax
js 0x451573
mov ecx, eax
shl ecx, 5
inc eax
mov dword [esp + 0x94], ecx
mov dword [esp + 0x90], eax
mov edx, dword [esi + 0xda]
lea eax, [edx + ecx]
mov dl, byte [edx + ecx + 1]
test dl, 0x80
je 0x451554
mov edi, dword [eax + 0x1c]
mov eax, dword [edi + 0x40]
mov ebx, dword [eax + 0x1c]
mov edx, dword [eax + 0x14]
mov ebp, dword [eax + 0x20]
mov ecx, dword [eax + 0x18]
mov eax, dword [edi + 0x59]
sub ebx, edx
sub ebp, ecx
test eax, eax
je 0x451513
mov al, byte [edi + 0x66]
test al, al
jne 0x451513
push 5
call dword [sym.imp.USER32.dll_GetSystemMetrics]
lea ebx, [ebx + eax*2]
mov eax, dword [edi + 0x40]
mov dword [esp + 0x1c], ebx
mov cl, byte [eax + 0x4e]
test cl, cl
jne 0x4514f1
mov cl, byte [eax + 0x4f]
test cl, cl
jne 0x4514f1
push 6
call dword [sym.imp.USER32.dll_GetSystemMetrics]
lea ebp, [ebp + eax*2 + 0x35]
jmp 0x451513
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 6
call ebx
mov edx, eax
push 4
mov dword [esp + 0x18], edx
call ebx
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
add eax, ebp
lea ebp, [eax + ecx*2 + 0x35]
mov eax, dword [edi + 0x40]
mov ecx, dword [edi + 0x1c]
push 0x14
push ebp
mov edx, dword [eax + 0x18]
mov eax, dword [eax + 0x14]
push ebx
push edx
push eax
push 0
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp byte [edi + 0x45], 4
jne 0x45153c
mov ecx, dword [edi + 0x73]
call fcn.00407730
mov edx, dword [edi + 0x1c]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [esp + 0x94]
mov ebx, dword [esp + 0x8c]
mov eax, dword [esp + 0x90]
sub ecx, 0x20
dec eax
mov dword [esp + 0x94], ecx
mov dword [esp + 0x90], eax
jne 0x451489
mov eax, dword [esi + 0x9d]
xor edi, edi
cmp eax, edi
je 0x451592
mov ecx, dword [0x4d6888]
push 5
call fcn.004aa573
mov dword [esi + 0x9d], edi
mov dword [esi + 0x89], edi
mov eax, dword [esi + 0x49]
test eax, eax
je 0x451a25
cmp dword [esi + 0x79], 1
jne 0x451a25
lea eax, [esp + 0x3c]
mov ecx, ebx
push eax
call fcn.004adb9c
mov ecx, dword [0x4d6884]
push ecx
mov ecx, ebx
call fcn.004ad7e9
mov ecx, dword [esi + 0x13f]
mov edx, dword [ebx + 4]
mov edi, eax
mov eax, dword [esi + 0x143]
push 0xf00021
push eax
push ecx
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_PatBlt]
push edi
mov ecx, ebx
call fcn.004ad7e9
mov eax, dword [0x4d6ddc]
push 0
push 0
push 0x468
mov eax, dword [eax + 0xc0]
add eax, 0x494
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esi + 0x81]
mov dword [esp + 0x94], eax
fild dword [esp + 0x94]
mov eax, dword [esi + 0x7d]
test eax, eax
fst dword [esp + 0x94]
fstp dword [esi + 0xa1]
je 0x451640
mov eax, dword [eax + 4]
mov edx, dword [ecx + 4]
push eax
push edx
call fcn.004ad796
mov edi, eax
mov eax, dword [esi + 0x85]
test eax, eax
mov dword [esp + 0x2c], edi
jne 0x4519db
mov edi, dword [esi + 0x13f]
mov eax, edi
cdq
fild dword [esi + 0x8d]
sub eax, edx
sar eax, 1
neg eax
mov dword [esp + 0x90], eax
fild dword [esp + 0x90]
fdiv dword [esp + 0x94]
fadd st(1)
call fcn.00496fa4
mov dword [esp + 0x6c], eax
mov eax, edi
cdq
sub eax, edx
sar eax, 1
sub edi, eax
mov dword [esp + 0x90], edi
fild dword [esp + 0x90]
fdiv dword [esp + 0x94]
fadd st(1)
call fcn.00496fa4
mov edi, dword [esi + 0x143]
mov ebx, eax
mov eax, edi
cdq
fstp st(0)
fild dword [esi + 0x91]
sub eax, edx
sar eax, 1
neg eax
mov dword [esp + 0x90], eax
fild dword [esp + 0x90]
fdiv dword [esp + 0x94]
fadd st(1)
call fcn.00496fa4
mov ebp, eax
mov eax, edi
cdq
sub eax, edx
sar eax, 1
sub edi, eax
mov dword [esp + 0x90], edi
fild dword [esp + 0x90]
fdiv dword [esp + 0x94]
fadd st(1)
call fcn.00496fa4
mov ecx, dword [esi + 0x1c]
mov edi, eax
lea eax, [esp + 0x4c]
push eax
push ecx
fstp st(0)
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
mov dword [esp + 0x94], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x90]
cmp edx, ecx
jg 0x451753
mov ecx, edx
mov dword [esp + 0x54], ecx
mov edx, dword [esp + 0x58]
cmp eax, edx
jg 0x451761
mov edx, eax
mov dword [esp + 0x58], edx
mov eax, dword [esp + 0x6c]
test eax, eax
jge 0x451781
mov ecx, dword [esi + 0x8d]
sub ebx, eax
sub ecx, eax
xor eax, eax
mov dword [esi + 0x8d], ecx
mov dword [esp + 0x6c], eax
jmp 0x45179f
cmp ebx, ecx
jle 0x45179f
mov edx, ecx
sub edx, ebx
add dword [esi + 0x8d], edx
mov edx, ecx
sub edx, ebx
mov ebx, ecx
add eax, edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x6c], eax
test ebp, ebp
jge 0x4517b7
mov edx, dword [esi + 0x91]
sub edi, ebp
sub edx, ebp
xor ebp, ebp
mov dword [esi + 0x91], edx
jmp 0x4517cd
cmp edi, edx
jle 0x4517cd
mov ecx, edx
sub ecx, edi
add dword [esi + 0x91], ecx
mov ecx, edx
sub ecx, edi
mov edi, edx
add ebp, ecx
mov ecx, dword [esi + 0x143]
mov edx, dword [esi + 0x81]
sub ebx, eax
mov eax, dword [esi + 0x49]
sub edi, ebp
test eax, eax
je 0x4517e7
mov eax, dword [eax + 4]
push 0xcc0020
push edi
mov edi, dword [esp + 0x74]
mov edx, dword [edx + 4]
push ebx
push ebp
push edi
push eax
mov eax, dword [esi + 0x13f]
push ecx
push eax
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_StretchBlt]
mov eax, dword [esi + 0xe2]
dec eax
js 0x45199d
mov ecx, eax
shl ecx, 5
inc eax
mov dword [esp + 0x90], ecx
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0xda]
add eax, ecx
test byte [eax + 1], 0x80
je 0x451984
mov edi, dword [eax + 0x1c]
mov edx, dword [esi + 0x8d]
mov eax, dword [esi + 0x13f]
mov ebp, dword [edi + 0x40]
mov ebx, dword [ebp + 0x14]
mov ecx, ebx
sub ecx, edx
mov dword [esp + 0x1c], ecx
fild dword [esp + 0x1c]
cdq
fmul dword [esp + 0x94]
sub eax, edx
sar eax, 1
mov dword [esp + 0x1c], eax
fiadd dword [esp + 0x1c]
call fcn.00496fa4
mov edx, dword [esi + 0x91]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x20], eax
sub eax, edx
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x143]
fild dword [esp + 0x1c]
cdq
fmul dword [esp + 0x94]
sub eax, edx
sar eax, 1
mov dword [esp + 0x1c], eax
fiadd dword [esp + 0x1c]
call fcn.00496fa4
mov edx, dword [ebp + 0x1c]
mov dword [esp + 0x24], eax
sub edx, ebx
mov dword [esp + 0x1c], edx
fild dword [esp + 0x1c]
fmul dword [esp + 0x94]
call fcn.00496fa4
mov ecx, dword [esp + 0x20]
mov ebx, eax
mov eax, dword [ebp + 0x20]
sub eax, ecx
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fmul dword [esp + 0x94]
call fcn.00496fa4
mov ebp, eax
mov eax, dword [edi + 0x59]
test eax, eax
je 0x45194b
mov al, byte [edi + 0x66]
test al, al
jne 0x45194b
push 5
call dword [sym.imp.USER32.dll_GetSystemMetrics]
lea ebx, [ebx + eax*2]
mov eax, dword [edi + 0x40]
mov dword [esp + 0x1c], ebx
mov cl, byte [eax + 0x4e]
test cl, cl
jne 0x451929
mov cl, byte [eax + 0x4f]
test cl, cl
jne 0x451929
push 6
call dword [sym.imp.USER32.dll_GetSystemMetrics]
lea ebp, [ebp + eax*2 + 0x35]
jmp 0x45194b
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 6
call ebx
mov edx, eax
push 4
mov dword [esp + 0x24], edx
call ebx
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
add eax, ebp
lea ebp, [eax + ecx*2 + 0x35]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov ecx, dword [edi + 0x1c]
push 0x14
push ebp
push ebx
push edx
push eax
push 0
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp byte [edi + 0x45], 4
jne 0x451973
mov ecx, dword [edi + 0x73]
call fcn.00407730
mov edx, dword [edi + 0x1c]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [esp + 0x90]
mov eax, dword [esp + 0x14]
sub ecx, 0x20
dec eax
mov dword [esp + 0x90], ecx
mov dword [esp + 0x14], eax
jne 0x451829
mov eax, dword [0x4d6888]
mov eax, dword [eax + 0x1c]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov dword [esi + 0x9d], eax
mov ecx, dword [0x4d6888]
push 0
call fcn.004aa573
mov edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x8c]
mov eax, 1
mov dword [esi + 0x89], eax
mov dword [esi + 0x85], eax
mov eax, dword [esi + 0x81]
mov ecx, dword [esi + 0x143]
mov edx, dword [esi + 0x13f]
test eax, eax
je 0x4519f4
mov eax, dword [eax + 4]
push 0xcc0020
push 0
push 0
push eax
push ecx
mov ecx, dword [ebx + 4]
push edx
push 0
push 0
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 0x81]
test edi, edi
je 0x451a1b
mov edi, dword [edi + 4]
mov edx, dword [eax + 4]
push edi
push edx
call fcn.004ad796
mov eax, dword [esp + 0x18]
mov esi, dword [esi + 0x49]
test eax, eax
je 0x451a33
mov eax, dword [eax + 4]
push eax
mov eax, dword [esi + 4]
push eax
call fcn.004ad796
mov ecx, dword [esp + 0x10]
push ecx
call fcn.004aa713
mov esi, vtable.CGdiObject.0
add esp, 4
mov dword [esp + 0x34], esi
lea ecx, [esp + 0x34]
mov byte [esp + 0x84], 7
call fcn.004ae09f
mov dword [esp + 0x3c], esi
lea ecx, [esp + 0x3c]
mov dword [esp + 0x84], 8
call fcn.004ae09f
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x78
ret 0xc