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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f68a0
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
push ebx
push esi
push edi
mov eax, dword [0x52e028]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x18]
push eax
call fcn.004ef4f2
lea ecx, [ebx + 0x1c]
push ecx
lea edx, [esp + 0x38]
push edx
mov esi, eax
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [ebx + 0x10]
lea ecx, [esp + 0x44]
mov dword [esp + 0x1c], eax
call fcn.004ef480
xor ebx, ebx
mov dword [esp + 0xc8], ebx
cmp esi, ebx
jne 0x460622
xor eax, eax
jmp 0x460625
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x48]
call fcn.004ef4a4
mov dword [esp + 0x64], vtable.CGdiObject.0
mov dword [esp + 0x68], ebx
mov byte [esp + 0xc8], 1
mov dword [esp + 0x64], vtable.CBitmap.0
mov byte [esp + 0xc8], 2
mov eax, dword [edi + 0x70]
mov ecx, dword [edi + 0x6c]
push eax
push ecx
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x68]
call fcn.004ef4aa
mov eax, dword [esp + 0x68]
cmp eax, ebx
je 0x46068a
mov edx, dword [esp + 0x48]
push eax
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [edi + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.004ef360
cmp eax, ebx
jne 0x4606a2
xor eax, eax
jmp 0x4606a5
mov eax, dword [eax + 0x20]
lea ecx, [esp + 0x44]
push ecx
push edi
push 0x2b0f
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, ebx
jne 0x4606c7
lea edx, [esp + 0x44]
push edx
mov esi, edi
call fcn.0045fbf0
cmp dword [edi + 0x54], 1
jne 0x4606d4
mov edx, 3
jmp 0x4606f6
cmp dword [edi + 0x68], ebx
je 0x4606e0
mov edx, 4
jmp 0x4606f6
test byte [esp + 0x1c], 1
je 0x4606ee
mov edx, 2
jmp 0x4606f6
xor edx, edx
cmp dword [edi + 0x5c], ebx
setne dl
mov eax, dword [edi + 0x5ac]
mov dword [esp + 0x18], edx
test eax, eax
je 0x460909
xor eax, eax
lea ecx, [edi + 0xf4]
cmp dword [ecx], ebx
jne 0x46080a
inc eax
add ecx, 0xd0
cmp eax, 5
jl 0x460710
mov ecx, dword [esp + 0x18]
imul ecx, ecx, 0xd0
cmp dword [edi + 0x6dc], 0
mov ebx, dword [ecx + edi + 0xb8]
lea eax, [ecx + edi]
mov dword [esp + 0x14], eax
jne 0x460909
mov eax, dword [esp + 0x48]
lea edx, [esp + 0x20]
push edx
push eax
mov dword [esp + 0x28], 0
call fcn.004f0796
mov esi, dword [esp + 0x20]
mov dword [esp + 0x78], eax
mov dword [esp + 0x74], esi
mov byte [esp + 0xc8], 3
mov ecx, dword [esp + 0x14]
movzx edx, byte [ecx + 0x180]
shl edx, 8
movzx eax, bl
or edx, eax
mov ecx, ebx
shr ecx, 8
movzx eax, cl
shl edx, 8
or edx, eax
shr ebx, 0x10
movzx ecx, bl
shl edx, 8
or edx, ecx
mov dword [esp + 0x14], edx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x28]
push eax
call fcn.00457e00
mov byte [esp + 0xc8], 4
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
sub eax, edx
push eax
sub ecx, ebx
push ecx
mov ecx, dword [esp + 0x30]
push edx
push ebx
push ecx
push esi
call fcn.004f079c
test eax, eax
je 0x4607e5
mov dword [esp + 0x78], eax
mov byte [esp + 0xc8], 3
lea edx, [esp + 0x24]
push edx
call fcn.00457ea0
mov byte [esp + 0xc8], 2
push esi
call fcn.004f0730
jmp 0x460909
mov ecx, dword [esp + 0x1c]
push ecx
cmp dword [edi + 0x6d0], ebx
je 0x4608a0
mov eax, dword [edi + 0x5b4]
test eax, eax
mov eax, edi
je 0x460865
call fcn.00461db0
imul eax, eax, 0xd0
cmp dword [eax + edi + 0x124], ebx
jne 0x460848
lea eax, [edi + 0x120]
mov esi, eax
jmp 0x4608d7
mov eax, dword [esp + 0x1c]
push eax
mov eax, edi
call fcn.00461db0
imul eax, eax, 0xd0
lea eax, [eax + edi + 0x120]
mov esi, eax
jmp 0x4608d7
call fcn.00461db0
imul eax, eax, 0xd0
cmp dword [eax + edi + 0x154], ebx
jne 0x460883
lea eax, [edi + 0x150]
mov esi, eax
jmp 0x4608d7
mov eax, dword [esp + 0x1c]
push eax
mov eax, edi
call fcn.00461db0
imul eax, eax, 0xd0
lea eax, [eax + edi + 0x150]
mov esi, eax
jmp 0x4608d7
mov eax, edi
call fcn.00461db0
imul eax, eax, 0xd0
cmp dword [eax + edi + 0xf4], ebx
jne 0x4608be
lea esi, [edi + 0xf0]
jmp 0x4608d7
mov eax, dword [esp + 0x1c]
push eax
mov eax, edi
call fcn.00461db0
imul eax, eax, 0xd0
lea esi, [eax + edi + 0xf0]
cmp esi, ebx
je 0x460909
cmp dword [esi + 4], ebx
je 0x460909
mov eax, dword [esi + 0x10]
imul edx, edx, 0xd0
mov ecx, dword [esi + 0xc]
push eax
mov eax, dword [edi + 0x6c]
push ecx
mov ecx, dword [edi + 0x70]
push ecx
mov ecx, dword [esp + 0x54]
push eax
mov al, byte [edx + edi + 0x180]
push ebx
push ebx
push ecx
call fcn.00413a30
mov ecx, dword [edi + 0x6d8]
test ecx, ecx
je 0x460ab1
mov eax, dword [esp + 0x18]
imul eax, eax, 0xd0
cmp dword [edi + 0x6ac], 0
mov esi, dword [eax + edi + 0xbc]
jne 0x460ab1
cmp esi, 0xfffffffe
je 0x460ab1
cmp ecx, 0xf
jne 0x460979
push esi
lea ecx, [esp + 0x70]
call fcn.004ef4da
mov byte [esp + 0xc8], 5
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x48]
call fcn.0041a870
mov byte [esp + 0xc8], 2
lea ecx, [esp + 0x6c]
call fcn.0040b5b0
jmp 0x460ab1
test cl, 1
je 0x4609c4
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x34]
mov dword [esp + 0xa0], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0xa4], edx
mov dword [esp + 0x9c], eax
push esi
lea edx, [esp + 0xa0]
mov dword [esp + 0xac], ecx
inc eax
push edx
lea ecx, [esp + 0x4c]
mov dword [esp + 0xac], eax
call fcn.004ef4e6
test byte [edi + 0x6d8], 2
je 0x460a0d
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x84], eax
dec eax
mov dword [esp + 0x7c], eax
push esi
lea eax, [esp + 0x80]
mov dword [esp + 0x84], ecx
push eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0x90], edx
call fcn.004ef4e6
test byte [edi + 0x6d8], 4
je 0x460a5c
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x8c], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x94], edx
mov dword [esp + 0x90], eax
mov dword [esp + 0x98], ecx
push esi
lea edx, [esp + 0x90]
inc eax
push edx
lea ecx, [esp + 0x4c]
mov dword [esp + 0xa0], eax
call fcn.004ef4e6
test byte [edi + 0x6d8], 8
je 0x460ab1
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x34]
mov dword [esp + 0xb0], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xb8], edx
dec edx
sub ecx, 5
mov dword [esp + 0xb0], edx
push esi
lea edx, [esp + 0xb0]
add eax, 5
mov dword [esp + 0xb8], ecx
push edx
lea ecx, [esp + 0x4c]
mov dword [esp + 0xb4], eax
call fcn.004ef4e6
cmp dword [edi + 0x6d0], 0
je 0x460b4f
mov eax, dword [edi + 0x5b4]
test eax, eax
je 0x460b0d
mov ecx, dword [esp + 0x1c]
push ecx
mov eax, edi
call fcn.00461db0
imul eax, eax, 0xd0
cmp dword [eax + edi + 0x124], 0
jne 0x460aef
lea eax, [edi + 0x120]
jmp 0x460bb0
mov edx, dword [esp + 0x1c]
push edx
mov eax, edi
call fcn.00461db0
imul eax, eax, 0xd0
lea eax, [eax + edi + 0x120]
jmp 0x460bb0
mov eax, dword [esp + 0x1c]
push eax
mov eax, edi
call fcn.00461db0
imul eax, eax, 0xd0
cmp dword [eax + edi + 0x154], 0
jne 0x460b34
lea eax, [edi + 0x150]
jmp 0x460bb0
mov ecx, dword [esp + 0x1c]
push ecx
mov eax, edi
call fcn.00461db0
imul eax, eax, 0xd0
lea eax, [eax + edi + 0x150]
jmp 0x460bb0
cmp dword [edi + 0x54], 1
jne 0x460b5c
mov eax, 3
jmp 0x460b7f
cmp dword [edi + 0x68], 0
je 0x460b69
mov eax, 4
jmp 0x460b7f
test byte [esp + 0x1c], 1
je 0x460b77
mov eax, 2
jmp 0x460b7f
xor eax, eax
cmp dword [edi + 0x5c], eax
setne al
imul eax, eax, 0xd0
cmp dword [eax + edi + 0xc4], 0
jne 0x460b97
lea eax, [edi + 0xc0]
jmp 0x460bb0
mov edx, dword [esp + 0x1c]
push edx
mov eax, edi
call fcn.00461db0
imul eax, eax, 0xd0
lea eax, [eax + edi + 0xc0]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x44]
push eax
push ecx
mov eax, edi
call fcn.0045fc50
mov edx, dword [edi + 0x80]
cmp dword [edx - 0xc], 0
je 0x460bfe
cmp dword [edi + 0x60], 0
je 0x460bfe
mov eax, edx
mov ecx, dword [eax - 0xc]
lea edx, [esp + 0x54]
push edx
push ecx
push eax
mov eax, dword [esp + 0x58]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x2c], eax
test ecx, ecx
je 0x460fb4
cmp dword [ecx + 4], 0
je 0x460fb4
mov edx, dword [edi + 0x648]
test dl, 1
je 0x460fb4
cmp edx, 7
jne 0x460d4c
fld qword [edi + 0x690]
mov ecx, esi
add eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x18]
sar eax, 1
mov dword [esp + 0x6c], eax
mov eax, dword [edx + 0xc]
fild dword [esp + 0x6c]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmulp st(2)
fld qword [0x519310]
fmul st(2), st(0)
fxch st(1)
fsubrp st(2)
fxch st(1)
call fcn.004f0910
fld qword [edi + 0x690]
mov esi, eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x14], eax
fimul dword [esp + 0x14]
mov dword [esp + 0x24], esi
fiadd dword [esp + 0x24]
call fcn.004f0910
mov ecx, dword [edi + 0x80]
cmp dword [ecx - 0xc], 0
mov dword [esp + 0x2c], eax
je 0x460cea
cmp dword [edi + 0x60], 0
je 0x460cea
mov ebx, dword [edi + 0x58c]
fstp st(0)
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x10]
add ebx, 5
add eax, ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x58], eax
jmp 0x460f6c
mov eax, dword [esp + 0x30]
fld qword [edi + 0x698]
mov ecx, dword [esp + 0x18]
add eax, ebx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x14], eax
mov eax, dword [ecx + 0x10]
fild dword [esp + 0x14]
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fmulp st(2)
fxch st(1)
fmulp st(2)
fsubrp st(1)
call fcn.004f0910
fld qword [edi + 0x698]
mov edx, dword [esp + 0x18]
mov ebx, eax
mov eax, dword [edx + 0x10]
mov dword [esp + 0x14], eax
fimul dword [esp + 0x14]
mov dword [esp + 0x28], ebx
fiadd dword [esp + 0x28]
call fcn.004f0910
mov dword [esp + 0x30], eax
jmp 0x460f6c
mov edx, dword [edi + 0x4c4]
sub edx, 1
je 0x460f23
sub edx, 1
je 0x460eea
sub edx, 0xe
jne 0x460f6c
mov ecx, dword [esp + 0x38]
fld qword [edi + 0x698]
mov eax, dword [esp + 0x40]
add eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x18]
sar eax, 1
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0x10]
fild dword [esp + 0x14]
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fmulp st(2)
fld qword [0x519310]
fmul st(2), st(0)
fxch st(1)
fsubrp st(2)
fxch st(1)
call fcn.004f0910
fld qword [edi + 0x698]
mov ebx, eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x14], eax
fimul dword [esp + 0x14]
mov dword [esp + 0x28], ebx
fiadd dword [esp + 0x28]
call fcn.004f0910
mov ecx, dword [edi + 0x80]
cmp dword [ecx - 0xc], 0
mov dword [esp + 0x30], eax
je 0x460e8b
cmp dword [edi + 0x60], 0
je 0x460e8b
mov edx, dword [esp + 0x18]
fstp st(0)
mov eax, dword [edx + 0xc]
fld qword [edi + 0x690]
fld qword [edi + 0x690]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
mov eax, dword [edi + 0x588]
mov dword [esp + 0x20], eax
fmulp st(2)
fild dword [esp + 0x74]
faddp st(2)
fild dword [esp + 0x20]
faddp st(2)
fimul dword [edi + 0x598]
faddp st(1)
call fcn.004f0910
mov ecx, eax
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x34]
cmp ecx, eax
jle 0x460e4d
mov eax, dword [esp + 0x20]
cdq
sub eax, edx
sar eax, 1
add esi, eax
jmp 0x460e64
mov edx, dword [esp + 0x2c]
lea eax, [edx + esi]
cdq
sub eax, edx
mov esi, eax
mov eax, ecx
cdq
sub eax, edx
sar esi, 1
sar eax, 1
sub esi, eax
mov eax, dword [esp + 0x18]
fld qword [edi + 0x690]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x14], eax
fimul dword [esp + 0x14]
mov dword [esp + 0x24], esi
fiadd dword [esp + 0x24]
call fcn.004f0910
jmp 0x460f64
mov ecx, dword [esp + 0x2c]
fld qword [edi + 0x690]
lea eax, [ecx + esi]
cdq
sub eax, edx
mov edx, dword [esp + 0x18]
sar eax, 1
mov dword [esp + 0x6c], eax
mov eax, dword [edx + 0xc]
fild dword [esp + 0x6c]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmulp st(2)
fxch st(1)
fmulp st(2)
fsubrp st(1)
call fcn.004f0910
fld qword [edi + 0x690]
mov esi, eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x14], eax
fimul dword [esp + 0x14]
mov dword [esp + 0x24], esi
fiadd dword [esp + 0x24]
call fcn.004f0910
jmp 0x460f68
sub eax, dword [edi + 0x590]
mov edx, dword [esp + 0x30]
mov esi, dword [ecx + 0x10]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x2c], eax
lea eax, [edx + ebx]
cdq
sub eax, edx
mov ebx, eax
mov eax, esi
cdq
sub eax, edx
sar ebx, 1
sar eax, 1
sub ebx, eax
add esi, ebx
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0x2c]
sub esi, ecx
mov dword [esp + 0x5c], esi
jmp 0x460f6c
mov esi, dword [edi + 0x588]
add esi, dword [esp + 0x34]
cmp dword [edi + 0x6d0], 0
je 0x460f3e
mov ebx, dword [edi + 0x58c]
jmp 0x460f55
mov eax, dword [esp + 0x30]
add eax, ebx
cdq
sub eax, edx
mov ebx, eax
mov eax, dword [ecx + 0x10]
cdq
sub eax, edx
sar ebx, 1
sar eax, 1
sub ebx, eax
mov eax, dword [ecx + 0x10]
mov ecx, dword [ecx + 0xc]
add eax, ebx
mov dword [esp + 0x30], eax
lea eax, [ecx + esi]
mov dword [esp + 0x54], eax
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x18]
mov dword [edi + 0x6b0], esi
mov dword [edi + 0x6b4], ebx
mov dword [edi + 0x6b8], ecx
mov dword [edi + 0x6bc], eax
mov edx, dword [edx + 0x10]
push edx
mov edx, dword [esp + 0x1c]
mov edx, dword [edx + 0xc]
push edx
sub eax, ebx
push eax
mov eax, dword [esp + 0x54]
sub ecx, esi
push ecx
push ebx
push esi
mov esi, dword [esp + 0x30]
push eax
or al, 0xff
call fcn.00413a30
lea eax, [esp + 0x44]
call fcn.0045fae0
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x6c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x70]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x2c]
push eax
push edi
lea ecx, [esp + 0x5c]
call fcn.0045fda0
mov ecx, dword [esp + 0x48]
mov edx, dword [edi + 0x70]
mov eax, dword [edi + 0x6c]
push 0xcc0020
push 0
push 0
push ecx
mov ecx, dword [ebp + 8]
push edx
mov edx, dword [ecx + 0x18]
push eax
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov byte [esp + 0xc8], 0
mov dword [esp + 0x64], vtable.CBitmap.0
mov byte [esp + 0xc8], 0
lea ecx, [esp + 0x64]
call fcn.0040b760
mov dword [esp + 0xc8], 0xffffffff
lea ecx, [esp + 0x44]
call fcn.004ef486
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4