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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5806e8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x5eabd8]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov dword [esp + 0x18], ecx
mov ecx, dword [0x6e90d0]
xor eax, eax
mov dword [esp + 0x14], eax
cmp ecx, 0x40047
jb 0x4fe161
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
mov edi, eax
jmp 0x4fe166
mov edx, dword [ebp + 8]
mov edi, dword [edx]
mov dword [esp + 0x68], eax
cmp ecx, 0x40047
jae 0x4fe176
mov dword [esp + 0x68], edi
mov eax, dword [edi]
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x5c], eax
mov ecx, dword [edi + 4]
mov dword [esp + 0x60], ecx
mov ecx, esi
mov dword [esp + 0x64], 0x807b
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 1
call fcn.00482498
mov ecx, esi
test eax, eax
je 0x4fe1b2
call fcn.00478f72
jmp 0x4fe1b7
call fcn.0047827d
mov ecx, dword [esp + 0x60]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
lea edx, [esp + 0x5c]
push edx
mov edx, dword [eax + 0x20]
push ecx
push 0x4e
push edx
call ebx
cmp dword [edi + 0xc], 1
jne 0x4fe1fb
mov eax, dword [esi + 0x20]
push 0
push 0
push 0x418
push eax
call ebx
test eax, eax
jle 0x4fe1fb
mov edx, dword [esi]
mov edx, dword [edx + 0x184]
lea eax, [esp + 0x24]
push eax
push 0
mov ecx, esi
call edx
cmp dword [esp + 0x70], 0
jne 0x4fe222
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edx, dword [esp + 0x6c]
mov dword [ecx], edx
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea ecx, [esp + 0x34]
call fcn.0047f24e
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x10]
push ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x84], 0
call fcn.0047f8fd
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
sub eax, 1
je 0x4fe85f
sub eax, 0x10000
je 0x4fe41a
sub eax, 1
jne 0x4fe9bf
mov ecx, dword [edi + 0x24]
push ecx
mov ecx, esi
call fcn.004920d5
mov edx, dword [esi + 0x20]
push 0
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x24]
push eax
push 0x40c
push edx
call ebx
test eax, eax
jne 0x4fe3cd
mov ecx, esi
call fcn.004db7e0
test eax, eax
je 0x4fe3cd
mov ebx, dword [esp + 0x14]
push ebx
mov ecx, esi
call fcn.00492168
test al, 8
je 0x4fe3d1
lea eax, [edi + 0x14]
push eax
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
mov ecx, esi
call fcn.004db8f0
mov edx, dword [esp + 0x2c]
sub edx, eax
mov eax, dword [edi + 0x28]
mov dword [esp + 0x24], edx
test al, 8
je 0x4fe317
test al, 0x40
je 0x4fe30f
mov eax, dword [esi + 0x108]
cmp eax, 0xff000000
je 0x4fe3d1
push eax
lea ecx, [esp + 0x20]
call fcn.0047fe17
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x28]
push ecx
jmp 0x4fe38e
mov eax, dword [esi + 0x10c]
jmp 0x4fe373
test al, 0x40
je 0x4fe369
test al, 1
je 0x4fe346
mov eax, dword [esi + 0x108]
cmp eax, 0xff000000
je 0x4fe3d1
push eax
lea ecx, [esp + 0x20]
call fcn.0047fe17
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x28]
push edx
jmp 0x4fe38e
mov eax, dword [esi + 0x104]
cmp eax, 0xff000000
je 0x4fe3d1
push eax
lea ecx, [esp + 0x20]
call fcn.0047fe17
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x28]
push ecx
jmp 0x4fe38e
test al, 1
je 0x4fe3aa
mov eax, dword [esi + 0x108]
cmp eax, 0xff000000
je 0x4fe3d1
push eax
lea ecx, [esp + 0x20]
call fcn.0047fe17
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x3c]
call fcn.004c7d20
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], vtable.CBrush.0
call fcn.0041e040
jmp 0x4fe3d1
mov eax, dword [esi + 0x100]
cmp eax, 0xff000000
je 0x4fe3d1
push eax
lea ecx, [esp + 0x20]
call fcn.0047fe17
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x28]
push edx
jmp 0x4fe38e
mov ebx, dword [esp + 0x14]
cmp ebx, dword [esi + 0x134]
jne 0x4fe9bf
push ebx
mov ecx, esi
call fcn.004de800
test eax, eax
jne 0x4fe9bf
mov eax, dword [esi]
mov edx, dword [eax + 0x184]
lea ecx, [esp + 0x44]
push ecx
push ebx
mov ecx, esi
call edx
mov eax, dword [esi]
mov eax, dword [eax + 0x1bc]
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x38]
push edx
mov ecx, esi
call eax
jmp 0x4fe9bf
mov ecx, edx
mov edx, dword [ecx]
lea ebx, [edi + 0x14]
push ebx
lea eax, [esp + 0x48]
push eax
mov dword [edx], 0x10
call dword [sym.imp.USER32.dll_CopyRect]
push ebx
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [edi + 0x24]
mov edx, dword [esi + 0x20]
push 0
push eax
push 0x40c
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jne 0x4fe9bf
mov eax, dword [edi + 0x28]
test al, 8
je 0x4fe619
test al, 0x40
je 0x4fe544
mov eax, dword [esi + 0xe8]
cmp eax, 0xff000000
je 0x4fe49c
cmp dword [0x6e90d0], 0x40047
jb 0x4fe491
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x3c], eax
jmp 0x4fe49c
mov edx, dword [edi + 0x10]
push eax
push edx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esi + 0x108]
cmp eax, 0xff000000
je 0x4fe503
push eax
lea ecx, [esp + 0x20]
call fcn.0047fe17
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x3c]
call fcn.004c7d20
mov eax, 1
add dword [esp + 0x24], eax
add dword [esp + 0x28], eax
sub dword [esp + 0x2c], eax
sub dword [esp + 0x30], eax
cmp dword [0x6e90d0], 0x40047
jb 0x4fe4f2
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
or dword [eax], 0x10000
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], vtable.CBrush.0
call fcn.0041e040
mov esi, dword [esi + 0xf8]
cmp esi, 0xff000000
je 0x4fe9bf
push esi
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x3c]
call fcn.004870e6
cmp dword [0x6e90d0], 0x40047
jb 0x4fe9bf
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
or dword [eax], 0x100000
jmp 0x4fe9bf
mov eax, dword [esi + 0xec]
cmp eax, 0xff000000
je 0x4fe571
cmp dword [0x6e90d0], 0x40047
jb 0x4fe566
mov edx, dword [esp + 0x14]
mov dword [edx + 0x3c], eax
jmp 0x4fe571
push eax
mov eax, dword [edi + 0x10]
push eax
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esi + 0x10c]
cmp eax, 0xff000000
je 0x4fe5d8
push eax
lea ecx, [esp + 0x20]
call fcn.0047fe17
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0x3c]
call fcn.004c7d20
mov eax, 1
add dword [esp + 0x24], eax
add dword [esp + 0x28], eax
sub dword [esp + 0x2c], eax
sub dword [esp + 0x30], eax
cmp dword [0x6e90d0], 0x40047
jb 0x4fe5c7
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
or dword [eax], 0x10000
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], vtable.CBrush.0
call fcn.0041e040
mov esi, dword [esi + 0xfc]
cmp esi, 0xff000000
je 0x4fe9bf
push esi
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x3c]
call fcn.004870e6
cmp dword [0x6e90d0], 0x40047
jb 0x4fe9bf
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
or dword [eax], 0x100000
jmp 0x4fe9bf
test al, 0x40
je 0x4fe6e3
test al, 1
jne 0x4fe6eb
mov eax, dword [esi + 0xe4]
cmp eax, 0xff000000
je 0x4fe656
cmp dword [0x6e90d0], 0x40047
jb 0x4fe64b
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x3c], eax
jmp 0x4fe656
mov edx, dword [edi + 0x10]
push eax
push edx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esi + 0x104]
cmp eax, 0xff000000
je 0x4fe6bd
push eax
lea ecx, [esp + 0x20]
call fcn.0047fe17
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x3c]
call fcn.004c7d20
mov eax, 1
add dword [esp + 0x24], eax
add dword [esp + 0x28], eax
sub dword [esp + 0x2c], eax
sub dword [esp + 0x30], eax
cmp dword [0x6e90d0], 0x40047
jb 0x4fe6ac
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
or dword [eax], 0x10000
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], vtable.CBrush.0
call fcn.0041e040
mov esi, dword [esi + 0xf4]
cmp esi, 0xff000000
je 0x4fe9bf
push esi
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x3c]
call fcn.004870e6
jmp 0x4fe9bf
test al, 1
je 0x4fe7a5
mov eax, dword [esi + 0xe8]
cmp eax, 0xff000000
je 0x4fe718
cmp dword [0x6e90d0], 0x40047
jb 0x4fe70d
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x3c], eax
jmp 0x4fe718
mov edx, dword [edi + 0x10]
push eax
push edx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esi + 0x108]
cmp eax, 0xff000000
je 0x4fe77f
push eax
lea ecx, [esp + 0x20]
call fcn.0047fe17
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x3c]
call fcn.004c7d20
mov eax, 1
add dword [esp + 0x24], eax
add dword [esp + 0x28], eax
sub dword [esp + 0x2c], eax
sub dword [esp + 0x30], eax
cmp dword [0x6e90d0], 0x40047
jb 0x4fe76e
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
or dword [eax], 0x10000
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], vtable.CBrush.0
call fcn.0041e040
mov esi, dword [esi + 0xf8]
cmp esi, 0xff000000
je 0x4fe9bf
push esi
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x3c]
call fcn.004870e6
jmp 0x4fe9bf
mov eax, dword [esi + 0xe0]
cmp eax, 0xff000000
je 0x4fe7d2
cmp dword [0x6e90d0], 0x40047
jb 0x4fe7c7
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x3c], eax
jmp 0x4fe7d2
mov edx, dword [edi + 0x10]
push eax
push edx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esi + 0x100]
cmp eax, 0xff000000
je 0x4fe839
push eax
lea ecx, [esp + 0x20]
call fcn.0047fe17
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x3c]
call fcn.004c7d20
mov eax, 1
add dword [esp + 0x24], eax
add dword [esp + 0x28], eax
sub dword [esp + 0x2c], eax
sub dword [esp + 0x30], eax
cmp dword [0x6e90d0], 0x40047
jb 0x4fe828
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
or dword [eax], 0x10000
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], vtable.CBrush.0
call fcn.0041e040
mov esi, dword [esi + 0xf0]
cmp esi, 0xff000000
je 0x4fe9bf
push esi
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x3c]
call fcn.004870e6
jmp 0x4fe9bf
push esi
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x20]
call fcn.004f2ba0
cmp dword [0x6e90d0], 0x40047
jae 0x4fe96c
mov edx, dword [esi + 0x20]
push 0
push 0
push 0x439
push edx
call ebx
test eax, 0x800
je 0x4fe96c
cmp dword [esi + 0xcc], 0
je 0x4fe96c
mov eax, dword [esi + 0x20]
xor edi, edi
push edi
push edi
push 0x418
push eax
call ebx
test eax, eax
jle 0x4fe96c
lea esp, [esp]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x24]
push eax
push edi
mov ecx, esi
call fcn.0049226f
mov ecx, dword [esp + 0x18]
mov eax, ecx
shr eax, 0x10
cmp cx, 1
jne 0x4fe954
cmp ax, 8
je 0x4fe954
test al, 0x20
jne 0x4fe91e
mov edx, dword [esi]
mov edx, dword [edx + 0x184]
lea eax, [esp + 0x44]
push eax
push edi
mov ecx, esi
call edx
mov eax, dword [esi]
mov eax, dword [eax + 0x1b4]
dec dword [esp + 0x48]
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x38]
push edx
mov ecx, esi
call eax
jmp 0x4fe954
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
lea ecx, [esp + 0x28]
call fcn.0047fe17
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0x3c]
call fcn.0047f22e
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], vtable.CBrush.0
call fcn.0041e040
mov eax, dword [esi + 0x20]
push 0
push 0
push 0x418
push eax
inc edi
call ebx
cmp edi, eax
jl 0x4fe8c0
mov edi, dword [esi + 0x134]
cmp edi, 0xffffffff
je 0x4fe9b4
lea ecx, [esp + 0x44]
push ecx
push edi
lea ecx, [esi + 0x230]
call fcn.004de4e0
test eax, eax
je 0x4fe9b4
mov edx, dword [esi]
mov edx, dword [edx + 0x184]
lea eax, [esp + 0x44]
push eax
push edi
mov ecx, esi
call edx
mov eax, dword [esi]
mov eax, dword [eax + 0x1bc]
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x38]
push edx
mov ecx, esi
call eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov dword [edx], 0x30
lea ecx, [esp + 0x34]
call fcn.0047f933
lea ecx, [esp + 0x34]
mov dword [esp + 0x80], 0xffffffff
call fcn.0047f97c
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc