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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x5ee453
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x6731c0]
xor eax, esp
mov dword [esp + 0xc4], eax
push esi
push edi
mov eax, dword [0x6731c0]
xor eax, esp
push eax
lea eax, [esp + 0xd8]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x10c], 0
mov edi, dword [ebp + 8]
mov dword [esp + 0x10], edi
je 0x41e834
mov eax, dword [edi]
lea ecx, [esp + 0xc0]
xorps xmm0, xmm0
push ecx
mov ecx, edi
mov eax, dword [eax + 0x50]
movdqu xmmword [esp + 0xc4], xmm0
call eax
test eax, eax
je 0x41e834
push edi
mov ecx, esi
call fcn.0041c730
lea ecx, [esp + 0x7c]
call fcn.0040d720
mov dword [esp + 0xe0], 0
lea ecx, [esp + 0x7c]
push dword [esi + 0xa4]
call fcn.0041a550
cmp eax, 0x80004005
je 0x41df8f
lea eax, [esp + 0xb0]
xorps xmm0, xmm0
push eax
push dword [esi + 0x20]
movdqu xmmword [esp + 0xb8], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
cmp dword [esi + 0xa8], 0
je 0x41df39
mov eax, dword [esp + 0x88]
add eax, dword [esp + 0xb0]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x8c]
add dword [esp + 0xbc], eax
push 3
mov ecx, edi
call fcn.00460c8f
push dword [esp + 0x8c]
mov eax, dword [esp + 0xc0]
push dword [esp + 0x8c]
mov edx, dword [esp + 0xbc]
sub eax, edx
mov ecx, dword [esp + 0xb8]
sub esp, 8
push eax
mov eax, dword [esp + 0xcc]
sub eax, ecx
push eax
push edx
push ecx
push dword [edi + 4]
lea ecx, [esp + 0xa0]
call fcn.0041a370
lea ecx, [esp + 0x7c]
call fcn.0040d600
mov ecx, esi
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
call fcn.00423e20
mov ecx, esi
mov dword [esp + 0x50], eax
call fcn.00423e70
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x54]
push ecx
push eax
mov ecx, esi
call fcn.00421160
push ecx
lea eax, [esp + 0x70]
xorps xmm0, xmm0
push eax
lea eax, [esp + 0xb8]
mov ecx, esi
push eax
movdqu xmmword [esp + 0x78], xmm0
call fcn.00421280
cmp dword [esi + 0xd4], 0
je 0x41e000
lea eax, [esp + 0xb0]
mov ecx, esi
push eax
call fcn.0041c5b0
xor edx, edx
or ecx, 0xffffffff
mov dword [esp + 0xc], edx
cmp dword [esi + 0x15c], edx
jle 0x41e16c
test edx, edx
js 0x41e15b
cmp edx, dword [esi + 0x158]
jge 0x41e15b
cmp edx, dword [esi + 0x170]
jge 0x41e859
mov eax, dword [esi + 0x16c]
cmp dword [eax + edx*4], 0
jle 0x41e15b
inc ecx
mov dword [esp + 0x38], ecx
cmp edx, dword [esi + 0x170]
jge 0x41e859
mov eax, dword [eax + edx*4]
dec ecx
add ecx, eax
mov dword [esp + 0x24], 0xffffffff
xor edi, edi
mov dword [esp + 0x64], ecx
mov dword [esp + 0x40], ecx
cmp dword [esi + 0x164], edi
jle 0x41e15b
lea ebx, [ebx]
test edi, edi
js 0x41e14a
cmp edi, dword [esi + 0x160]
jge 0x41e14a
mov eax, dword [esi + 0x4f0]
mov ecx, dword [eax + edi*4]
lea eax, [eax + edi*4]
mov dword [esp + 0x30], eax
test ecx, ecx
js 0x41e859
cmp ecx, dword [esi + 0x184]
jge 0x41e859
mov eax, dword [esi + 0x180]
cmp dword [eax + ecx*4], 0
jle 0x41e14a
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x34], eax
mov ecx, dword [ecx]
test ecx, ecx
js 0x41e859
cmp ecx, dword [esi + 0x184]
jge 0x41e859
mov eax, dword [esi + 0x180]
push edi
push edx
mov eax, dword [eax + ecx*4]
mov ecx, dword [esp + 0x3c]
dec ecx
add eax, ecx
mov ecx, esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x44], eax
call fcn.0041a9c0
mov dword [esp + 0x30], eax
test eax, eax
je 0x41e146
mov edx, dword [eax]
mov ecx, eax
push edi
push dword [esp + 0x10]
call dword [edx + 0x34]
mov ecx, dword [esp + 0x30]
movdqu xmm0, xmmword [esp + 0x34]
push 0
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
push edi
push dword [esp + 0x24]
movdqu xmmword [eax], xmm0
push dword [esp + 0x2c]
call dword [edx + 0xb8]
mov edx, dword [esp + 0xc]
inc edi
cmp edi, dword [esi + 0x164]
jl 0x41e080
mov ecx, dword [esp + 0x64]
inc edx
mov dword [esp + 0xc], edx
cmp edx, dword [esi + 0x15c]
jl 0x41e015
mov eax, dword [esp + 0x50]
dec eax
mov dword [esp + 0x64], eax
mov edi, eax
mov eax, dword [esp + 0x54]
mov edx, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0xc], eax
cmp eax, dword [esp + 0xb8]
jg 0x41e314
test edx, edx
js 0x41e302
cmp edx, dword [esi + 0x158]
jge 0x41e302
cmp edx, dword [esi + 0x170]
jge 0x41e859
mov eax, dword [esi + 0x16c]
cmp dword [eax + edx*4], 0
jle 0x41e302
lea ecx, [edi + 1]
mov dword [esp + 0x38], ecx
cmp edx, dword [esi + 0x170]
jge 0x41e859
mov eax, dword [eax + edx*4]
lea edi, [ecx - 1]
add edi, eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x40], edi
cmp ecx, dword [esp + 0xcc]
jg 0x41e314
cmp edi, dword [esp + 0xc4]
jl 0x41e302
xor edi, edi
mov dword [esp + 0x24], 0xffffffff
cmp dword [esi + 0x164], edi
jle 0x41e2fe
test edi, edi
js 0x41e2f1
cmp edi, dword [esi + 0x160]
jge 0x41e2f1
mov eax, dword [esi + 0x4f0]
mov ecx, dword [eax + edi*4]
lea eax, [eax + edi*4]
mov dword [esp + 0x14], eax
test ecx, ecx
js 0x41e859
cmp ecx, dword [esi + 0x184]
jge 0x41e859
mov eax, dword [esi + 0x180]
cmp dword [eax + ecx*4], 0
jle 0x41e2f1
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x34], eax
mov ecx, dword [ecx]
test ecx, ecx
js 0x41e859
cmp ecx, dword [esi + 0x184]
jge 0x41e859
mov eax, dword [esi + 0x180]
mov eax, dword [eax + ecx*4]
mov ecx, dword [esp + 0x34]
dec eax
add eax, ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x3c], eax
cmp ecx, dword [esp + 0xc8]
jg 0x41e2fe
cmp eax, dword [esp + 0xc0]
jl 0x41e2f1
push edi
push edx
mov ecx, esi
call fcn.0041a9c0
mov dword [esp + 0x14], eax
test eax, eax
je 0x41e2ed
mov edx, dword [eax]
mov ecx, eax
push edi
push dword [esp + 0x10]
call dword [edx + 0x34]
mov ecx, dword [esp + 0x14]
movdqu xmm0, xmmword [esp + 0x34]
push 0
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
push edi
push dword [esp + 0x24]
movdqu xmmword [eax], xmm0
push dword [esp + 0x2c]
call dword [edx + 0xb8]
mov edx, dword [esp + 0xc]
inc edi
cmp edi, dword [esi + 0x164]
jl 0x41e215
mov edi, dword [esp + 0x1c]
inc edx
mov dword [esp + 0xc], edx
cmp edx, dword [esp + 0xb8]
jle 0x41e192
mov eax, dword [esp + 0x58]
xor ecx, ecx
or edi, 0xffffffff
mov dword [esp + 0xc], ecx
mov dword [esp + 0x24], eax
cmp dword [esi + 0x15c], ecx
jle 0x41e4ae
test ecx, ecx
js 0x41e49d
cmp ecx, dword [esi + 0x158]
jge 0x41e49d
cmp ecx, dword [esi + 0x170]
jge 0x41e859
mov eax, dword [esi + 0x16c]
cmp dword [eax + ecx*4], 0
jle 0x41e49d
lea edx, [edi + 1]
mov dword [esp + 0x38], edx
cmp ecx, dword [esi + 0x170]
jge 0x41e859
mov eax, dword [eax + ecx*4]
lea edi, [edx - 1]
add edi, eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x40], edi
cmp edx, dword [esp + 0xcc]
jg 0x41e4ae
cmp edi, dword [esp + 0xc4]
jl 0x41e49d
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x58]
dec edx
mov edi, eax
cmp eax, dword [esp + 0xbc]
jg 0x41e499
test edi, edi
js 0x41e487
cmp edi, dword [esi + 0x160]
jge 0x41e487
mov eax, dword [esi + 0x4f0]
mov ecx, dword [eax + edi*4]
lea eax, [eax + edi*4]
mov dword [esp + 0x1c], eax
test ecx, ecx
js 0x41e859
cmp ecx, dword [esi + 0x184]
jge 0x41e859
mov eax, dword [esi + 0x180]
cmp dword [eax + ecx*4], 0
jle 0x41e487
mov ecx, dword [esp + 0x1c]
inc edx
mov dword [esp + 0x34], edx
mov ecx, dword [ecx]
test ecx, ecx
js 0x41e859
cmp ecx, dword [esi + 0x184]
jge 0x41e859
mov eax, dword [eax + ecx*4]
dec eax
add eax, edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x3c], eax
cmp edx, dword [esp + 0xc8]
jg 0x41e495
cmp eax, dword [esp + 0xc0]
jl 0x41e483
push edi
push dword [esp + 0x10]
mov ecx, esi
call fcn.0041a9c0
mov dword [esp + 0x2c], eax
test eax, eax
je 0x41e483
mov edx, dword [eax]
mov ecx, eax
push edi
push dword [esp + 0x10]
call dword [edx + 0x34]
mov ecx, dword [esp + 0x2c]
movdqu xmm0, xmmword [esp + 0x34]
push 0
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
push edi
push dword [esp + 0x24]
movdqu xmmword [eax], xmm0
push dword [esp + 0x2c]
call dword [edx + 0xb8]
mov edx, dword [esp + 0x1c]
inc edi
cmp edi, dword [esp + 0xbc]
jle 0x41e3b6
mov ecx, dword [esp + 0xc]
mov edi, dword [esp + 0x14]
inc ecx
mov dword [esp + 0xc], ecx
cmp ecx, dword [esi + 0x15c]
jl 0x41e331
mov eax, dword [esp + 0x54]
mov edx, eax
mov dword [esp + 0xc], eax
cmp eax, dword [esp + 0xb8]
jg 0x41e64e
test edx, edx
js 0x41e63c
cmp edx, dword [esi + 0x158]
jge 0x41e63c
cmp edx, dword [esi + 0x170]
jge 0x41e859
mov eax, dword [esi + 0x16c]
cmp dword [eax + edx*4], 0
jle 0x41e63c
mov ecx, dword [esp + 0x64]
inc ecx
mov dword [esp + 0x38], ecx
cmp edx, dword [esi + 0x170]
jge 0x41e859
mov eax, dword [eax + edx*4]
dec eax
add eax, ecx
mov dword [esp + 0x64], eax
mov dword [esp + 0x40], eax
cmp ecx, dword [esp + 0xcc]
jg 0x41e64e
cmp eax, dword [esp + 0xc4]
jl 0x41e63c
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x58]
dec eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xbc]
cmp edi, eax
jg 0x41e63c
mov edi, edi
test edi, edi
js 0x41e633
cmp edi, dword [esi + 0x160]
jge 0x41e633
mov eax, dword [esi + 0x4f0]
mov ecx, dword [eax + edi*4]
lea eax, [eax + edi*4]
mov dword [esp + 0x2c], eax
test ecx, ecx
js 0x41e859
cmp ecx, dword [esi + 0x184]
jge 0x41e859
mov eax, dword [esi + 0x180]
cmp dword [eax + ecx*4], 0
jle 0x41e62c
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x34], eax
mov ecx, dword [ecx]
test ecx, ecx
js 0x41e859
cmp ecx, dword [esi + 0x184]
jge 0x41e859
mov eax, dword [esi + 0x180]
mov eax, dword [eax + ecx*4]
mov ecx, dword [esp + 0x34]
dec eax
add eax, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x3c], eax
cmp ecx, dword [esp + 0xc8]
jg 0x41e63c
cmp eax, dword [esp + 0xc0]
jl 0x41e62c
push edi
push edx
mov ecx, esi
call fcn.0041a9c0
mov dword [esp + 0x2c], eax
test eax, eax
je 0x41e628
mov edx, dword [eax]
mov ecx, eax
push edi
push dword [esp + 0x10]
call dword [edx + 0x34]
mov ecx, dword [esp + 0x2c]
movdqu xmm0, xmmword [esp + 0x34]
push 0
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
push edi
push dword [esp + 0x24]
movdqu xmmword [eax], xmm0
push dword [esp + 0x2c]
call dword [edx + 0xb8]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0xbc]
inc edi
cmp edi, eax
jle 0x41e550
inc edx
mov dword [esp + 0xc], edx
cmp edx, dword [esp + 0xb8]
jle 0x41e4c5
mov dword [esp + 0x60], 0
mov dword [esp + 0x5c], vtable.CPen.0
mov byte [esp + 0xe0], 1
push dword [esi + 0xb8]
push 0
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x60]
call fcn.00460427
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x5c]
push eax
mov ecx, edi
call fcn.00460ad9
mov eax, dword [esi + 0xf0]
cmp eax, 3
je 0x41e6a4
cmp eax, 2
jne 0x41e752
mov ecx, dword [esp + 0x58]
mov edi, dword [esp + 0x4c]
cmp ecx, dword [esp + 0xbc]
jg 0x41e74e
lea esp, [esp]
test ecx, ecx
js 0x41e73c
cmp ecx, dword [esi + 0x160]
jge 0x41e73c
mov eax, dword [esi + 0x4f0]
lea edx, [eax + ecx*4]
mov ecx, dword [edx]
test ecx, ecx
js 0x41e859
cmp ecx, dword [esi + 0x184]
jge 0x41e859
mov eax, dword [esi + 0x180]
cmp dword [eax + ecx*4], 0
jle 0x41e738
test ecx, ecx
js 0x41e859
cmp ecx, dword [esi + 0x184]
jge 0x41e859
add edi, dword [eax + ecx*4]
lea eax, [esp + 0x64]
push dword [esp + 0x50]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x30], edi
dec edi
push edi
push eax
call fcn.004607c2
push dword [esp + 0x78]
mov ecx, dword [esp + 0x14]
push edi
call fcn.0046078d
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
inc ecx
mov dword [esp + 0x24], ecx
cmp ecx, dword [esp + 0xbc]
jle 0x41e6c0
mov edi, dword [esp + 0x10]
mov eax, dword [esi + 0xf0]
cmp eax, 3
je 0x41e766
cmp eax, 1
jne 0x41e7e6
mov ecx, dword [esp + 0x54]
cmp ecx, dword [esp + 0xb8]
jg 0x41e7e6
test ecx, ecx
js 0x41e7d8
cmp ecx, dword [esi + 0x158]
jge 0x41e7d8
cmp ecx, dword [esi + 0x170]
jge 0x41e859
mov eax, dword [esi + 0x16c]
cmp dword [eax + ecx*4], 0
jle 0x41e7d8
cmp ecx, dword [esi + 0x170]
jge 0x41e859
mov edx, dword [esp + 0x50]
add edx, dword [eax + ecx*4]
lea eax, [esp + 0x54]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x50], edx
lea edi, [edx - 1]
push edi
push dword [esp + 0x50]
push eax
call fcn.004607c2
push edi
push dword [esp + 0x78]
mov edi, dword [esp + 0x18]
mov ecx, edi
call fcn.0046078d
mov ecx, dword [esp + 0x30]
inc ecx
mov dword [esp + 0x30], ecx
cmp ecx, dword [esp + 0xb8]
jle 0x41e773
mov eax, dword [edi]
mov ecx, edi
push 8
call dword [eax + 0x24]
cmp dword [esi + 0xd4], 0
je 0x41e812
movdqa xmm0, xmmword [0x64c3c0]
lea eax, [esp + 0x6c]
push eax
mov ecx, esi
movdqu xmmword [esp + 0x70], xmm0
call fcn.0041c5b0
mov byte [esp + 0xe0], 0
lea ecx, [esp + 0x5c]
mov dword [esp + 0x5c], vtable.CPen.0
call fcn.0040d470
lea ecx, [esp + 0x7c]
call fcn.0040d650
mov ecx, dword [esp + 0xd8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xc4]
xor ecx, esp
call fcn.00587560
mov esp, ebp
pop ebp
ret 4
call fcn.0045d0fa
int3