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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x59a913
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x6101c0]
xor eax, esp
mov dword [esp + 0xc4], eax
push esi
push edi
mov eax, dword [0x6101c0]
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 0x41df44
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 0x41df44
push edi
mov ecx, esi
call fcn.0041be40
lea ecx, [esp + 0x7c]
call fcn.0040d8d0
mov dword [esp + 0xe0], 0
lea ecx, [esp + 0x7c]
push dword [esi + 0xa4]
call fcn.00419c60
cmp eax, 0x80004005
je 0x41d69f
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 0x41d649
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.00457b3a
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.00419a80
lea ecx, [esp + 0x7c]
call fcn.0040d7b0
mov ecx, esi
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
call fcn.00423530
mov ecx, esi
mov dword [esp + 0x50], eax
call fcn.00423580
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x54]
push ecx
push eax
mov ecx, esi
call fcn.00420870
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.00420990
cmp dword [esi + 0xd4], 0
je 0x41d710
lea eax, [esp + 0xb0]
mov ecx, esi
push eax
call fcn.0041bcc0
xor edx, edx
or ecx, 0xffffffff
mov dword [esp + 0xc], edx
cmp dword [esi + 0x15c], edx
jle 0x41d87c
test edx, edx
js 0x41d86b
cmp edx, dword [esi + 0x158]
jge 0x41d86b
cmp edx, dword [esi + 0x170]
jge 0x41df69
mov eax, dword [esi + 0x16c]
cmp dword [eax + edx*4], 0
jle 0x41d86b
inc ecx
mov dword [esp + 0x38], ecx
cmp edx, dword [esi + 0x170]
jge 0x41df69
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 0x41d86b
lea ebx, [ebx]
test edi, edi
js 0x41d85a
cmp edi, dword [esi + 0x160]
jge 0x41d85a
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 0x41df69
cmp ecx, dword [esi + 0x184]
jge 0x41df69
mov eax, dword [esi + 0x180]
cmp dword [eax + ecx*4], 0
jle 0x41d85a
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 0x41df69
cmp ecx, dword [esi + 0x184]
jge 0x41df69
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.0041a0d0
mov dword [esp + 0x30], eax
test eax, eax
je 0x41d856
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 0x41d790
mov ecx, dword [esp + 0x64]
inc edx
mov dword [esp + 0xc], edx
cmp edx, dword [esi + 0x15c]
jl 0x41d725
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 0x41da24
test edx, edx
js 0x41da12
cmp edx, dword [esi + 0x158]
jge 0x41da12
cmp edx, dword [esi + 0x170]
jge 0x41df69
mov eax, dword [esi + 0x16c]
cmp dword [eax + edx*4], 0
jle 0x41da12
lea ecx, [edi + 1]
mov dword [esp + 0x38], ecx
cmp edx, dword [esi + 0x170]
jge 0x41df69
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 0x41da24
cmp edi, dword [esp + 0xc4]
jl 0x41da12
xor edi, edi
mov dword [esp + 0x24], 0xffffffff
cmp dword [esi + 0x164], edi
jle 0x41da0e
test edi, edi
js 0x41da01
cmp edi, dword [esi + 0x160]
jge 0x41da01
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 0x41df69
cmp ecx, dword [esi + 0x184]
jge 0x41df69
mov eax, dword [esi + 0x180]
cmp dword [eax + ecx*4], 0
jle 0x41da01
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 0x41df69
cmp ecx, dword [esi + 0x184]
jge 0x41df69
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 0x41da0e
cmp eax, dword [esp + 0xc0]
jl 0x41da01
push edi
push edx
mov ecx, esi
call fcn.0041a0d0
mov dword [esp + 0x14], eax
test eax, eax
je 0x41d9fd
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 0x41d925
mov edi, dword [esp + 0x1c]
inc edx
mov dword [esp + 0xc], edx
cmp edx, dword [esp + 0xb8]
jle 0x41d8a2
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 0x41dbbe
test ecx, ecx
js 0x41dbad
cmp ecx, dword [esi + 0x158]
jge 0x41dbad
cmp ecx, dword [esi + 0x170]
jge 0x41df69
mov eax, dword [esi + 0x16c]
cmp dword [eax + ecx*4], 0
jle 0x41dbad
lea edx, [edi + 1]
mov dword [esp + 0x38], edx
cmp ecx, dword [esi + 0x170]
jge 0x41df69
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 0x41dbbe
cmp edi, dword [esp + 0xc4]
jl 0x41dbad
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x58]
dec edx
mov edi, eax
cmp eax, dword [esp + 0xbc]
jg 0x41dba9
test edi, edi
js 0x41db97
cmp edi, dword [esi + 0x160]
jge 0x41db97
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 0x41df69
cmp ecx, dword [esi + 0x184]
jge 0x41df69
mov eax, dword [esi + 0x180]
cmp dword [eax + ecx*4], 0
jle 0x41db97
mov ecx, dword [esp + 0x1c]
inc edx
mov dword [esp + 0x34], edx
mov ecx, dword [ecx]
test ecx, ecx
js 0x41df69
cmp ecx, dword [esi + 0x184]
jge 0x41df69
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 0x41dba5
cmp eax, dword [esp + 0xc0]
jl 0x41db93
push edi
push dword [esp + 0x10]
mov ecx, esi
call fcn.0041a0d0
mov dword [esp + 0x2c], eax
test eax, eax
je 0x41db93
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 0x41dac6
mov ecx, dword [esp + 0xc]
mov edi, dword [esp + 0x14]
inc ecx
mov dword [esp + 0xc], ecx
cmp ecx, dword [esi + 0x15c]
jl 0x41da41
mov eax, dword [esp + 0x54]
mov edx, eax
mov dword [esp + 0xc], eax
cmp eax, dword [esp + 0xb8]
jg 0x41dd5e
test edx, edx
js 0x41dd4c
cmp edx, dword [esi + 0x158]
jge 0x41dd4c
cmp edx, dword [esi + 0x170]
jge 0x41df69
mov eax, dword [esi + 0x16c]
cmp dword [eax + edx*4], 0
jle 0x41dd4c
mov ecx, dword [esp + 0x64]
inc ecx
mov dword [esp + 0x38], ecx
cmp edx, dword [esi + 0x170]
jge 0x41df69
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 0x41dd5e
cmp eax, dword [esp + 0xc4]
jl 0x41dd4c
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 0x41dd4c
mov edi, edi
test edi, edi
js 0x41dd43
cmp edi, dword [esi + 0x160]
jge 0x41dd43
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 0x41df69
cmp ecx, dword [esi + 0x184]
jge 0x41df69
mov eax, dword [esi + 0x180]
cmp dword [eax + ecx*4], 0
jle 0x41dd3c
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 0x41df69
cmp ecx, dword [esi + 0x184]
jge 0x41df69
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 0x41dd4c
cmp eax, dword [esp + 0xc0]
jl 0x41dd3c
push edi
push edx
mov ecx, esi
call fcn.0041a0d0
mov dword [esp + 0x2c], eax
test eax, eax
je 0x41dd38
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 0x41dc60
inc edx
mov dword [esp + 0xc], edx
cmp edx, dword [esp + 0xb8]
jle 0x41dbd5
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.004572c1
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x5c]
push eax
mov ecx, edi
call fcn.00457984
mov eax, dword [esi + 0xf0]
cmp eax, 3
je 0x41ddb4
cmp eax, 2
jne 0x41de62
mov ecx, dword [esp + 0x58]
mov edi, dword [esp + 0x4c]
cmp ecx, dword [esp + 0xbc]
jg 0x41de5e
lea esp, [esp]
test ecx, ecx
js 0x41de4c
cmp ecx, dword [esi + 0x160]
jge 0x41de4c
mov eax, dword [esi + 0x4f0]
lea edx, [eax + ecx*4]
mov ecx, dword [edx]
test ecx, ecx
js 0x41df69
cmp ecx, dword [esi + 0x184]
jge 0x41df69
mov eax, dword [esi + 0x180]
cmp dword [eax + ecx*4], 0
jle 0x41de48
test ecx, ecx
js 0x41df69
cmp ecx, dword [esi + 0x184]
jge 0x41df69
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.0045766d
push dword [esp + 0x78]
mov ecx, dword [esp + 0x14]
push edi
call fcn.00457638
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
inc ecx
mov dword [esp + 0x24], ecx
cmp ecx, dword [esp + 0xbc]
jle 0x41ddd0
mov edi, dword [esp + 0x10]
mov eax, dword [esi + 0xf0]
cmp eax, 3
je 0x41de76
cmp eax, 1
jne 0x41def6
mov ecx, dword [esp + 0x54]
cmp ecx, dword [esp + 0xb8]
jg 0x41def6
test ecx, ecx
js 0x41dee8
cmp ecx, dword [esi + 0x158]
jge 0x41dee8
cmp ecx, dword [esi + 0x170]
jge 0x41df69
mov eax, dword [esi + 0x16c]
cmp dword [eax + ecx*4], 0
jle 0x41dee8
cmp ecx, dword [esi + 0x170]
jge 0x41df69
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.0045766d
push edi
push dword [esp + 0x78]
mov edi, dword [esp + 0x18]
mov ecx, edi
call fcn.00457638
mov ecx, dword [esp + 0x30]
inc ecx
mov dword [esp + 0x30], ecx
cmp ecx, dword [esp + 0xb8]
jle 0x41de83
mov eax, dword [edi]
mov ecx, edi
push 8
call dword [eax + 0x24]
cmp dword [esi + 0xd4], 0
je 0x41df22
movdqa xmm0, xmmword [0x5ea840]
lea eax, [esp + 0x6c]
push eax
mov ecx, esi
movdqu xmmword [esp + 0x70], xmm0
call fcn.0041bcc0
mov byte [esp + 0xe0], 0
lea ecx, [esp + 0x5c]
mov dword [esp + 0x5c], vtable.CPen.0
call fcn.0040d620
lea ecx, [esp + 0x7c]
call fcn.0040d800
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.0057e445
mov esp, ebp
pop ebp
ret 4
call fcn.00453fa1
int3