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

Disassembly:
push 0xffffffffffffffff
push 0x5d2248
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push ebp
push esi
push edi
mov eax, dword [0x613ad0]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
cmp dword [esi + 0x9c], eax
jle 0x462b42
mov edx, dword [esp + 0x7c]
jmp 0x462450
test eax, eax
jl 0x462824
cmp eax, dword [esi + 0x9c]
jge 0x462824
mov ecx, dword [esi + 0x98]
mov ebp, dword [ecx + eax*4]
cmp dword [ebp + 0xc], edx
lea ecx, [ecx + eax*4]
jne 0x46247e
cmp dword [ebp + 0x108], 0
jne 0x46248e
add eax, 1
cmp eax, dword [esi + 0x9c]
jl 0x462450
jmp 0x462b42
push 0xffff
push 2
push 0
lea ecx, [esp + 0x30]
call fcn.0058f703
mov ecx, dword [esi + 0xc0]
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x78], 0
call fcn.0058f669
mov ecx, dword [esi + 0xc0]
push 7
mov dword [esp + 0x20], eax
call fcn.0058e9eb
cmp dword [ebp + 0x10c], 0
mov dword [esp + 0x20], eax
je 0x4624e1
mov eax, dword [ebp + 0x108]
mov ebx, dword [eax + 0x44]
jmp 0x4624e7
mov ebx, dword [ebp + 0x108]
cmp dword [ebx + 0x48], 0
mov edi, dword [sym.imp.USER32.dll_InflateRect]
je 0x462628
push 0
lea ecx, [esp + 0x60]
push ecx
mov ecx, ebx
call fcn.00431250
mov ecx, dword [ebx + 0x48]
push 1
lea edx, [esp + 0x50]
push edx
call fcn.00431250
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x68]
mov dword [esp + 0x3c], eax
lea eax, [edx + ecx]
mov ecx, dword [esp + 0x50]
cdq
sub eax, edx
mov edx, dword [esp + 0x58]
sar eax, 1
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x44], eax
lea eax, [edx + ecx]
cdq
sub eax, edx
sar eax, 1
push 2
mov dword [esp + 0x4c], eax
push 2
lea eax, [esp + 0x54]
push eax
call edi
push 2
push 2
lea ecx, [esp + 0x64]
push ecx
call edi
mov ecx, dword [esi + 0xc0]
lea edx, [esp + 0x4c]
push edx
call fcn.0058eab4
mov ecx, dword [esi + 0xc0]
lea eax, [esp + 0x5c]
push eax
call fcn.0058eab4
push 0xfffffffffffffffe
push 0xfffffffffffffffe
lea ecx, [esp + 0x54]
push ecx
call edi
push 0xfffffffffffffffe
push 0xfffffffffffffffe
lea edx, [esp + 0x64]
push edx
call edi
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x48]
cmp eax, ecx
push eax
jle 0x4625ce
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x44], ecx
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esi + 0xc0]
call fcn.0058efb2
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
push edx
push eax
jmp 0x4625ed
mov ecx, dword [esp + 0x40]
push ecx
mov ecx, dword [esi + 0xc0]
lea edx, [esp + 0x1c]
push edx
call fcn.0058efb2
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
push eax
push ecx
mov ecx, dword [esi + 0xc0]
call fcn.0058eb38
mov ecx, dword [esi + 0xc0]
push 0
call fcn.0058ef72
push 2
push 2
lea edx, [esp + 0x44]
push edx
call edi
mov ecx, dword [esi + 0x20]
push 1
lea eax, [esp + 0x40]
push eax
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov dword [ebx + 0x48], 0
cmp dword [ebp + 0x10c], 0
je 0x46263d
mov edx, dword [ebp + 0x108]
mov dword [esp + 0x7c], edx
jmp 0x46264a
mov eax, dword [ebp + 0x108]
mov ecx, dword [eax + 0x44]
mov dword [esp + 0x7c], ecx
xor ecx, ecx
cmp dword [ebp + 0xb4], ecx
mov dword [esp + 0x14], ecx
jle 0x4627f9
test ecx, ecx
jl 0x462824
cmp ecx, dword [ebp + 0xb4]
jge 0x462824
mov edx, dword [ebp + 0xb0]
mov ebx, dword [edx + ecx*4]
lea eax, [edx + ecx*4]
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x4627e6
mov edx, dword [eax + 0x38]
test edx, edx
je 0x46269b
mov ecx, dword [esp + 0x7c]
cmp edx, dword [ecx + 0x38]
je 0x4626b3
mov ecx, dword [esp + 0x14]
mov eax, dword [eax + 0x34]
test eax, eax
je 0x4627e6
mov edx, dword [esp + 0x7c]
cmp eax, dword [edx + 0x34]
jne 0x4627e6
push 0
lea eax, [esp + 0x60]
push eax
mov ecx, ebx
call fcn.00431250
push 1
lea ecx, [esp + 0x50]
push ecx
mov ecx, dword [ebx + 0x48]
call fcn.00431250
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
add eax, ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x3c], edx
cdq
sub eax, edx
mov edx, dword [esp + 0x4c]
sar eax, 1
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x50]
add eax, ecx
mov dword [esp + 0x44], edx
cdq
push 2
sub eax, edx
push 2
lea edx, [esp + 0x54]
sar eax, 1
push edx
mov dword [esp + 0x54], eax
call edi
push 2
push 2
lea eax, [esp + 0x64]
push eax
call edi
lea ecx, [esp + 0x4c]
push ecx
mov ecx, dword [esi + 0xc0]
call fcn.0058eab4
mov ecx, dword [esi + 0xc0]
lea edx, [esp + 0x5c]
push edx
call fcn.0058eab4
push 0xfffffffffffffffe
push 0xfffffffffffffffe
lea eax, [esp + 0x54]
push eax
call edi
push 0xfffffffffffffffe
push 0xfffffffffffffffe
lea ecx, [esp + 0x64]
push ecx
call edi
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x48]
cmp eax, ecx
push eax
jle 0x462788
mov edx, dword [esp + 0x40]
mov dword [esp + 0x4c], eax
push edx
lea eax, [esp + 0x34]
mov dword [esp + 0x48], ecx
mov ecx, dword [esi + 0xc0]
push eax
call fcn.0058efb2
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
push ecx
push edx
jmp 0x4627a7
mov eax, dword [esp + 0x40]
push eax
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [esi + 0xc0]
call fcn.0058efb2
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
push edx
push eax
mov ecx, dword [esi + 0xc0]
call fcn.0058eb38
mov ecx, dword [esi + 0xc0]
push 0
call fcn.0058ef72
push 2
push 2
lea ecx, [esp + 0x44]
push ecx
call edi
mov eax, dword [esi + 0x20]
push 1
lea edx, [esp + 0x40]
push edx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [esp + 0x14]
mov dword [ebx + 0x48], 0
add ecx, 1
cmp ecx, dword [ebp + 0xb4]
mov dword [esp + 0x14], ecx
jl 0x46265c
xor edx, edx
cmp dword [esi + 0x1c4], edx
je 0x462829
mov eax, dword [ebp + 0x108]
mov ecx, dword [eax + 0x44]
cmp eax, ecx
jne 0x462829
cmp dword [ebp + 0x10c], edx
je 0x462ad8
mov dword [ecx + 0x48], edx
jmp 0x462adb
call fcn.0057e0f5
cmp dword [ebp + 0x10c], edx
je 0x46283a
push 1
lea ecx, [esp + 0x50]
push ecx
jmp 0x462840
push edx
lea edx, [esp + 0x60]
push edx
mov ecx, dword [ebp + 0x108]
call fcn.00431250
cmp dword [ebp + 0x10c], 0
je 0x462866
mov ecx, dword [ebp + 0x108]
mov ecx, dword [ecx + 0x44]
push 0
lea eax, [esp + 0x60]
push eax
jmp 0x462876
mov eax, dword [ebp + 0x108]
mov ecx, dword [eax + 0x44]
push 1
lea edx, [esp + 0x50]
push edx
call fcn.00431250
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
push ecx
mov ecx, dword [esi + 0xc0]
push edx
lea eax, [esp + 0x3c]
push eax
call fcn.0058efb2
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
push ecx
mov ecx, dword [esi + 0xc0]
push edx
call fcn.0058eb38
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
push eax
push ecx
mov ecx, dword [esi + 0xc0]
call fcn.0058eb38
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esi + 0xc0]
push edx
push eax
call fcn.0058eb38
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
push ecx
mov ecx, dword [esi + 0xc0]
push edx
call fcn.0058eb38
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x64]
push 2
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x6c]
push 2
lea ecx, [esp + 0x44]
push ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], eax
call edi
mov eax, dword [esi + 0x20]
mov ebx, dword [sym.imp.USER32.dll_InvalidateRect]
push 1
lea edx, [esp + 0x40]
push edx
push eax
call ebx
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
push ecx
mov ecx, dword [esi + 0xc0]
push edx
lea eax, [esp + 0x3c]
push eax
call fcn.0058efb2
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
push ecx
mov ecx, dword [esi + 0xc0]
push edx
call fcn.0058eb38
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
push eax
push ecx
mov ecx, dword [esi + 0xc0]
call fcn.0058eb38
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esi + 0xc0]
push edx
push eax
call fcn.0058eb38
mov ecx, dword [esp + 0x50]
push ecx
mov edx, dword [esp + 0x50]
mov ecx, dword [esi + 0xc0]
push edx
call fcn.0058eb38
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x54]
push 2
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x5c]
push 2
lea ecx, [esp + 0x44]
push ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], eax
call edi
mov eax, dword [esi + 0x20]
push 1
lea edx, [esp + 0x40]
push edx
push eax
call ebx
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
add eax, edx
cdq
sub eax, edx
mov edx, dword [esp + 0x50]
sar eax, 1
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x58]
add eax, edx
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x4c]
cdq
push 2
mov dword [esp + 0x48], ecx
sub eax, edx
push 2
lea ecx, [esp + 0x54]
sar eax, 1
push ecx
mov dword [esp + 0x54], eax
call edi
push 2
push 2
lea edx, [esp + 0x64]
push edx
call edi
mov ecx, dword [esi + 0xc0]
lea eax, [esp + 0x4c]
push eax
call fcn.0058eab4
lea ecx, [esp + 0x5c]
push ecx
mov ecx, dword [esi + 0xc0]
call fcn.0058eab4
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x48]
cmp eax, ecx
push eax
jle 0x462a6f
mov edx, dword [esp + 0x40]
mov dword [esp + 0x4c], eax
push edx
lea eax, [esp + 0x3c]
mov dword [esp + 0x48], ecx
mov ecx, dword [esi + 0xc0]
push eax
call fcn.0058efb2
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
push ecx
push edx
jmp 0x462a8e
mov eax, dword [esp + 0x40]
push eax
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [esi + 0xc0]
call fcn.0058efb2
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
push edx
push eax
mov ecx, dword [esi + 0xc0]
call fcn.0058eb38
mov ecx, dword [esi + 0xc0]
push 0
call fcn.0058ef72
push 2
push 2
lea ecx, [esp + 0x44]
push ecx
call edi
mov eax, dword [esi + 0x20]
push 1
lea edx, [esp + 0x40]
push edx
push eax
call ebx
cmp dword [ebp + 0x10c], 0
mov eax, dword [ebp + 0x108]
je 0x462ad5
mov ecx, dword [eax + 0x44]
mov dword [ecx + 0x48], eax
jmp 0x462adb
mov edx, dword [eax + 0x44]
mov dword [eax + 0x48], edx
mov ecx, dword [ebp + 0x108]
mov edx, dword [esp + 0x1c]
xor eax, eax
mov dword [ecx + 0x44], eax
mov dword [ebp + 0x108], eax
mov ecx, dword [esi + 0xc0]
push edx
call fcn.0058f669
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 0xc0]
push eax
call fcn.0058e9eb
xor eax, eax
mov ecx, ebp
mov dword [esi + 0x1c0], eax
mov dword [esi + 0x1c4], eax
call fcn.00429500
push ebp
mov ecx, esi
call fcn.00461630
lea ecx, [esp + 0x24]
mov dword [esp + 0x74], 0xffffffff
mov dword [esp + 0x24], vtable.CPen.0
call fcn.0042f060
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 4