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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x57d7a8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5ecfcc]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [edi + 0x3f4]
mov dword [esp + 0x18], ecx
call fcn.0045fba0
mov esi, eax
mov eax, dword [edi + 0x88]
push eax
lea ecx, [esp + 0x50]
xor ebp, ebp
mov ebx, 0xfa
push ecx
mov ecx, esi
mov dword [esp + 0x58], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
call fcn.0053fd33
mov edx, dword [edi + 0x29c]
push ebp
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0x400
push edx
call ebp
mov ecx, eax
mov eax, ebx
sub eax, ecx
cdq
sub eax, edx
push 0
sar eax, 1
add dword [esp + 0x54], eax
mov eax, dword [edi + 0x1e0]
push 0
push 0x400
push eax
call ebp
mov ecx, eax
mov eax, ebx
sub eax, ecx
mov ecx, dword [edi + 0x1e0]
push 0
cdq
push 0
sub eax, edx
push 0x400
sar eax, 1
add dword [esp + 0x58], eax
push ecx
call ebp
mov ecx, eax
mov eax, ebx
sub eax, ecx
cdq
push 0
sub eax, edx
mov edx, dword [edi + 0x29c]
push 0
sar eax, 1
push 0x400
neg eax
add dword [esp + 0x60], eax
push edx
call ebp
mov ecx, eax
mov eax, ebx
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
push 0
neg eax
add dword [esp + 0x5c], eax
mov eax, dword [edi + 0x358]
push 0
push 0x400
push eax
call ebp
mov ecx, 5
cmp eax, ecx
jle 0x44573d
mov ecx, dword [edi + 0x8c]
push ecx
lea edx, [esp + 0x50]
push edx
mov ecx, esi
call fcn.0053fd33
mov eax, dword [edi + 0x94]
mov ecx, dword [edi + 0x90]
push eax
push ecx
lea edx, [esp + 0x54]
push edx
mov ecx, esi
call fcn.005400fa
mov eax, dword [edi + 0x94]
mov ecx, dword [edi + 0x90]
push eax
mov ebx, 1
add dword [esp + 0x54], ebx
add dword [esp + 0x50], ebx
sub dword [esp + 0x5c], ebx
sub dword [esp + 0x58], ebx
push ecx
lea edx, [esp + 0x54]
push edx
mov ecx, esi
call fcn.005400fa
mov eax, dword [edi + 0x358]
sub dword [esp + 0x50], ebx
sub dword [esp + 0x4c], ebx
add dword [esp + 0x58], ebx
add dword [esp + 0x54], ebx
push 0
push 0
push 0x400
push eax
call ebp
mov ecx, dword [edi + 0x358]
add dword [esp + 0x50], eax
push 0
push 0
push 0x400
push ecx
call ebp
mov edx, dword [edi + 0x358]
add dword [esp + 0x4c], eax
push 0
push 0
push 0x400
push edx
call ebp
sub dword [esp + 0x54], eax
mov eax, dword [edi + 0x358]
push 0
push 0
push 0x400
push eax
call ebp
sub dword [esp + 0x58], eax
push 0x10
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
lea ecx, [esp + 0x50]
push ecx
mov ecx, esi
call fcn.0053fd33
mov edx, dword [edi + 0x90]
mov eax, dword [edi + 0x94]
push edx
push eax
lea ecx, [esp + 0x54]
push ecx
mov ecx, esi
call fcn.005400fa
jmp 0x445be1
mov edx, dword [edi + 0x8c]
add dword [esp + 0x50], ecx
add dword [esp + 0x4c], ecx
sub dword [esp + 0x54], ecx
sub dword [esp + 0x58], ecx
push edx
lea eax, [esp + 0x50]
push eax
mov ecx, esi
call fcn.0053fd33
movzx eax, byte [edi + 0x88]
mov ecx, 0xff
sub ecx, eax
cmp ecx, 0x46
jle 0x445778
add eax, 0x46
jmp 0x44577d
mov eax, 0xff
movzx ecx, byte [edi + 0x89]
mov edx, 0xff
sub edx, ecx
cmp edx, 0x46
lea edx, [ecx + 0x46]
jg 0x445798
mov edx, 0xff
movzx ecx, byte [edi + 0x8a]
mov ebx, 0xff
sub ebx, ecx
cmp ebx, 0x46
jle 0x4457b0
add ecx, 0x46
jmp 0x4457b5
mov ecx, 0xff
movzx ecx, cl
shl ecx, 8
movzx edx, dl
or ecx, edx
movzx eax, al
shl ecx, 8
or ecx, eax
push ecx
push 1
push 0
lea ecx, [esp + 0x48]
call fcn.00537e5f
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x50]
push edx
push eax
push ecx
lea edx, [esp + 0x6c]
push edx
mov dword [esp + 0x8c], 0
call dword [sym.imp.USER32.dll_SetRect]
mov al, byte [edi + 0x88]
cmp al, 0x2e
jbe 0x445812
movzx edx, al
sub edx, 0x2e
jmp 0x445814
xor edx, edx
mov al, byte [edi + 0x89]
cmp al, 0x2e
jbe 0x445826
movzx ecx, al
sub ecx, 0x2e
jmp 0x445828
xor ecx, ecx
mov al, byte [edi + 0x8a]
cmp al, 0x2e
jbe 0x44583a
movzx eax, al
sub eax, 0x2e
jmp 0x44583c
xor eax, eax
movzx eax, al
movzx ecx, cl
shl eax, 8
or eax, ecx
movzx edx, dl
shl eax, 8
or eax, edx
push eax
push 2
push 0
lea ecx, [esp + 0x40]
call fcn.00537e5f
lea eax, [esp + 0x34]
push eax
mov ecx, esi
mov byte [esp + 0x7c], 1
call fcn.00537d8b
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x5c]
inc ecx
push ecx
add edx, 3
mov dword [esp + 0x18], eax
push edx
lea eax, [esp + 0x4c]
push eax
mov ecx, esi
call fcn.005376ee
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
inc ecx
push ecx
inc edx
push edx
mov ecx, esi
call fcn.0053731b
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
add eax, 3
inc ecx
push eax
push ecx
mov ecx, esi
call fcn.0053731b
mov al, byte [edi + 0x88]
cmp al, 0x23
jbe 0x4458c6
movzx edx, al
sub edx, 0x23
jmp 0x4458c8
xor edx, edx
mov al, byte [edi + 0x89]
cmp al, 0x23
jbe 0x4458da
movzx ecx, al
sub ecx, 0x23
jmp 0x4458dc
xor ecx, ecx
mov al, byte [edi + 0x8a]
cmp al, 0x23
jbe 0x4458ee
movzx eax, al
sub eax, 0x23
jmp 0x4458f0
xor eax, eax
movzx eax, al
movzx ecx, cl
shl eax, 8
or eax, ecx
movzx edx, dl
shl eax, 8
or eax, edx
push eax
push 1
push 0
lea ecx, [esp + 0x38]
call fcn.00537e5f
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
mov byte [esp + 0x7c], 2
call fcn.00537d8b
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x5c]
add ecx, 2
push ecx
add edx, 4
push edx
lea eax, [esp + 0x4c]
push eax
mov ecx, esi
call fcn.005376ee
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
add ecx, 2
push ecx
add edx, 2
push edx
mov ecx, esi
call fcn.0053731b
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
add eax, 4
add ecx, 2
push eax
push ecx
mov ecx, esi
call fcn.0053731b
mov al, byte [edi + 0x88]
cmp al, 0x11
jbe 0x44597e
movzx edx, al
sub edx, 0x11
jmp 0x445980
xor edx, edx
mov al, byte [edi + 0x89]
cmp al, 0x11
jbe 0x445992
movzx ecx, al
sub ecx, 0x11
jmp 0x445994
xor ecx, ecx
mov al, byte [edi + 0x8a]
cmp al, 0x11
jbe 0x4459a6
movzx eax, al
sub eax, 0x11
jmp 0x4459a8
xor eax, eax
movzx eax, al
movzx ecx, cl
shl eax, 8
or eax, ecx
movzx edx, dl
shl eax, 8
or eax, edx
push eax
push 1
push 0
lea ecx, [esp + 0x30]
call fcn.00537e5f
lea eax, [esp + 0x24]
mov bl, 3
push eax
mov ecx, esi
mov byte [esp + 0x7c], bl
call fcn.00537d8b
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x5c]
add ecx, 3
push ecx
add edx, 5
push edx
lea eax, [esp + 0x4c]
push eax
mov ecx, esi
call fcn.005376ee
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
add ecx, 3
push ecx
add edx, 2
push edx
mov ecx, esi
call fcn.0053731b
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
add eax, 2
add ecx, 3
push eax
push ecx
mov ecx, esi
call fcn.0053731b
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
add edx, 5
push edx
add eax, 3
push eax
mov ecx, esi
call fcn.0053731b
mov al, byte [edi + 0x88]
cmp al, 8
jbe 0x445a4e
movzx edx, al
sub edx, 8
jmp 0x445a50
xor edx, edx
mov al, byte [edi + 0x89]
cmp al, 8
jbe 0x445a62
movzx ecx, al
sub ecx, 8
jmp 0x445a64
xor ecx, ecx
mov al, byte [edi + 0x8a]
cmp al, 8
jbe 0x445a76
movzx eax, al
sub eax, 8
jmp 0x445a78
xor eax, eax
movzx eax, al
movzx ecx, cl
shl eax, 8
or eax, ecx
movzx edx, dl
shl eax, 8
or eax, edx
push eax
push 1
push 0
lea ecx, [esp + 0x28]
call fcn.00537e5f
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
mov byte [esp + 0x7c], 4
call fcn.00537d8b
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x5c]
add ecx, 4
push ecx
add edx, 6
push edx
lea eax, [esp + 0x4c]
push eax
mov ecx, esi
call fcn.005376ee
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
add ecx, 4
push ecx
add edx, 3
push edx
mov ecx, esi
call fcn.0053731b
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
add eax, 3
add ecx, 4
push eax
push ecx
mov ecx, esi
call fcn.0053731b
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
add edx, 6
push edx
add eax, 4
push eax
mov ecx, esi
call fcn.0053731b
lea ecx, [esp + 0x3c]
push ecx
mov ecx, esi
call fcn.00537d8b
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x5c]
push edx
push eax
lea ecx, [esp + 0x4c]
push ecx
mov ecx, esi
call fcn.005376ee
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
push edx
push eax
mov ecx, esi
call fcn.0053731b
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
push ecx
push edx
mov ecx, esi
call fcn.0053731b
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x5c]
push eax
push ecx
mov ecx, esi
call fcn.0053731b
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x5c]
push edx
push eax
mov ecx, esi
call fcn.0053731b
mov edx, dword [esi + 4]
lea ecx, [esp + 0x14]
push ecx
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov esi, vtable.CPen.0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x78], bl
mov dword [esp + 0x1c], esi
call fcn.00407110
lea ecx, [esp + 0x24]
mov byte [esp + 0x78], 2
mov dword [esp + 0x24], esi
call fcn.00407110
lea ecx, [esp + 0x2c]
mov byte [esp + 0x78], 1
mov dword [esp + 0x2c], esi
call fcn.00407110
lea ecx, [esp + 0x34]
mov byte [esp + 0x78], 0
mov dword [esp + 0x34], esi
call fcn.00407110
lea ecx, [esp + 0x3c]
mov dword [esp + 0x78], 0xffffffff
mov dword [esp + 0x3c], esi
call fcn.00407110
mov ecx, dword [esp + 0x18]
call fcn.0045fd30
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret